Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 351 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 351 Bytes

logstash-delete-index

This is a simple script to delete Logstash indices from Elasticsearch.

As example if you want to delete all indices that are older than 180 days:

# Just for debugging
logstash-delete-index -H 192.169.100.10:9200 -d 180

# Delete the indices (-r = run)
logstash-delete-index -H 192.169.100.10:9200 -d 180 -r