1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 09:41:20 +00:00

update elk

This commit is contained in:
kev 2018-11-05 17:35:07 +08:00
parent 0b29e1c2c0
commit 7a7756d778
2 changed files with 10 additions and 0 deletions

@ -21,6 +21,8 @@ $ docker-compose up -d
## Delete indices older than 7 days ## Delete indices older than 7 days
File: delete-indices.yml
```yaml ```yaml
--- ---
actions: actions:
@ -45,6 +47,14 @@ actions:
unit_count: 7 unit_count: 7
``` ```
File: ~/.curator/curator.yml
```yaml
client:
hosts:
- 127.0.0.1
```
```bash ```bash
$ pip install elasticsearch-curator $ pip install elasticsearch-curator
$ curator delete-indices.yml $ curator delete-indices.yml