Guest User

Untitled

a guest
May 18th, 2017
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. input {
  2.  
  3. jdbc {
  4. type => "jdbc"
  5. jdbc_driver_library => "C:\Users\jesperni\Downloads\Microsoft JDBC Driver 6.0 for SQL Server\sqljdbc_6.0\enu\jre8\sqljdbc42.jar"
  6. jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  7. jdbc_connection_string => "jdbc:sqlserver://HRMHOST003\INSTANCE01;databaseName=utv2998jepster"
  8. jdbc_user => "hrm"
  9. jdbc_password => "Helmet1234"
  10. schedule => "* * * * *"
  11. statement => "SELECT TOP 1 email,cellphone,personid FROM ORG_Person ORDER BY NEWID()"
  12. jdbc_paging_enabled => "true"
  13. }
  14.  
  15. jdbc {
  16. type => "jdbc"
  17. jdbc_driver_library => "C:\Users\jesperni\Downloads\Microsoft JDBC Driver 6.0 for SQL Server\sqljdbc_6.0\enu\jre8\sqljdbc42.jar"
  18. jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  19. jdbc_connection_string => "jdbc:sqlserver://HRMHOST003\INSTANCE01;databaseName=utv2998jepster"
  20. jdbc_user => "hrm"
  21. jdbc_password => "Helmet1234"
  22. schedule => "* * * * *"
  23. statement => "SELECT TOP 1 * FROM ORG_EmpAbsence ORDER BY NEWID()"
  24. jdbc_paging_enabled => "true"
  25. }
  26. }
  27.  
  28. output {
  29. elasticsearch {
  30. hosts => "localhost:9200"
  31. index => "nocco-%{+YYYY.MM.dd}"
  32. document_id => "%{email}"
  33. document_type => "db"
  34. manage_template => true
  35. }
  36.  
  37. elasticsearch {
  38. hosts => "localhost:9200"
  39. index => "nocco-%{+YYYY.MM.dd}"
  40. document_id => "%{personid}"
  41. document_type => "sick"
  42. manage_template => true
  43. }
  44. stdout { codec => rubydebug }
  45. }
Add Comment
Please, Sign In to add comment