I've enabled Stack Monitoring in Kibana, just for the purpose of trying it out. Now, after a couple of days, I see that my stack is using a lot of disk memory.
I was able to delete the individual .es-monitoring* indices that used up this space, but I would like to modify the policy that creates them in the first place, so that they are only kept for one day or 1GB at most.
What I see from this topic is not really helpful; it says I can safely delete these indices. But I don't want to do that manually. I also notice that for APM, for instance, there are index lifecycle policies that I can modify, but for monitoring, I don't see any.
This is self-managed. I enabled it by going to Management » Stack Monitoring and following the GUI wizard there.
There are no ILM policies visible when I click on the index in Index Management. Other indices like the ones from APM (e.g., traces) show the ILM policies.
That is the issue... "Self Monitoring" Will be deprecated at some point / soon (this is part of the reason why ), it is just the "quick" way to set up monitoring.
If you had used metricbeat etc... then there would be policies... although metricbeat take a bit more work but then it is like any other index and it will have an ILM policy etc.
There is no simple why to add ILM to those indices...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.