logstash_json v0.5.1 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.

Summary

Functions

Close connection

Update configuration and reconnect

Send message to logstash backend

Functions

close(conn)

Close connection

configure(conn, host, port)

Update configuration and reconnect

send(conn, data, timeout \\ 5000)

Send message to logstash backend

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