Guest User

Untitled

a guest
Jan 24th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. actions:
  2. 1:
  3. action: delete_indices
  4. description: >-
  5. Delete indices older than 15 days (based on index name), for logstash-
  6. prefixed indices. Ignore the error if the filter does not result in an
  7. actionable list of indices (ignore_empty_list) and exit cleanly.
  8. options:
  9. ignore_empty_list: True
  10. disable_action: True
  11. filters:
  12. - filtertype: pattern
  13. kind: prefix
  14. value: logstash-
  15. - filtertype: age
  16. source: name
  17. direction: older
  18. timestring: '%Y.%m.%d'
  19. unit: days
  20. unit_count: 15
Add Comment
Please, Sign In to add comment