Hi
We had a requirement to delete logs based on different log types (eg: log duration changes based on type)
Based on the forum answer https://support.nagios.com/forum/viewto ... 38&t=50868
We implemented the delete command but based on the elasticsearch blog https://www.elastic.co/blog/lucenes-han ... -documents we found
There is a known issue where the documents don't get physically deleted until some write or merge happens on the index, because NLS stores logs on daily basis index never gets used and in return it never actually physically deletes the documents, to overcome this issue we are running a cron job with _optimize on the old indexes to delete the log to free up disk space.
The customer wants to know when this will be fixed in NLS, can we have a roadmap or fix plan for this issue? so that we can share it with the customer.
Appreciate your soonest reply.
Regards
Chandana
Delete logs to make free disk space
Re: Delete logs to make free disk space
I know people have had similar requests to make it easier to delete items in the database without having to run the elasticsearch command. I believe having to run the(not so obvious) optimization afterwards would be another reason to put something in the GUI. I will file a feature request for this but we don't usually provide ETAs for feature requests and the decision to implement enhancements is at the discretion of our development team.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.