taoensso.timbre.appenders.3rd-party.logstash

Appender that sends output to Logstash.
Requires Cheshire (https://github.com/dakrone/cheshire).

connect

(connect host port)

connection-ok?

(connection-ok? [sock out])

data->json-stream

(data->json-stream data writer opts)

iso-format

logstash-appender

(logstash-appender host port & [opts])
Returns a Logstash appender, which will send each event in JSON
format to the logstash server at `host:port`. Additionally `opts`
may be a map with `:pr-stracktrace` mapped to a function taking an
exception, which should write the stacktrace of that exception to
`*out`. Set `:flush?` to true to flush the writer after every
event.