Skip to content

benh57/expire-logs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Expire logs!

Need to delete old data in logstash/elasticsearch? This is the tool for you!

Usage

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

Contributing

  • fork the repo
  • make changes in your fork
  • send a pull request!

Origins

https://logstash.jira.com/browse/LOGSTASH-211

This tool was written by by Aaron Mildenstein, Njal Karevoll, and François Deppierraz.

About

Expire logs in elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors