Re: [rsyslog] Add the file name to syslog data

2017-09-28 Thread deoren
On 9/28/2017 6:37 AM, Joan via rsyslog wrote: I am using rsylog to read (imfile) some logfiles and forward them to graylog in syslog format RFC5424. I would like to add an attribute with the filename, I explored doing it by modifiing the template (such as this

[rsyslog] Add the file name to syslog data

2017-09-28 Thread Joan via rsyslog
I am using rsylog to read (imfile) some logfiles and forward them to graylog in syslog format RFC5424. I would like to add an attribute with the filename, I explored doing it by modifiing the template (such as this ). Bu