Page 1 of 1
Log server out of disk space
Posted: Tue Jan 21, 2020 11:53 am
by kmartin
Cannot login via GUI. Can login via console. I would like to delete old log files. Can this be done from the command line? Where to look and what file names?
Thank you,
Ken
Re: Log server out of disk space
Posted: Tue Jan 21, 2020 3:44 pm
by mbellerue
You will want to use the curator script to do this.
Code: Select all
cd /usr/local/nagioslogserver/scripts/
./curator.sh show indices --all-indices
./curator.sh delete indices --index logstash-YYYY.MM.DD
Also note that recent versions of Log Server come with NCPA installed by default. You can use that to monitor the health of your system.
Re: Log server out of disk space
Posted: Mon Jan 27, 2020 3:30 pm
by kmartin
Good info, thank you.
Re: Log server out of disk space
Posted: Tue Jan 28, 2020 7:35 pm
by Box293
Did this answer your question? Is it OK to lock this thread?
Re: Log server out of disk space
Posted: Thu Feb 13, 2020 11:55 am
by kmartin
Yes, please.