1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02: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

View File

@ -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