Details
-
Type:
Bug/Feature
-
Status: Resolved (View workflow)
-
Resolution: Fixed
-
Affects versions: None
-
Fix versions: None
-
Labels:
Description
Technically, this is more of an ES script, but it has been designed to work with logstash and the default 1 index per day created.
This requires the pyes module. After configuring the variables in the script (decided it was easier this way for the sake of cron) just run the script and it will purge all indices older than the specified number of days using the ES API.