Heka Compatible TCP Input
1. Sample Configuration
filename = "heka_tcp.lua"
instruction_limit = 0
-- address (string) - an IP address (* for all interfaces)
-- Default:
-- address = "127.0.0.1"
-- port (integer) - IP port to listen on (ignored for UNIX socket)
-- Default:
-- port = 5565
-- Size of the read chunks
-- Default:
-- buf_size = 1024 * 32
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.lua