ElasticSerach版本:6.2.1
前面一切正常
用logstash6.2.1从MySQL中获取数据时有几个错误:
1、连接不上数据库,配置文件:
input {
stdin {
}
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:3306/mindapes_course?serverTimezone=UTC&allowMultiQueries=true&autoReconnect=true&useUnicode=true&failOverReadOnly=false&useSSL=true&characterEncoding=utf-8"
# the user we wish to excute our statement as
jdbc_user => "root"
jdbc_password => root
# the path to our downloaded jdbc driver
jdbc_driver_library => "D:/WorkingFolder/mvn_Repository/mysql/mysql-connector-java/5.1.45/mysql-connector-java-5.1.45.jar"
# the name of the driver class for mysql
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_paging_enabled =>