Guest User

Untitled

a guest
Jan 1st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. input {
  2. jdbc {
  3. jdbc_driver_library => "jarファイルの格納先/postgresql-42.1.4.jar"
  4. jdbc_driver_class => "org.postgresql.Driver"
  5. jdbc_connection_string => "jdbc:postgresql://localhost:5432/zabbix"
  6. jdbc_user => "zabbix"
  7. jdbc_password => "****************"
  8. statement => "select itemid, items.name, items.hostid, to_timestamp(trends.clock), trends.num, trends.value_min, trends.value_avg, trends.value_max from trends JOIN items using (itemid)"
  9. }
  10. }
  11.  
  12. output {
  13. elasticsearch {
  14. hosts => "localhost:9200"
  15. index => "trends"
  16. }
  17. }
Add Comment
Please, Sign In to add comment