Good Morning,
I am having trouble accessing the data in the SQLExpress database.I don't receive answers in elasticsearch
Downloaded de JDBC driver and put it in te route: C:\Users\admin\Desktop\sqljdbc_4.2\esn\jre8\sqljdbc42.jar
The configuration file I have is as follows:
input {
jdbc {
jdbc_driver_library => "C:\Users\admin\Desktop\sqljdbc_4.2\esn\jre8\sqljdbc42.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "jdbc:sqlserver://localhost\SQLEXPRESS;databaseName=test;user=Data Gateways Database SQL User;password=passwordDB"
schedule => "5 * * * *"
statement => "SELECT * FROM dbo.datos"
}
}
output {
elasticsearch {
hosts => "localhost:9200"
manage_template => false
index => "datos"
}
}
Can someone give me a hand?