Heka Compatible TCP Output with Dynamic Matching
Used for generating a debug stream of messages for as long as the connection is maintained.
1. Sample Configuration
filename = "heka_tcp_matcher.lua"
instruction_limit = 0
message_matcher = "TRUE"
ticker_interval = 1
address = "127.0.0.1"
port = 5566
ssl_params = {
mode = "server",
protocol = "tlsv1",
key = "/etc/hindsight/certs/serverkey.pem",
certificate = "/etc/hindsight/certs/server.pem",
cafile = "/etc/hindsight/certs/CA.pem",
verify = {"peer", "fail_if_no_peer_cert"},
options = {"all", "no_sslv3"}
}
source code: heka_tcp_matcher.lua