apiVersion: v1
kind: ConfigMap
metadata:
  name: actions
data:
  cleanup.yaml: |-
    ---
    actions:
      1:
        action: delete_indices
        description: "Clean up ES by deleting old indices"
        options:
          timeout_override:
          continue_if_exception: False
          disable_action: False
          ignore_empty_list: True
        filters:
        - filtertype: age
          source: name
          direction: older
          timestring: '%Y.%m.%d'
          unit: days
          unit_count: 30
          field:
          stats_result:
          epoch:
          exclude: False
