Need to delete old data in logstash/elasticsearch? This is the tool for you!
See python logstash_index_cleaner.py --help
for specifics, but here's an example:
Keep 14 days of logs in elasticsearch:
python logstash_index_cleaner.py --host my-elasticsearch -d 14
- fork the repo
- make changes in your fork
- send a pull request!
https://logstash.jira.com/browse/LOGSTASH-211
This tool was written by by Aaron Mildenstein, Njal Karevoll, and François Deppierraz.