On Tue, 2 Jun 2015, singh.janmejay wrote:

Also, you probably want to add some tests.

I couldn;t find any existing tests for these parsers, and couldn't figure out how to run the testbench from liblognorm. What did I miss?

David Lang


On Tue, Jun 2, 2015 at 2:56 AM, David Lang <[email protected]> wrote:
On Fri, 29 May 2015, David Lang wrote:

attached is a patch that lets you specify multiple characters for char-to
and char-sep, any one of the characters will work, so with the example above

rule=:%foo:tokenize:&:char-sep:& % c

# echo 'a&b c' |./lognormalizer -r del -e json

you get

{ "foo": [ "a", "b" ] }

_______________________________________________
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
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to