1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

update elk

This commit is contained in:
kev 2018-01-26 11:03:57 +08:00
parent f5f4626ad2
commit 5ced0a78c7

@ -5,6 +5,19 @@ ELK
- Logstash
- Kibana
## How it works
![](https://logz.io/wp-content/uploads/2017/03/elk-pipeline-in-docker-environment.png)
## Up and running
```bash
$ sysctl -w vm.max_map_count=262144
$ vi /etc/sysctl.conf
vm.max_map_count = 262144
$ docker-compose up -d
```
## Delete indices older than 7 days
```yaml