Curator Operations
Installation
Curator.yml
To run Curator, we need the curator.yml file. This file specifies how Curator should connect and where:
Snapshot
To take a snapshot, we need a YAML file containing snapshot settings.
In addition to curator.yml, we create a snapshot.yml file:
We create a repository in Elasticsearch first and then run Curator with the snapshot.yml using the following commands:
Delete
To be able to delete the desired indexes, we need a YAML file containing delete settings.
In addition to curator.yml, we create a delete.yml file:
We run the following command to make Curator delete the indexes:
Readonly & Shrink
To set the mode of the desired indexes to readonly and be able to shrink them, we need a YAML file containing these settings.
In addition to curator.yml, we create a readonly_shrink.yml file:
We run the following command to make Curator set the indexes to readonly and then shrink them: