Elasticsearch Encoder for Heka Messages

1. Encoder Configuration Table

Common Options

2. Functions

2.1. encode

Creates the ElasticSearch bulk API index JSON and combines it with the JSON created by iterating the Heka message Fields.


  • none


  • JSON (string, nil) Elasticsearch JSON or nil (skip no payload)

3. Sample Output


source code: mozlog.lua

results matching ""

    No results matching ""