Plugin Name: TcpOutput
Output plugin that delivers Heka message data to a listening TCP connection. Can be used to deliver messages from a local running Heka agent to a remote Heka instance set up as an aggregator and/or router, or to any other arbitrary listening TCP server that knows how to process the encoded data.
An IP address:port to which we will send our output data.
Specifies whether or not SSL/TLS encryption should be used for the TCP connections. Defaults to false.
New in version 0.5.
A sub-section that specifies the settings to be used for any SSL/TLS
encryption. This will only have any impact if
use_tls is set to true.
See Configuring TLS.
New in version 0.6.
A local IP address to use as the source address for outgoing traffic to this destination. Cannot currently be combined with TLS connections.
Specifies which of the registered encoders should be used for converting Heka messages to binary data that is sent out over the TCP connection. Defaults to the always available “ProtobufEncoder”.
Specifies whether or not the encoded data sent out over the TCP connection should be delimited by Heka’s Stream Framing. Defaults to true if a ProtobufEncoder is used, false otherwise.
Specifies whether or not TCP keepalive should be used for established TCP connections. Defaults to false.
Time duration in seconds that a TCP connection will be maintained before keepalive probes start being sent. Defaults to 7200 (i.e. 2 hours).
New in version 0.10.
Buffer records to a disk-backed buffer on the Heka server before sending them out over the TCP connection. Defaults to true.
All of the buffering config options are set to the standard default options, except for cursor_update_count, which is set to 50 instead of the standard default of 1.
Re-establish the TCP connection after the specified number of successfully delivered messages. Defaults to 0 (no reconnection).
[aggregator_output] type = "TcpOutput" address = "heka-aggregator.mydomain.com:55" local_address = "127.0.0.1" message_matcher = "Type != 'logfile' && Type !~ /^heka\./'"