Advertisement
Guest User

system.toml

a guest
Oct 30th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. [hekad]
  2. pid_file = "/var/run/hekad-system.pid"
  3.  
  4. [ProcessInput]
  5. type = "ProcessInput"
  6. ticker_interval = 60
  7. decoder = "JsonDecoder"
  8.  
  9. [ProcessInput.command.0]
  10. bin = "/usr/bin/php"
  11. args = ["/usr/share/heka/scripts/system.php"]
  12.  
  13. ## DECODERS
  14. [JsonDecoder]
  15. type = "SandboxDecoder"
  16. script_type = "lua"
  17. filename = "lua_decoders/json.lua"
  18.  
  19. [JsonDecoder.config]
  20. type = "system"
  21.  
  22. [ESJsonEncoder]
  23. index = "%{Type}-%{2006.01.02}"
  24. es_index_from_timestamp = true
  25. type_name = "%{Type}"
  26.  
  27. [ElasticSearchOutput]
  28. #message_matcher = "TRUE"
  29. message_matcher = "Type == 'system'"
  30. server = "http://localhost:9200"
  31. encoder = "ESJsonEncoder"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement