logstash file updation
[platform-oam.git] / elk-stack / logstash / Dockerfile
index c6adeff..479b041 100644 (file)
 # https://github.com/elastic/logstash-docker
 FROM docker.elastic.co/logstash/logstash-oss:6.8.6
 COPY /config/logstash.yml /usr/share/logstash/config/logstash.yml
-RUN /usr/share/logstash/bin/logstash-plugin install --version "5.0.0" logstash-integration-jdbc
-#logstash-input-jdbc
-ADD https://downloads.mariadb.com/enterprise/1prc-8jnh/connectors/java/connector-java-2.1.0/mariadb-java-client-2.1.0.jar /usr/share/logstash/vendor/bundle/
+RUN /usr/share/logstash/bin/logstash-plugin install --version "4.3.13" logstash-input-jdbc
+#"5.0.0" logstash-integration-jdbc
+#"4.3.13" logstash-input-jdbc
+ADD https://downloads.mariadb.com/enterprise/1prc-8jnh/connectors/java/connector-java-2.3.0/mariadb-java-client-2.3.0.jar /usr/share/logstash/vendor/bundle/
 USER root
 RUN ls -al /usr/share/logstash/vendor/bundle \
-  && chmod a+r /usr/share/logstash/vendor/bundle/mariadb-java-client-2.1.0.jar
+  && chmod a+r /usr/share/logstash/vendor/bundle/mariadb-java-client-2.3.0.jar