How to fix this problem?
input {
jdbc {
jdbc_driver_library => "/etc/mysql-connector/mysql-connector-java-5.1.46/mysql-connector-java-5.1.46-bin.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "XXXXXXXX"
jdbc_user => "XXXXXXXX"
jdbc_password => "XXXXXXX"
schedule => "*/10 * * * * *"
statement => "XXXXXXX"
clean_run => true
}
}
output {
mongodb {
collection => "test"
database => "xxxxxx"
uri => "mongodb://xxxxxxx:xxxx/xxxxx"
codec => "json"
generateId => true
}
}
please i need help to fix this problem