Re: [nxlog-ce-users] filter on $Hostname

2016-06-14 Thread Shedi Shedi
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 Module om_file File "tmp/output_" + $Hostname + "_" + month(now()) …. Hope this helps. Regards,

[nxlog-ce-users] filter on $Hostname

2016-06-14 Thread Ward.P.Fontenot
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