Hi all,
Which DateFormat should I use as option for the field timereported ?
All my test failed when I try to search on this field in the loganalyzer.
-> property(name="timegenerated" dateFormat="rfc3339" ) <- This doesn't work
result in mongodb:
"timereported" : "2014-02-13T15:57:21+01:00",
when no template are applied:
"time_rcvd" : ISODate("2014-02-13T14:44:22.052Z"),
mongodb seems to need a special format for searching.
How to resolve this problem ?
Alain
--
View this message in context:
http://rsyslog-users.1305293.n2.nabble.com/About-DateFormat-in-a-template-for-ommongodb-tp7584362.html
Sent from the rsyslog-users mailing list archive at Nabble.com.
_______________________________________________
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.