Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- actions:
- 1:
- action: delete_indices
- description: >-
- Delete indices older than 15 days (based on index name), for logstash-
- prefixed indices. Ignore the error if the filter does not result in an
- actionable list of indices (ignore_empty_list) and exit cleanly.
- options:
- ignore_empty_list: True
- disable_action: True
- filters:
- - filtertype: pattern
- kind: prefix
- value: logstash-
- - filtertype: age
- source: name
- direction: older
- timestring: '%Y.%m.%d'
- unit: days
- unit_count: 15
Add Comment
Please, Sign In to add comment