logstash daemon stopping
Re: logstash daemon stopping
I did try the fixes last week and my partner redid them on monday. the logfile i sent was from this morning
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: logstash daemon stopping
Then you may be hitting a different limit.
Lets edit the following file, /etc/sysconfig/logstash
change this
to this
and restart logstash
Do this on all instances
Lets edit the following file, /etc/sysconfig/logstash
change this
Code: Select all
#LS_OPEN_FILES=2048Code: Select all
LS_OPEN_FILES=4096Code: Select all
service logstash restartRe: logstash daemon stopping
done. here is a partial log file from /var/log/logstash/logstash.log
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: logstash daemon stopping
Ok, not it seems like there is more than one logstash process running... Ugh.
Lets do this
If you get ANY processes, you are going to have to kill them
Then,
Lets do this
Code: Select all
service logstash stop
ps -ef|grep logstashThen,
Code: Select all
service logstash startRe: logstash daemon stopping
done Ill update you as time passes
Hey scott how does it work?
I have servers shooting logs to NLS. When the logstash daemon dies for whatever reason, are those logs still accumulating on the NLS server? t
How can I get the data that accumulated when the daemon was off? Is this even possible if there is only one instance running?
Hey scott how does it work?
I have servers shooting logs to NLS. When the logstash daemon dies for whatever reason, are those logs still accumulating on the NLS server? t
How can I get the data that accumulated when the daemon was off? Is this even possible if there is only one instance running?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: logstash daemon stopping
Logstash is the first link in the chain. It is responsible for listening on the ports, taking in the logs, processing them, and then sending them off to Elasticsearch for storage and retrieval. If Logstash is not running then nothing will get into Elasticsearch.
Former Nagios employee
Re: logstash daemon stopping
thanks!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: logstash daemon stopping
Awesome, how are things looking now?
Re: logstash daemon stopping
I gotta wait till tomorrow
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: logstash daemon stopping
We'll await your reply. Thanks.