Windows events not showing up in log server
-
tim.kroeger
- Posts: 12
- Joined: Wed May 20, 2020 5:33 am
Windows events not showing up in log server
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!
Re: Windows events not showing up in log server
Edit /etc/init.d/logstash and change line 64 from:
to:
and restart the service with:
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.
Code: Select all
DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS}"Code: Select all
DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS} --debug"Code: Select all
systemctl daemon-reload
service logstash restartAs 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
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
Great!tim.kroeger wrote:thanks for your help! The debug worked great. It helped me find the problem.
Locking thread