Message Payload Output

Outputs the message payload to the configured directory. The output filename is output_dir/Logger.Fields[payload_name].Fields[payload_type] and the contents are the message Payload.

1. Sample Configuration

filename        = "heka_inject_payload.lua"
message_matcher = "Type == 'inject_payload'"
ticker_interval = 86400 -- output prune interval
read_queue      = "analysis"

-- location where the payload is written (e.g. make them accessible from a web
-- server for external consumption)
output_dir      = "/var/tmp/hindsight/payload"

source code: heka_inject_payload.lua

results matching ""

    No results matching ""