File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 7
7
```
8
8
docker-compose up -d --build --force-recreate
9
9
```
10
+ ### Log
11
+ ```
12
+ docker-compose logs -f
13
+ ```
10
14
### Stop & Remove
11
15
```
12
- docker-compose rm -s -f -v
16
+ docker-compose rm -sfv
13
17
```
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ services:
21
21
kibana :
22
22
image : docker.elastic.co/kibana/kibana:6.3.2
23
23
depends_on :
24
- - elasticsearch
24
+ - logstash
25
25
ports :
26
26
- 5601:5601
27
27
networks :
Original file line number Diff line number Diff line change @@ -2,17 +2,13 @@ FROM docker.elastic.co/logstash/logstash:6.3.2
2
2
3
3
LABEL maintainer="alexander.malic@maastrichtuniversity.nl"
4
4
5
- RUN /usr/share/logstash/bin/logstash-plugin install logstash-patterns-core
6
-
7
- # ADD http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz /opt/
8
- # RUN cd /opt && tar -xzvf GeoLite2-City.tar.gz && \
9
- # mv GeoLite2-City*/GeoLite2-City.mmdb . && \
10
- # rm -f GeoLite2-City.tar.gz && \
11
- # rm -rf GeoLite2-City*/
5
+ WORKDIR /usr/share/logstash/bin/
6
+ RUN logstash-plugin update && \
7
+ logstash-plugin install logstash-patterns-core
12
8
13
9
COPY ./logstash.conf /etc/logstash/conf.d/logstash.conf
14
10
15
11
USER logstash
16
12
EXPOSE 12201/udp
17
13
18
- CMD ["logstash" , "-f" , "/etc/logstash/conf.d/logstash.conf" ]
14
+ CMD ["logstash" , "-f" , "/etc/logstash/conf.d/logstash.conf" ]
You can’t perform that action at this time.
0 commit comments