Re: [nxlog-ce-users] Adding hostname to each line

2013-11-03 Thread Botond Botyanszki
Hi, If you only want to prefix with the hostname, you can just rewrite $raw_event as suggested by James and Maxim: Exec $raw_event = hostname() + ' ' + $raw_event; On the other by looking at your conf I have a feeling that you actually want proper syslog output as udp/514 and xm_syslog seem to i

Re: [nxlog-ce-users] Adding hostname to each line

2013-11-02 Thread Maxim Nikolaev
I use following in output: Exec $Hostname = hostname(); $raw_event = $Hostname + " " + $raw_event; On 11/02/2013 06:37 PM, James Crowley wrote: Ron, in a very rudimentary approach, I believe you could do something with $raw_event like this: Exec $raw_event = 'someHostName, ' + $raw_event

Re: [nxlog-ce-users] Adding hostname to each line

2013-11-02 Thread James Crowley
Ron, in a very rudimentary approach, I believe you could do something with $raw_event like this: Exec $raw_event = 'someHostName, ' + $raw_event On 1 November 2013 21:01, Ron Santini wrote: > Hello, > > > > Sorry if this is a duplicate/easy request but I’m unable to locate the > solution… >