Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hekad]
- pid_file = "/var/run/hekad-system.pid"
- [ProcessInput]
- type = "ProcessInput"
- ticker_interval = 60
- decoder = "JsonDecoder"
- [ProcessInput.command.0]
- bin = "/usr/bin/php"
- args = ["/usr/share/heka/scripts/system.php"]
- ## DECODERS
- [JsonDecoder]
- type = "SandboxDecoder"
- script_type = "lua"
- filename = "lua_decoders/json.lua"
- [JsonDecoder.config]
- type = "system"
- [ESJsonEncoder]
- index = "%{Type}-%{2006.01.02}"
- es_index_from_timestamp = true
- type_name = "%{Type}"
- [ElasticSearchOutput]
- #message_matcher = "TRUE"
- message_matcher = "Type == 'system'"
- server = "http://localhost:9200"
- encoder = "ESJsonEncoder"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement