docker-compose.yml update 35/7835/6
authorvt402f <vt00325492@techmahindra.com>
Wed, 29 Apr 2020 19:14:24 +0000 (15:14 -0400)
committerVineet Tripathi <vt00325492@techmahindra.com>
Wed, 29 Apr 2020 19:34:02 +0000 (19:34 +0000)
Change-Id: I743a7b93bc9dae090308293db922fa9dde7ef8c9
Signed-off-by: Sumit Kaushik <sk00613223@TechMahindra.com>
Signed-off-by: vt402f <vt00325492@techmahindra.com>
elk-stack/docker-compose.yml
elk-stack/logstash/Dockerfile

index 71aa76c..0ed39e5 100644 (file)
@@ -42,7 +42,7 @@ services:
       - "${ACUMOS_ELK_LOGSTASH_PORT}:5000"
     environment:
       LS_JAVA_OPTS: "-Xmx${ACUMOS_ELK_LS_JAVA_HEAP_MAX_SIZE} -Xms${ACUMOS_ELK_LS_JAVA_HEAP_MIN_SIZE}"
-      ACUMOS_ELK_JDBC_DRIVER_LIBRARY: "/usr/share/logstash/vendor/bundle/mariadb-java-client-2.1.0.jar"
+      ACUMOS_ELK_JDBC_DRIVER_LIBRARY: "/usr/share/logstash/vendor/bundle/mariadb-java-client-2.3.0.jar"
       ACUMOS_ELK_JDBC_DRIVER_CLASS: "org.mariadb.jdbc.Driver"
       ACUMOS_ELK_JDBC_CONNECTION_STRING: "jdbc:mariadb://databaseurl:port/databasename"
       ACUMOS_ELK_JDBC_USERNAME: "username"
index 479b041..a39c5e3 100644 (file)
 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 "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.3.0.jar
-
+  && chmod a+r /usr/share/logstash/vendor/bundle/mariadb-java-client-2.3.0.jar
\ No newline at end of file