SHARE
TWEET

Untitled

a guest Jun 17th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. input {
  2.   jdbc {
  3.     jdbc_driver_library => "mysql-connector-java-5.1.38-bin.jar"
  4.     jdbc_driver_class => "com.mysql.jdbc.Driver"
  5.     jdbc_connection_string => "jdbc:mysql://localhost/student?user=root&password="
  6.     jdbc_user => "Croos"
  7.     parameters => {
  8.     }
  9.  
  10.     schedule => "* * * * *"
  11.     statement => "SELECT * from subject WHERE id > :sql_last_value"
  12.     use_column_value => true
  13.     tracking_column => id
  14.   }
  15. }
  16.  
  17. output {
  18.   elasticsearch {
  19.     hosts => ["localhost:9200"]
  20.   }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top