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}