fuel-plugin-elasticsearch-k.../deployment_scripts/puppet/modules/lma_logging_analytics/templates/delete_indices.yaml.erb

24 lines
564 B
Plaintext

---
actions:
1:
action: delete_indices
description: >-
Delete indices older than <%= @real_retention_period %> days (based on index name).
options:
ignore_empty_list: True
timeout_override:
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: regex
value: "^<%= @regex %>-.*$"
exclude:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: <%= @real_retention_period %>
exclude: