Hello There,
logstash.log file is filling up pretty fast in our Nagios Log Server. I am seeing lot of grokparsefailure messages flowing in which I am suspecting could be a reason for this behavior.
How do I stop this until the grokparsefailure messages are taken care off.
Thank You,
SB
logstash.log file filling up pretty fast
-
Sampath.Basireddy
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Re: logstash.log file filling up pretty fast
You can disable the logging by editing /etc/init.d/logstash and changing line 64:
DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS}"
to:
DAEMON_OPTS="agent -f ${LS_CONF_DIR} ${LS_OPTS}"
Then restart the service:
systemctl daemon-reload
service logstash restart
DAEMON_OPTS="agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS}"
to:
DAEMON_OPTS="agent -f ${LS_CONF_DIR} ${LS_OPTS}"
Then restart the service:
systemctl daemon-reload
service logstash restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Sampath.Basireddy
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Re: logstash.log file filling up pretty fast
@cdienger, This issue auto resolved, please close this topic.
If I see the issue occurring again, I will follow your steps and see if that resolves it.
Thank You.
If I see the issue occurring again, I will follow your steps and see if that resolves it.
Thank You.