Hi all,

quick update: I have just committed the ability to pass the JSON object 
natively to output modules in v7-devel. This permits to preserve types. Full 
subtrees can be passed by simply specifying the root of that subtree. To add 
all data, simply use "!". 

Please note that json-c seems to be unable to create JSON Null values. As such, 
the "mandatory field" attribute currently has no effect. I will try to work 
with the json-c team to see if there is a solution.

Please also note that the current code probably has some memory leaks. I need 
to check out json-c's reference counting in more detail. But the state of the 
code should be good enough to try it out.

Note that currently the master branch is v6-devel and v7 is only available via 
v7-devel. This will soon change, with v7 becoming the main line of development.

As one of the next steps, I will target the ability to set properties via the 
config file. I will follow David's idea that the template itself should not 
modify the structure, but rather output a structure (or tree) as-as. If a tree 
needs to be modified, this can be done in advance via set operations. Note that 
all this requires considerable change to the rule engine.

As usual, feedback is appreciated.

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to