Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

snapshot policy should allow specifying indices #382

Open
wyllys66 opened this issue Jan 11, 2021 · 2 comments
Open

snapshot policy should allow specifying indices #382

wyllys66 opened this issue Jan 11, 2021 · 2 comments
Labels
enhancement An improvement on the existing feature’s functionalities

Comments

@wyllys66
Copy link

Currently, (release 1.12.0), it appears that we cannot specify what indexes to include in a snapshot when the snapshot is triggered by a policy. The policy action for "snapshot" only includes the repository and the name of the snapshot. It should allow for additional parameters related to snapshot operations.

@wyllys66 wyllys66 added the enhancement An improvement on the existing feature’s functionalities label Jan 11, 2021
@wyllys66
Copy link
Author

While it is possible to create index_templates that assign a snapshot policy to a list of matching indices, the problem with that approach is that it results in a separate snapshot for each index. It would be so much better if there was a single snapshot that included the matching indices. This is pretty significant.

@lav-kush
Copy link

Currently, it appears that we cannot specify dynamic snapshot name in ISM policy. The policy action for "snapshot" only includes the repository and the static name of the snapshot, and it creates separate snapshot for each indices with name -. It should allow to pass dynamic snapshot name say for each index something like ctx.index var as used in message template.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An improvement on the existing feature’s functionalities
Projects
None yet
Development

No branches or pull requests

2 participants