logtash mysql cofiguration file

Solutions on MaxInterview for logtash mysql cofiguration file by the best coders in the world

showing results for - "logtash mysql cofiguration file"
Talia
09 Apr 2019
1input {
2  jdbc {
3    jdbc_driver_library => "mysql-connector-java-5.1.36-bin.jar"
4    jdbc_driver_class => "com.mysql.jdbc.Driver"
5    jdbc_connection_string => "jdbc:mysql://localhost:3306/mydb"
6    jdbc_user => "mysql"
7    parameters => { "favorite_artist" => "Beethoven" }
8    schedule => "* * * * *"
9    statement => "SELECT * from songs where artist = :favorite_artist"
10  }
11}