taoensso.timbre.appenders.community.gelf

Appender that sends GELF messages to a centralized logging server
(e.g. Graylog). Requires https://github.com/Graylog2/gelfclient.

data->gelf-message

clj

(data->gelf-message data)

gelf-appender

clj

(gelf-appender gelf-server port)(gelf-appender gelf-server port protocol)
Returns a Timbre appender that sends gelf messages to a remote host. Params:
`gelf-server` - IP address or hostname string of the remote logging server
`port`        - TCP or UDP port on which the server listens
`protocol`    - e/o #{:tcp :udp}, defaults to :udp

make-gelf-transport

clj

(make-gelf-transport host port protocol)
Returns a new GelfTransport object, capable of sending a GelfMessage to a
remote server. Params:
  `host`     - IP address or hostname string of the remote logging server
  `port`     - TCP or UDP port on which the server listens
  `protocol` - e/o #{:tcp :udp}

timbre-to-gelf-level

clj

(timbre-to-gelf-level level)