NxLog configured but cannot see any logs on Greylog

Greetings community

Am trying to config NXlog to send windows events to greylog server. But I cannot see any events sent on greylog server.
I can see the logs are being set to the greylog server via the firewall. So there isn’t anything blocking as such.
Config for greylog server

Module xm_gelf # Use 'im_mseventlog' for Windows XP, 2000 and 2003 Module im_msvistalog # Uncomment the following to collect specific event logs only Query \ \ *\ *\ *\ \ Module om_udp Host 10.x.x.x Port 12201 OutputType GELF Path eventlog => udp

greylog config

– things I’ve done
Index. System-Indicies- Default Index- Rotate Active Index.

I couldn’t see anything particular related to GELF on the greylog server logs?

hi, Jbix34

Which version of the Graylog do you use?
Have you checked the Nxlog log ?
C:\Program Files (x86)\nxlog\data

# sudo tcpdump -i lo host  <IP Client > and udp port 12201
test open port 
 #  sudo netstat -peanut | grep :12201

Why not use Winlogbeat ?

Also input type should be GELF (perhaps you already have, screenshot doesn’t show this)

Thanks you guys for your prompt responses. It turns out I haven’t allow port 12201 via the AWS security rule for the EC2 instance. I can now see the windows logs successfully.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.