Windows events not showing up in log server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Windows events not showing up in log server

Post by tim.kroeger »

I'm starting to point all my devices to the log server. I have 11 devices pointed to it and Nagios is collecting logs from those hosts and everything is fine. I attempted to point 4 more windows hosts to send logs to the log server yesterday, but nagios isn't showing logs from those hosts. When I run tcpdump on the log server, I can see the logs coming in on port 3515 and I can see the log server acknowledging the traffic, but I dont see the logs when I query the server. Is there some kind of error log in Nagios that might tell me why they aren't being accepted? Thanks!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Windows events not showing up in log server

Post by cdienger »

Edit /etc/init.d/logstash and change line 64 from:

Code: Select all

DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS}"
to:

Code: Select all

DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS} --debug"
and restart the service with:

Code: Select all

systemctl daemon-reload
service logstash restart
Let this run just long enough to allow NLS to process some events from this host before reverting the config back. Debug logging will be saved to /var/log/logstash.log.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Re: Windows events not showing up in log server

Post by tim.kroeger »

thanks for your help! The debug worked great. It helped me find the problem.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Windows events not showing up in log server

Post by scottwilkerson »

tim.kroeger wrote:thanks for your help! The debug worked great. It helped me find the problem.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked