I just built-up the connection. It's an issue caused by latest version of ELK. (7.5.0) Here's work around in my article. The point is to copy the JDBC driver .jar to the logstash-core\lib.
Check here:
My blog of workaround solution before Elastic stack solved their issue
--
MUST remain:
jdbc_driver_library => “"
Logstash config:
input {
jdbc {
jdbc_connection_string => “jdbc:sqlserver://localhost:1433;databaseName=SAMXIAODEMO;integratedSecurity=false;"
jdbc_driver_library => “"
jdbc_driver_class => “com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_user => “SQL DB account"
jdbc_password => “SQL DB password"
statement => “SELECT * FROM DB.SCHEMA.TABLE"
}
}
output {
elasticsearch {
hosts => [“localhost:9200″]
index => “your index name"
}
}