I don't think I can look at this before the holiday break. So an issue
tracker might be useful.

Rainer

2016-12-20 11:59 GMT+01:00 mostolog--- via rsyslog <[email protected]>:
> ping?
>
>
>
>> Hi
>>
>> Having more problems with liblognorm. Let me now if I should open an
>> issue.
>>
>>     echo "a" | /usr/lib/lognorm/lognormalizer -r a.rb
>>
>>     Segmentation fault (core dumped)
>>
>> File:
>>
>>     version=2
>>
>>     #foo
>>
>>     type=@rfc3164pri:<%priority:number%>
>>     type=@rfc3164header:%date:date-rfc3164% %hostname:word%
>>     type=@rfc3164tag:%syslogtag:char-to{"extradata":":"}%:
>>     type=@rfc3164:%.:@rfc3164pri%%.:@rfc3164header% %.:@rfc3164tag%
>>     type=@rfc3164:%.:@rfc3164header% %.:@rfc3164tag%
>>     type=@syslog:%.:@rfc3164%
>>
>>     #bar
>>     #
>>     #it complains liblognorm error: rulebase file a.rb[23]: invalid
>>     record type detected: ']%'
>>     #if written this way:
>>     #  {"type":"rest","name":"message"}
>>     #]%
>>     # Theres a blank line at the end of file
>>     rule=:%[
>>       {"type":"@syslog","name":"a"},
>>       {"type":"rest","name":"message"}]%
>>
>> Regards
>>
>
> _______________________________________________
> 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.
_______________________________________________
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