Nxlog Multiline Input to 1 Syslog Message
Posted
by
Eric
on Server Fault
See other posts from Server Fault
or by Eric
Published on 2014-06-03T18:27:09Z
Indexed on
2014/06/05
15:27 UTC
Read the original article
Hit count: 296
I am using nxlog to tail a custom log file on one of my Windows servers. Each entry in the text file looks similar to this.
===================================================================================================================
1/14/2014 3:08:48 PM DOMAIN\user1 adding group member...
Domain: blah
Group: TestGroup
Member: CN=Joe Bob,CN=Users,DC=blah,DC=ARG,DC=com
1/14/2014 3:08:48 PM 1 member added.<br>
================================================================================================
I'm trying to send this log to my syslog server and I want to combine these multiple lines to 1 line so I can easily grep/search for specific users or groups. I've read some of the documentation on nxlog's website regarding multiline but haven't found a specific config to put them all in 1 entry with a syslog header.
Thanks, Eric
© Server Fault or respective owner