mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-10 04:19:24 +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
|
## 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
|
||||||
|
Loading…
Reference in New Issue
Block a user