Plugin Name: SandboxEncoder
The SandboxEncoder provides an isolated execution environment for converting messages into binary data without the need to recompile Heka. See Sandbox.
Config:
Example
[custom_json_encoder]
type = "SandboxEncoder"
filename = "path/to/custom_json_encoder.lua"
[custom_json_encoder.config]
msg_fields = ["field1", "field2"]