Saturday, September 23, 2017

Graylog Monitoring on windows machine using NXlog

before you have to set input
system->input->select GELF TCP
after run verify the message

# tail -f /var/log/messages

# tailf /var/log/graylog-server/server.log   //to check the server log

1.Make sure your server listeing the port 12201
#netstat -ntlp

2.install nxlog from client maching (https://nxlog.co/products/nxlog-community-edition/download)
edit config file from(C:\Program Files (x86)\nxlog\conf\nxlog.conf)


<Extension gelf>
Module xm_gelf
</Extension>

<Output out>
    Module      om_tcp
    Host        192.168.1.8
    Port        12201
    OutputType  GELF_TCP
</Output>

save the config file

3.now start the nxlog service from services
4.next go and check you log from (C:\Program Files (x86)\nxlog\data\nxlog.txt)

link

No comments:

Post a Comment