Heka Payload Encoder Module
Extracts the payload from the provided Heka message and converts it into a byte stream for delivery to an external resource.
1. Encoder Configuration Table
- none
2. Functions
2.1. encode
Returns the read_message reference to retrieve the payload from the Heka message.
Arguments
- none
Return
- data (userdata) - reference to the message Payload
source code: payload.lua