logstash file updation 42/7842/3
authorvt402f <vt00325492@techmahindra.com>
Wed, 29 Apr 2020 17:09:23 +0000 (13:09 -0400)
committerVineet Tripathi <vt00325492@techmahindra.com>
Wed, 29 Apr 2020 17:10:47 +0000 (17:10 +0000)
Change-Id: Iff24d8987af0125d23c302f1ed690201ca657a47
Signed-off-by: Sumit Kaushik <sk00613223@TechMahindra.com>
Signed-off-by: vt402f <vt00325492@techmahindra.com>
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
 # 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 \
 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