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).
(connect host port)(connection-ok? [sock out])(data->json-stream data writer opts)(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |