mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update elk
This commit is contained in:
parent
0b29e1c2c0
commit
7a7756d778
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user