Page 1 of 1
Logstash Collector Keeps Stopping
Posted: Fri Jun 30, 2017 9:27 am
by 34Bearman
The Logstash Collector keeps stopping and will not start after I restart it.
Re: Logstash Collector Keeps Stopping
Posted: Fri Jun 30, 2017 10:02 am
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.
Re: Logstash Collector Keeps Stopping
Posted: Fri Jun 30, 2017 10:35 am
by eloyd
I'll bet five craft beers that it's memory related.
Re: Logstash Collector Keeps Stopping
Posted: Fri Jun 30, 2017 10:52 am
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?
Re: Logstash Collector Keeps Stopping
Posted: Sat Jul 01, 2017 11:17 am
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.
Re: Logstash Collector Keeps Stopping
Posted: Wed Jul 05, 2017 9:24 am
by cdienger
Glad to hear you were able to resolve it with the logs!
Eloyd... looking forward to the beer selection : )