[rsyslog-notify] Forum Thread: Re: TSV data into mongodb - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Tue May 12 22:58:38 CEST 2015
User: toddaa
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25580#p25580
Message:
----------
dlang,
I cant thank you enough! I just added my mongodb template and action back
in and its pushing the data in almost exactly as I was looking for.
[code:yau110zx]template(name="BSON" type="string"
string="\"sys\":\"%hostname%\",
\"time\":\"%timereported:::date-unixtimestamp%\",
\"time_rcvd\":\"%timegenerated:::date-rfc3339%\",
\"host_ip\":\"%fromhost-ip%\", \"syslogTag\":\"%syslogtag%\",
\"severity\":\"%$!r1%\", \"category\":\"%$!r2%\"")[/code:yau110zx]
Obviously this is only 2 of the fields being normalized, but it the start.
Do you see any issues in regards to this step?
Thanks again! Seriously!
More information about the rsyslog-notify
mailing list