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

620 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 answers

0
Chittaranjan Sethi On BEST ANSWER

In Output section just add

CreateDir   TRUE

Like:

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

See the reference manual.