Skip to content

Instantly share code, notes, and snippets.

@mdowst
Created June 17, 2018 19:47
Show Gist options
  • Save mdowst/0a502faf5dbf7550598d079e9aa7c96a to your computer and use it in GitHub Desktop.
Save mdowst/0a502faf5dbf7550598d079e9aa7c96a to your computer and use it in GitHub Desktop.
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
actions:
1:
action: close
description: close indices
options:
delete_aliases: False
timeout_override:
continue_if_exception: True
disable_action: False
filters:
-
filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 14
exclude:
2:
action: delete_indices
description: delete indices
filters:
-
filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 30
exclude:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment