This is the graylog Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:03:47 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
graylog
Graylog Lisp client
Mariano Montone <marianomontone@gmail.com>
MIT
local-time
(system).
usocket
(system).
babel
(system).
salza2
(system).
cl-json
(system).
trivial-backtrace
(system).
package.lisp
(file).
graylog.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
graylog/graylog.lisp
package.lisp
(file).
graylog
(system).
connect-graylog
(function).
connect-graylog-toplevel
(function).
graylog
(function).
graylog-connection
(function).
with-graylog-connection
(macro).
*default-gelf-port*
(special variable).
*default-host-name*
(special variable).
*graylog-connection*
(special variable).
call-with-graylog-connection
(function).
Packages are listed by definition order.
graylog
common-lisp
.
connect-graylog
(function).
connect-graylog-toplevel
(function).
graylog
(function).
graylog-connection
(function).
with-graylog-connection
(macro).
*default-gelf-port*
(special variable).
*default-host-name*
(special variable).
*graylog-connection*
(special variable).
call-with-graylog-connection
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Run body within the scope of a graylog connection
Connect to a graylog instance
HOSTNAME: According to GELF spec, it can be the name of the host, source or application that sent this message
Connect to graylog and set the global connection
Log to graylog using GELF
https://www.graylog.org/resources/gelf/
Version 1.1 (11/2013)
A GELF message is a GZIP’d or ZLIB’d JSON string with the following fields:
version string (UTF-8)
GELF spec version – “1.1”; MUST be set by client library.
host string (UTF-8)
the name of the host, source or application that sent this message; MUST be set by client library.
short_message string (UTF-8)
a short descriptive message; MUST be set by client library.
full_message string (UTF-8)
a long message that can i.e. contain a backtrace; optional.
timestamp number
Seconds since UNIX epoch with optional decimal places for milliseconds; SHOULD be set by client library. Will be set to NOW by server if absent.
level number
the level equal to the standard syslog levels; optional, default is 1 (ALERT).
facility string (UTF-8)
optional, deprecated. Send as additional field instead.
line number
the line in a file that caused the error (decimal); optional, deprecated. Send as additional field instead.
file string (UTF-8)
the file (with path if you want) that caused the error (string); optional, deprecated. Send as additional field instead.
_[additional field] string (UTF-8) or number
every field you send and prefix with a _ (underscore) will be treated as an additional field. Allowed characters in field names are any word character (letter, number, underscore), dashes and dots. The verifying regular expression is: ^[w.-]*$
Libraries SHOULD not allow to send id as additional field (_id). Graylog server nodes omit this field automatically.
Return the current graylog connection
Jump to: | C F G M W |
---|
Jump to: | C F G M W |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F G P S |
---|
Jump to: | F G P S |
---|