logstash.log file filling up pretty fast

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

logstash.log file filling up pretty fast

Post by Sampath.Basireddy »

Hello There,

logstash.log file is filling up pretty fast in our Nagios Log Server. I am seeing lot of grokparsefailure messages, not sure if this has got anything to do with this. grokparsefailure message were flowing in the past as well, but this issue started just today.

Thank You,
SB
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: logstash.log file filling up pretty fast

Post by cdienger »

Locking since this is a duplicate of https://support.nagios.com/forum/viewto ... 33#p270933:

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked