Logstash config issue

input {
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:3306/flask"
jdbc_user => "root"
jdbc_password => "coppergate51"
jdbc_driver_library => "/Users/upakalapati/Downloads/mysql-connector-java-5.1.46-bin.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
statement => "SELECT * FROM monitoring"
}
}
output {
stdout { codec => json_lines }
elasticsearch {
"hosts" => "localhost:9200"
"index" => "uday"
"document_type" => "data"
}
}

Resolved

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.