Hello! I use nxlog to parse multiline messages (magento stack traces)
and send them in GELF format to my graylog2 server.
All logs have the same facility: NXLOG
Level: Info
Facility: NXLOG
SourceModuleType: im_file
How i can rewrite this value to something more descriptive?
My config:
<Extension gelf>
Module xm_gelf
</Extension>
<Extension multiline>
Module xm_multiline
HeaderLine /^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\+\d\d:\d\d.*/
</Extension>
<Input magento>
Module im_file
File "/www/site.com/magento/var/log/exception.log"
SavePos FALSE
ReadFromLast FALSE
InputType multiline
</Input>
<Output out>
Module om_udp
Host 127.0.0.1
Port 12201
OutputType GELF
</Output>
<Route r1>
Path magento => out
</Route>
A lot of thanks!
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users