Curator snapshot kibana indices don't work anymore

Hello,
I have noticed my snapshot of kibana indices don't work anymore. I don't know why, maybe due to an upgrade of my stack last april (6.3.0 to 6.7.1).

Now when I run the script :

curator --dry-run snapshot_index_kibana.yml

with the following lines in the yml file

actions:
1:
action: snapshot
description: >-
Snapshots Kibana indices
options:
repository: snapshot_production
name: snapshot_kibana_indices_%Y.%m.%d_%H.%M.%S
ignore_empty_list: false
timeout_override:
continue_if_exception: False
disable_action: False
filters:
- filtertype: kibana
exclude: false

I have the error :

curator --dry-run snapshot_index_kibana.yml
2019-07-08 16:53:46,542 INFO Preparing Action ID: 1, "snapshot"
2019-07-08 16:53:46,551 INFO Trying Action ID: 1, "snapshot": Snapshots Kibana indices
2019-07-08 16:53:47,010 INFO Skipping action "snapshot" due to empty list: <class 'curator.exceptions.NoIndices'>
2019-07-08 16:53:47,011 INFO Action ID: 1, "snapshot" completed.
2019-07-08 16:53:47,011 INFO Job completed.

what's going on ?

I have updated curator to last version but same error.
The purpose of this command was to snapshot every day my kibana indices.

Does exist another way to do that ?

No problem with others actions (delete and snapshot of other indices).

This will exclude all non-kibana indices, but it’s still not matching even the current Kibana index pattern. You also should continue to manually test with —dry-run until you are satisfied all indices are backed up.

I have solved my issues with this new configuration :

actions:
1:
action: snapshot
description: >-
Snapshots Kibana indices
options:
repository: snapshot_production
name: snapshot_kibana_indices_%Y.%m.%d_%H.%M.%S
ignore_empty_list: true
timeout_override:
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: regex
value: '^(.kibana|.reindexed-v6-kibana-6)'

It works and I can restore kibana indices.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.