[rsyslog-notify] Forum Thread: Re: Template to store Rsyslog logs with MongoDB - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Fri Sep 4 10:06:56 CEST 2015


User: felix.veysseyre 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25893#p25893

Message: 
----------
I found a solution to the problem :

[code:jjpwde0q]template(name="BSON" type="list") {
    property(name="timegenerated" outname="receptionTime")
    property(name="timereported" outname="reportedTime")
    property(name="syslogseverity" outname="priority")
    property(name="syslogfacility" outname="facility")
    property(name="hostname" outname="host")
    property(name="programname" outname="service")
    property(name="msg" outname="message")
    property(name="syslogtag" outname="syslogTag")
    }[/code:jjpwde0q]

Nevertheless, I still do not understand why the documenation was wrong.

Thanks for your time.


More information about the rsyslog-notify mailing list