nagioslogserver_history index

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

nagioslogserver_history index

Post by Envera IT »

Just wondering is the nagioslogserver_history index gets trimmed automatically on the backend and at what interval. Its at 10GB with 10 shards currently so its using 100GB of the cluster storage. Is there a way to reduce the size of this index or clear out those shards without impacting the cluster? Is this something I should just ignore? There's no pressing need on my end to clear the space, just something I noticed and wondered to myself "why is it using all that space for this?".
I like graphs...
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: nagioslogserver_history index

Post by cdienger »

This index contains the alert history found in the web UI under Alerting > Alerting > Alert History.

I will file a feature request to allow trimming of this index, but for the time being you can clear it out from the command line with:

Code: Select all

curl -XDELETE "http://localhost:9200/nagioslogserver_history/"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Re: nagioslogserver_history index

Post by Envera IT »

Thank you. I ran the command without issue. You can close this out.
I like graphs...
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: nagioslogserver_history index

Post by cdienger »

Will do. I've also filed a feature request to make this configurable in the web UI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked