Skip to content

Commit

Permalink
updated log stash configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hkulekci committed Aug 9, 2018
1 parent 5a4c31d commit a82091b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .docker/logstash/conf/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ input {
jdbc {
jdbc_driver_library => "mysql-connector-java-5.1.36-bin.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://163.172.108.190:8989/node_es_example"
jdbc_connection_string => "jdbc:mysql://mysql:33060/node_es_example"
jdbc_user => "root"
jdbc_password => "root"
jdbc_password => "123456"
schedule => "* * * * *"
statement => "CALL fetchDataForElastic(:sql_last_value);"
}
Expand Down
34 changes: 0 additions & 34 deletions data/logstash.conf

This file was deleted.

3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ services:
- "5044:5044"
links:
- elasticsearch
- mysql

mysql:
image: "mysql:5.7.19"
restart: always
ports:
- "33060:3306"
- "33060:33060"
environment:
MYSQL_ROOT_PASSWORD: "123456"
volumes:
Expand Down

0 comments on commit a82091b

Please sign in to comment.