On Tue, 12 Aug 2014, Cristian Falcas wrote:
Hello,
I can't find any way to set a field with name "@timestamp" in a json
template.
Did anyone managed to set fields with non-ascii names?
My conf is something like this:
template(name="es_template" type="subtree" subtree="$!")
set $!timestamp = $timereported;
set $!timegenerated = %timegenerated;
and I would like to set it to this:
set $!@timestamp = $timereported;
I think variables need to start with a letter, but Rainer would need to comment
on this.
David Lang
_______________________________________________
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.