Guest User

Untitled

a guest
May 28th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. input {
  2.  
  3. jdbc {
  4. jdbc_connection_string => "jdbc:mysql://localhost:3306/testdb"
  5. # The user we wish to execute our statement as
  6. jdbc_user => "root"
  7. jdbc_password => "ankit"
  8. # The path to our downloaded jdbc driver
  9. jdbc_driver_library => "/home/ankit/Downloads/mysql-connector-java-5.1.38.jar"
  10. jdbc_driver_class => "com.mysql.jdbc.Driver"
  11. #run logstash at an interval of on minute
  12. #schedule => "* * * * * *"
  13. # our query
  14. statement => "SELECT * FROM ghijkl"
  15. }
  16. jdbc {
  17. jdbc_connection_string => "jdbc:mysql://localhost:3306/testdb"
  18. # The user we wish to execute our statement as
  19. jdbc_user => "root"
  20. jdbc_password => "ankit"
  21. # The path to our downloaded jdbc driver
  22. jdbc_driver_library => "/home/ankit/Downloads/mysql-connector-java-5.1.38.jar"
  23. jdbc_driver_class => "com.mysql.jdbc.Driver"
  24. #run logstash at an interval of on minute
  25. #schedule => "* * * * * *"
  26. # our query
  27. statement => "SELECT * FROM abcdef"
  28. }
  29. }
Add Comment
Please, Sign In to add comment