How to make directory automatic in nxlog server using client $Hostname?

637 Views Asked by At

How to make directory automatic in nxlog server using client $Hostname ? nxlog client is windows m/c logs are getting on nxlog server but i want to create client $Hostname DIR because I have so many windows server to get the logs on that same server.

2

There are 2 best solutions below

0
On BEST ANSWER

In Output section just add

CreateDir   TRUE

Like:

<Output out>
Module      om_file
CreateDir   TRUE
</output>
1
On
CreateDir TRUE

See the reference manual.