riemann.logentries

Forwards events to Logentries.

event-to-le-format

(event-to-le-format data)

format-event-data

(format-event-data data)

logentries

(logentries opts)

Returns a function which accepts an event and sends it to Logentries. Silently drops events when Logentries is down. Attempts to reconnect automatically every five seconds. Use:

(logentries {:token “2bfbea1e-10c3-4419-bdad-7e6435882e1f”})

Options:

:pool-size The number of connections to keep open. Default 4.

:reconnect-interval How many seconds to wait between attempts to connect. Default 5.

:claim-timeout How many seconds to wait for a Logentries connection from the pool. Default 0.1.

:block-start Wait for the pool’s initial connections to open before returning.

LogentriesClient

protocol

members

close

(close client)

Cleans up (closes sockets etc.)

open

(open client)

Creates a Logentries client

send-line

(send-line client line)

Sends a formatted line to Logentries