Hi All,
I am running ES 5.x.x and I am having the following action file
actions:
1:
action: snapshot
description: >-
Snapshot logstash- prefixed indices older than 100 day (based on index
creation_date) with the default snapshot name pattern of
'curator-%Y%m%d%H%M%S'. Wait for the snapshot to complete. Do not skip
the repository filesystem access check. Use the other options to create
the snapshot.
options:
repository: databackuptest1
name:
ignore_unavailable: False
include_global_state: True
partial: False
wait_for_completion: True
skip_repo_fs_check: False
disable_action: false
filters:
- filtertype: pattern
kind: prefix
value: logstash-test-
- filtertype: age
source: creation_date
direction: older
timestring: '%Y-%m-%d'
unit: days
unit_count: 100
When I run
./curator --config curator.yml action.yaml
I see curator going over the indices and everything looks 'okish' however at the end it quits with..
Unable to complete action "snapshot". No actionable items in list: <class 'curator.exceptions.NoIndices'>
Snippet from the DEBUG below:
2017-08-11 13:51:10,727 DEBUG curator.indexlist filter_by_regex:384 Filter by regex: Index: logstash-test-2017.04.05
2017-08-11 13:51:10,727 DEBUG curator.indexlist __actionable:35 Index logstash-test-2017.04.05 is actionable and remains in the list.
2017-08-11 13:51:10,727 DEBUG curator.indexlist filter_by_regex:384 Filter by regex: Index: logstash-test-2017.01.24
2017-08-11 13:51:10,727 DEBUG curator.indexlist __actionable:35 Index logstash-test-2017.01.24 is actionable and remains in the list.
2017-08-11 13:51:10,727 DEBUG curator.indexlist filter_by_regex:384 Filter by regex: Index: logstash-number1-2017.06.07
2017-08-11 13:51:10,727 DEBUG curator.indexlist __not_actionable:39 Index logstash-number1-2017.06.07 is not actionable, removing from list.
2017-08-11 13:51:10,727 DEBUG curator.indexlist filter_by_regex:384 Filter by regex: Index: logstash-number1-2017.01.07
2017-08-11 13:51:10,727 DEBUG curator.indexlist __not_actionable:39 Index logstash-number1-2017.01.07 is not actionable, removing from list.
My goal is to backup my indices and then delete them. Any help would be much appreciated!