Skip to content

aar6ncai/logstash-delete-index

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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

About

A script to delete Elasticsearch indices of Logstash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%