I am using Elasticsearch 7.15 and Kibana for searching text. The way I am creating index is daily index. Every time my application tries to save data to Elasticsearch, it will creates an index with date as the suffix: logs-2022-01-10.
I need to create an index lifecycle to delete the index which is older than 30 days. I have come cross some tutorial like: https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html but it is all about creating an index template and let Elasticsearch to create the index when certain threshold is hit.
Is there a simple way to create a delete policy based on the index name pattern without creating index template?
