diff --git a/elk/README.md b/elk/README.md index 1524fc6..b2afc59 100644 --- a/elk/README.md +++ b/elk/README.md @@ -21,6 +21,8 @@ $ docker-compose up -d ## Delete indices older than 7 days +File: delete-indices.yml + ```yaml --- actions: @@ -45,6 +47,14 @@ actions: unit_count: 7 ``` +File: ~/.curator/curator.yml + +```yaml +client: + hosts: + - 127.0.0.1 +``` + ```bash $ pip install elasticsearch-curator $ curator delete-indices.yml diff --git a/elk/delete-indices.yml b/elk/curator/delete-indices.yml similarity index 100% rename from elk/delete-indices.yml rename to elk/curator/delete-indices.yml