HI I want to visualize my data from mysql to kibana
I create my file logstash.conf
input {
jdbc {
jdbc_driver_library => "E:/ELK/mysql-connector-java-8.0.17.jar"
jdbc_driver_class => "com.mysql.cj.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://localhost:3306/mydata"
jdbc_user => "root"
jdbc_password => "admin"
schedule => "* * * * *"
statement => "SELECT * FROM analyse"
}
jdbc {
jdbc_driver_library => "E:/ELK/mysql-connector-java-8.0.17.jar"
jdbc_driver_class => "com.mysql.cj.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://localhost:3306/mydata"
jdbc_user => "root"
jdbc_password => "admin"
schedule => "* * * * *"
statement => "SELECT * FROM analyse_elementanalyse"
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "index_analyse"
document_id => "%{id}"
user => "elastic"
password => "qwVx8sqUc14XHG+HZF3I"
}
elasticsearch {
hosts => ["localhost:9200"]
index => "index_analyse_elementanalyse"
document_id => "%{id}"
user => "elastic"
password => "qwVx8sqUc14XHG+HZF3I"
}
I create the data view in kibana but when want to create my charts I look the index is empty no fields
**Available fields**
0
There are no available fields that contain data.
**Try:**
* Extending the time range
what is the probleme ?
i work in windows 10