Hi,
When I run curator with multiple actions, only first action was executed. I use curator 5.7.6 and elasticsearch 7.1.0
curator --config config.yml actions.yml
Configuration file
---
actions:
1:
action: delete_indices
description: 'Delete indices filebeat swarm staging'
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: age
source: creation_date
direction: older
unit: days
unit_count: 15
- filtertype: pattern
kind: regex
value: '^(filebeat-swarm-staging-).*$'
2:
action: delete_indices
description: 'Delete indices filebeat swarm prod'
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: age
source: creation_date
direction: older
unit: days
unit_count: 30
- filtertype: pattern
kind: regex
value: '^(filebeat-swarm-prod-).*$'
3:
action: delete_indices
description: 'Delete indices metricbeat'
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: age
source: creation_date
direction: older
unit: days
unit_count: 15
- filtertype: pattern
kind: regex
value: '^(metricbeat-).*$'
Output logs
2019-06-21 11:27:20,679 INFO Preparing Action ID: test1, "delete_indices"
Is it possible to have multiple actions in one file?
Regards,