I want to delete kibana indices that are older than 30 days from today using kibana dev tools.
You can simply use the Index life cycle management to automate it.
EDIT You can use the http://es-host:9200/_cat/indices?h=index,creation.date.string to find the indices creation time of all indices in your cluster, once you have all the indices, you can delete them using the delete indices API.
http://es-host:9200/_cat/indices?h=index,creation.date.string
2.1m questions
2.1m answers
60 comments
56.9k users