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.
Asked
Active
Viewed 585 times
1

Neha Shukla
- 3,572
- 5
- 38
- 69

AniketGole
- 889
- 2
- 11
- 22
2 Answers
0
CreateDir TRUE
See the reference manual.

b0ti
- 2,319
- 1
- 18
- 18
-
but i want to make dir with ip address from nxlog client ? – AniketGole Jan 20 '15 at 04:29
0
In Output section just add
CreateDir TRUE
Like:
<Output out>
Module om_file
CreateDir TRUE
</output>

Chittaranjan Sethi
- 443
- 7
- 24