ESPayloadEncoder is a Lua plugin; the configuration is a little tricky. Try:
[es_payload]
type = "SandboxEncoder"
filename = "lua_encoders/es_payload.lua"
[es_payload.config]
index = "heka-%{Y.%m.%d}"
es_index_from_timestamp = true
type_name = "heka_logs"
[ElasticSearchOutput]
message_matcher = "TRUE"
server = "https://127.0.0.1:9200"
flush_interval = 5000
flush_count = 10
encoder = “es_payload”
On Jan 9, 2015, at 9:12 AM, Matt Hughes <[email protected]> wrote:
> 1) See what I’m doing wrong? 2) I’m confused on whether to use ‘es_payload’
> or ‘ESPayloadEncoder’. I’ve tried both with the same luck. The doc example
> uses the former, but I don’t understand how that works. Examples for other
> encoders user the full name (i.e., ESLogstashV0Encoder)
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka