Logstash Collector Keeps Stopping

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
34Bearman
Posts: 40
Joined: Wed Dec 03, 2014 3:45 pm

Logstash Collector Keeps Stopping

Post by 34Bearman »

The Logstash Collector keeps stopping and will not start after I restart it.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Logstash Collector Keeps Stopping

Post by cdienger »

Is this a new install or has it been running and just started crashing/failing to start?

The first place I would check would be /var/log/logstash/logstash.log and /var/log/elasticsearch/<cluster_id>.log:

Code: Select all

tail -f /var/log/logstash/logstash.log
tail -f /var/log/elasticsearch/<cluster_id>.log
Run both of these and try restarting the service and gather any messages that pop up as a result.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Logstash Collector Keeps Stopping

Post by eloyd »

I'll bet five craft beers that it's memory related.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Logstash Collector Keeps Stopping

Post by cdienger »

Now you're speaking my language : )

eloyd has a good point and those are usually pretty easy to see in the logs. How much total memory is on the system?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
34Bearman
Posts: 40
Joined: Wed Dec 03, 2014 3:45 pm

Re: Logstash Collector Keeps Stopping

Post by 34Bearman »

Thanks, my fault, should have checked that first. Found a few of the ports wouldn't open properly. Fixed that and it's working.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Logstash Collector Keeps Stopping

Post by cdienger »

Glad to hear you were able to resolve it with the logs!

Eloyd... looking forward to the beer selection : )
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked