Hi Ward, There’s a nice example in the documentation titled "Example 6.58. File rotation based on size”
https://nxlog.co/docs/nxlog-ce/nxlog-reference-manual.html#om_file Somewhere along the <Output out> Module om_file File "tmp/output_" + $Hostname + "_" + month(now()) …. Hope this helps. Regards, > On 14 Jun 2016, at 20:33, ward.p.fonte...@wellsfargo.com wrote: > > I think I’m at a point where I can’t see the forest because of the trees, how > do you write logs based on $Hostname? I have everything coming in on one port > and writing to one log and I have no problem seeing the $Hostname in the log. > I would like to know if there is a way to have the logs separated by > $Hostname and to be able to do it on the fly – meaning if I add a new client > named A1 today I’d like to be able to see A1.log without having to configure > anything on the log server. Is this possible in NXLog? Read this section in > the manual is a perfectly fine answer. > > Respectfully, > > Ward P Fontenot > > Enterprise Key Management & Public Key Infrastructure | CS | EIS E&S | EIS | > Corp Risk | Wells Fargo > ward.p.fonte...@wellsfargo.com <mailto:ward.p.fonte...@wellsfargo.com> > > This message may contain confidential and/or privileged information. If you > are not the addressee or authorized to receive this for the addressee, you > must not use, copy, disclose, or take any action based on this message or any > information herein. If you have received this message in error, please advise > the sender immediately by reply e-mail and delete this message. Thank you for > your cooperation. > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports. > http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381_______________________________________________ > > <http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381_______________________________________________> > nxlog-ce-users mailing list > nxlog-ce-users@lists.sourceforge.net > <mailto:nxlog-ce-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users > <https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users>
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users