i am using ELK version 7.5, i would like to delete the indices which are older than 30 days.
can i create the index life cycle policy to achieve this?
Also, does this policy deletes the default indices which will be created starting name with dot (.)(.kibana_task_manager_1 (like this)) when installed the ELK setup.
Yes ILM (index lifecycle management) will help you achieve this. In kibana there is a UI to help you create such policies under Management > Index Lifecycle Policies
After creating the policy, the requirement is it should not delete the indices that are managed by kibana itself. means by default there are some of the indices which are created automatically with the setup (ex..below) with starting with dot(.)
Nikhilesh
you have to create a policy (ILM) and then link your index to this ILM policy
and it will act only on that indexes.
for example my index name is mysystem_logs-2020-01, mysystem_logs-2020-02 .....
and my ILM is link to that index. then it will only delete that index. nothing else
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.