Appender that sends output to Logstash. Requires Cheshire (https://github.com/dakrone/cheshire).
Appender that sends output to Logstash. Requires Cheshire (https://github.com/dakrone/cheshire).
(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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close