Module gelf_fields

Source
Expand description

GELF Message fields. Definitions from https://docs.graylog.org/docs/gelf.

Constantsยง

FACILITY
(optional) (deprecated) Send as additional field instead.
FILE
(optional) (deprecated) The file (with path if you want) that caused the error. Send as additional field instead.
FULL_MESSAGE
(optional) A long message that can i.e. contain a backtrace
GELF_VERSION
(not a field) The latest version of the GELF specification.
HOST
(required) The name of the host, source or application that sent this message.
LEVEL
(optional) The level equal to the standard syslog levels. default is 1 (ALERT).
LINE
(optional) (deprecated) The line in a file that caused the error (decimal). Send as additional field instead.
SHORT_MESSAGE
(required) A short descriptive message.
TIMESTAMP
(optional) Seconds since UNIX epoch with optional decimal places for milliseconds. SHOULD be set by client library. Will be set to the current timestamp (now) by the server if absent.
VERSION
(required) GELF spec version