NLS 2.1.7 - index for older logs get's closed every day

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
stooge
Posts: 12
Joined: Fri Jul 31, 2020 12:17 pm

NLS 2.1.7 - index for older logs get's closed every day

Post by stooge »

I recently ingested logs from June 8 into NLS 2.1.7. It's working out great and I'm getting everything I need out of it, however the index for June 8 get's closed about once every day and my dashboards fail to load. After I re-open the index everything starts working again, but in the logs I'm not seeing a reason for the index closing - just that it's closed. I would like to leave the index open until I close/delete it. Is there a setting I'm missing that can help me leave the index open?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NLS 2.1.7 - index for older logs get's closed every day

Post by ssax »

That is done based on the settings from Admin > Snapshots and Maintenance > Maintenance and Repository Settings.

You can increase it to a higher number but just remember the indices need to be open to query them which equals more memory usage.

The auto-closing is something you can enable to free up resources automatically, see here:

https://assets.nagios.com/downloads/nag ... enance.pdf

How long does the query go back?
stooge
Posts: 12
Joined: Fri Jul 31, 2020 12:17 pm

Re: NLS 2.1.7 - index for older logs get's closed every day

Post by stooge »

Thanks @ssax. I will be cleaning up my indexes and dashboards every week so the data won't stay in the repository for very long. I will make the change you mentioned and make sure it works
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NLS 2.1.7 - index for older logs get's closed every day

Post by benjaminsmith »

Hi @stooge,

Great! Let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked