[syslog-ng] MongoDB destination driver

Matthew Hall mhall at mhcomputing.net
Sat Jan 1 22:55:08 CET 2011


On Sat, Jan 01, 2011 at 02:24:10PM -0600, Martin Holste wrote:
> My main feature to add (aside from the two you mentioned already on 
> the roadmap) would be a way to use the keys from a patterndb database 
> so that the db and collection in Mongo stay the same, but the key 
> names change with every patterndb rule. That's really the big payoff 
> with Mongo-- you don't have to define a rigid schema, so you don't 
> have to know the column names ahead of time. That's a big deal 
> considering that the patterndb can change on the fly. Being confined 
> to predefined templates in the config limits the potential.

This is why I asked in my earlier mail if it's possible to set up the 
mongo driver to log all vars in a message or a subset of vars in a 
message. I was hoping it'd be possible for the schema to change somewhat 
dynamically based on what's present in the messages.

Matthew.


More information about the syslog-ng mailing list