logstash_json v0.7.5 LogstashJson.TCP.Connection

Uses the Connection API to maintain a tcp connection towards logstash and handle connection errors.

Buffers messages that failed to be sent for any reason, until a maximum buffer size is reached after which incoming messages are dropped.

Link to this section Summary

Functions

Close connection

Update configuration and reconnect

Send message to logstash backend

Link to this section Functions

Close connection

Link to this function

configure(conn, host, port)

Update configuration and reconnect

Link to this function

send(conn, data, timeout \\ 5000)

Send message to logstash backend

Link to this function

start_link(host, port, queue, id \\ 0, timeout \\ 1000)