On Wed, 6 Nov 2013 09:10:20 -0700
"Paul Fontenot" <ssdv6...@gmail.com> wrote:

> Sorry, thanks for that but I may not have been clear enough. I want the logs
> for each host to go to its own log file named hostname.log.


<Output test>
        Module  om_file
        File    '/var/nxlog/' + $Hostname + '.log'
</Output>

You need to make sure $Hostname has a value, e.g. by calling 
parse_syslog_bsd(); if you are storing syslog.

HTH,
Botond

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to