mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
update logstash
This commit is contained in:
parent
6a79f3ba30
commit
3409a35bc5
@ -24,6 +24,7 @@ logstash:
|
||||
volumes:
|
||||
- ./data/logstash.yml:/usr/share/logstash/config/logstash.yml
|
||||
- ./data/pipeline:/usr/share/logstash/pipeline
|
||||
- /usr/share/logstash/vendor/bundle
|
||||
environment:
|
||||
LS_JAVA_OPTS: "-Xms1g -Xmx1g"
|
||||
restart: always
|
||||
@ -42,7 +43,7 @@ Installation successful
|
||||
logstash-output-logservice
|
||||
>>> exit
|
||||
$ vim data/pipeline/logstash.conf
|
||||
$ docker-compose restart
|
||||
$ docker-compose exec logstash kill -HUP 1
|
||||
$ docker-compose logs -f
|
||||
$ curl http://localhost:9600
|
||||
{
|
||||
@ -57,6 +58,11 @@ $ curl http://localhost:9600
|
||||
}
|
||||
```
|
||||
|
||||
You can install logstash plugin manually:
|
||||
|
||||
- /usr/share/logstash/vendor/bundle/jruby/2.3.0/specifications/logstash-output-logservice-0.3.0.gemspec
|
||||
- /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-output-logservice-0.3.0/
|
||||
|
||||
## Setup Filebeat
|
||||
|
||||
```bash
|
||||
|
@ -6,6 +6,7 @@ logstash:
|
||||
volumes:
|
||||
- ./data/logstash.yml:/usr/share/logstash/config/logstash.yml
|
||||
- ./data/pipeline:/usr/share/logstash/pipeline
|
||||
- /usr/share/logstash/vendor/bundle
|
||||
environment:
|
||||
LS_JAVA_OPTS: "-Xms1g -Xmx1g"
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user