actions.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # ---
  2. # Remember, leave a key empty if there is no value. None will be a string,
  3. # not a Python "NoneType"
  4. #
  5. # Also remember that all examples have 'disable_action' set to True. If you
  6. # want to use this action as a template, be sure to set this to False after
  7. # copying it.
  8. # actions:
  9. # 1:
  10. # action: delete_indices
  11. # description: >-
  12. # Delete .operations indices older than 30 days.
  13. # Ignore the error if the filter does not
  14. # result in an actionable list of indices (ignore_empty_list).
  15. # See https://www.elastic.co/guide/en/elasticsearch/client/curator/5.2/ex_delete_indices.html
  16. # options:
  17. # # Swallow curator.exception.NoIndices exception
  18. # ignore_empty_list: True
  19. # # In seconds, default is 300
  20. # timeout_override: ${CURATOR_TIMEOUT}
  21. # # Don't swallow any other exceptions
  22. # continue_if_exception: False
  23. # # Optionally disable action, useful for debugging
  24. # disable_action: False
  25. # # All filters are bound by logical AND
  26. # filters:
  27. # - filtertype: pattern
  28. # kind: regex
  29. # value: '^\.operations\..*$'
  30. # exclude: False
  31. # - filtertype: age
  32. # # Parse timestamp from index name
  33. # source: name
  34. # direction: older
  35. # timestring: '%Y.%m.%d'
  36. # unit: days
  37. # unit_count: 30
  38. # exclude: False