delete_indices删除索引配置示例

  1. actions:
  2. 1:
  3. action: delete_indices
  4. description: "Delete selected indices"
  5. options:
  6. continue_if_exception: False
  7. filters:
  8. - filtertype: pattern
  9. kind: regex
  10. value: '^dtlog-1.*2019.04'

delete_snapshot删除快照配置示例

  1. actions:
  2. 1:
  3. action: delete_snapshots
  4. description: "Delete selected snapshots from 'repository'"
  5. options:
  6. repository: curator-dtlog08
  7. retry_interval: 120
  8. retry_count: 3
  9. timeout_override: 3600
  10. filters:
  11. - filtertype: pattern
  12. kind: regex
  13. value: '^curator.*'