1

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.

Neha Shukla
  • 3,572
  • 5
  • 38
  • 69
AniketGole
  • 889
  • 2
  • 11
  • 22

2 Answers2

0
CreateDir TRUE

See the reference manual.

b0ti
  • 2,319
  • 1
  • 18
  • 18
0

In Output section just add

CreateDir   TRUE

Like:

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