Accepts a GraylogConfig or plain options.
True once close was called.
Flushes and closes every log client created by logClient, then releases connections. Idempotent.
Creates an input: POST /api/system/inputs. Returns its id. Unknown types raise
NotFoundError. Graylog does not reject a busy port here: check getInputState
(or use ensureGelfInput).
Creates a stream (POST /api/streams) in the given (default: the default) index set and
resumes it unless start: false (Graylog creates streams paused). Returns the stream id.
Deletes an input: DELETE /api/system/inputs/{id}; NotFoundError when unknown.
Deletes a stream: DELETE /api/streams/{id}; NotFoundError when unknown.
Returns a running GELF input for protocol and port, creating it when none exists
(matched by type, port and bind address). Waits until the input is RUNNING; a FAILED
input (e.g. port in use) raises ConflictError and an input created by this call is deleted
again. TimeoutError after timeoutMs.
Builds a GELF transport from the configuration (default protocol: config.gelfProtocol).
One input: GET /api/system/inputs/{id}; NotFoundError when unknown.
Runtime state of an input: GET /api/system/inputstates/{id}.
One stored message: GET /api/messages/{index}/{id}; NotFoundError when unknown.
One stream: GET /api/streams/{id}; NotFoundError when unknown.
Unauthenticated liveness: GET /api/system/lbstatus. ALIVE → healthy ok, 429
THROTTLED → degraded, 503 DEAD → unhealthy. Never throws for an unhealthy or
unreachable service (only CANCELLED and CONFIG).
Every indexed field name: GET /api/system/fields.
Every index set: GET /api/system/indices/index_sets?skip_stats=true.
Every configured input: GET /api/system/inputs.
Installed input types, class name → human name: GET /api/system/inputs/types.
One page of streams: GET /api/streams/paginated.
A batching LogClient that sends through GELF (udp, tcp, http) or OTLP/gRPC
(otlp). Closed (flushed) by close.
A GraylogLogQueryClient (search, polling tail, streams, fields).
Authenticated round trip: GET /api/system. Returns the latency in milliseconds.
Starts (resumes) a paused stream: POST /api/streams/{id}/resume.
Searches messages with a Lucene query (POST /api/views/search/sync). Query errors (HTTP 200
with errors) raise ValidationError. An empty query matches everything.
search over the last seconds seconds (relative range).
Server version as reported by GET /api/system, e.g. 7.0.16+58e0f6e.
Node and cluster information: GET /api/system.
StaticfromBuilds a client from GROW_GRAYLOG_* (and vendor) environment variables.
Client for Graylog Open: health, REST admin (inputs, streams, index sets), search, and log clients that send through GELF (UDP, TCP, HTTP) or OTLP/gRPC.