Moreover, it looks like templates are broken. Resulting string contains random garbage after values.

Template(name="normTemplate" type="string" string="%$!date%,%$!time%,%$!ip1%:%$!port1%,%$!ip2%:%$!port2%,%$!ip3%:%$!port3%,%$!proto%,%$!all-json%\n")

And the result:

2013-10-31,20:17:23,000.00.00.000.:6881,00.00.000.000.:37068.,000.00.000.000:6881P.,UDPlP.,{ "proto": "UDP", "port3": "6881", "ip3": "000.00.000.000", "port2": " 37068", "ip2": "00.00.000.000", "port1": "6881", "ip1": "000.00.00.000", "time": "20:17:23", "date": "2013-10-31" }


--
Pavel Levshin


31.10.2013 23:47, Pavel Levshin:

The release has obvious regression in template processing. It gives errors on start:

8157.039667674:7f5847865740: nvlstGetParam: name 'string', type 14, valnode->bUsed 0
8157.039677482:7f5847865740: name:  'common1'
8157.039694627:7f5847865740: type:  'string'
8157.039710308:7f5847865740: string: '%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag%%msg% _%$!%_
'
8157.039732465:7f5847865740: plugin: (unset)
8157.039747926:7f5847865740: subtree: (unset)
8157.039763264:7f5847865740: option.stdsql: (unset)
8157.039778561:7f5847865740: option.sql: (unset)
8157.039793823:7f5847865740: option.json: (unset)
8157.039810730:7f5847865740: Called LogError, msg: template 'common1' is not a subtree template but has a subtree specified - ignored

--
Pavel Levshin

29.10.2013 19:49, Tim Eifler:
Hi all,

this version contains new features and bug fixes. Most importantly, it
contains a new module "mmsequence" (contributed by Pavel Levshin) which
permits action load balancing. Also, variable access has been totally
refactored and its processing speed improved. Note that this refactoring
has some additional bug potential, so watch your system closely after the upgrade. Support for global variables has been removed, as the idea did not work out properly with the current core engine version and resulted in very
unintuitive results (most folks would them simply call "wrong"...).

More detailed information is available in the changelog.

ChangeLog:

http://www.rsyslog.com/changelog-for-7-5-6-v7-devel/

Download:

http://www.rsyslog.com/rsyslog-7-5-6-v7-devel/

As always, feedback is appreciated.

Best regards,
Tim Eifler
_______________________________________________
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.

_______________________________________________
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