Thank you very much, that's exactly what I was looking to do

-----Original Message-----
From: Botond Botyanszki [mailto:[email protected]] 
Sent: Wednesday, November 06, 2013 9:53 AM
To: [email protected]
Subject: Re: [nxlog-ce-users] Basic question

On Wed, 6 Nov 2013 09:10:20 -0700
"Paul Fontenot" <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to