2020-09-27 17:05:15 +02:00
|
|
|
ARG ELK_VERSION
|
2021-05-14 11:39:35 +02:00
|
|
|
FROM logstash:${ELK_VERSION}
|
2019-02-09 09:40:14 +01:00
|
|
|
|
|
|
|
USER root
|
|
|
|
RUN rm -f /usr/share/logstash/pipeline/logstash.conf
|
|
|
|
RUN curl -L -o /usr/share/logstash/lib/mysql-connector-java-5.1.47.jar https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.47/mysql-connector-java-5.1.47.jar
|
|
|
|
ADD ./pipeline/ /usr/share/logstash/pipeline/
|
|
|
|
ADD ./config/ /usr/share/logstash/config/
|
|
|
|
|
2020-04-20 13:00:13 +02:00
|
|
|
RUN logstash-plugin install logstash-input-beats
|