All Classes and Interfaces
Class
Description
Normalises attribute values (
AttrValue) into the kinds the SDK accepts.Missing or invalid credentials (HTTP 401).
Builder for
BatchingLogClient.Options of a
BatchProcessor.Builder for
BatchOptions.Queues log records and exports them in batches from one background thread (a single-threaded
ScheduledExecutorService).Counters of a
BatchProcessor.The caller cancelled the operation (future cancelled, thread interrupted, client closed).
Invalid or missing configuration.
Conflicting write or check-and-set mismatch (HTTP 409, 412).
The operations of one scenario category (
core, secrets, logging,
tracing) for the ConformanceRunner.Results of a conformance run.
Result of one scenario.
Outcome of a scenario or step.
Result of one step.
Runs the shared conformance scenarios (
conformance/scenarios/*.json, SPEC section 6)
against targets supplied by a service's integration test.Builder for
ConformanceRunner.Conformance operations of the
core category: health, ping,
serverVersion, close.A target of the
core conformance category that is not the service client: a fake for unit
tests of the runner, or an adapter for a client whose core methods differ.Options of
GraylogClient.createStream(CreateStreamOptions); title is required.Builder of
CreateStreamOptions.What
BatchProcessor.add(codes.grow.packages.graylog.logging.LogRecord) does when the queue is full.Why records were dropped (argument of
BatchOptions.Builder.onDrop).Builder of
EnsureGelfInputOptions.Reads configuration from environment variables (SPEC section 2.2).
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
Service hook that replaces the error
HttpTransport derived from a failed response, for
vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says
the request will never succeed).Evaluates the
expect object of a scenario step (SPEC section 6).GELF 1.1 helpers shared by every transport: syslog level mapping, additional field key and value
rules (identical in all five languages) and the timestamp format.
Payload compression of the GELF UDP transport (applied before chunking).
GELF over HTTP: posts messages to a GELF HTTP input (
202 Accepted).Builder of a
GelfHttpTransport.The
LogExporter of the logging category over GELF: converts records with GelfMessage.fromLogRecord(LogRecord, String) and sends them through a GelfTransport.One immutable GELF 1.1 message.
Builder of a
GelfMessage.Ingest protocol of a Graylog log client.
Per-call options of
GelfTransport.send(java.util.List, GelfSendOptions).GELF over TCP: NUL-terminated JSON frames over one long-lived connection (input option
use_null_delimiter).Builder of a
GelfTcpTransport.Sends GELF messages to a Graylog input.
Tunes the transport built by
GraylogClient.gelfTransport(GelfProtocol, GelfTransportOptions).Builder of
GelfTransportOptions.Fire-and-forget GELF over UDP: one datagram per message, compressed (gzip by default) and split
into at most 128 chunks.
Builder of a
GelfUdpTransport.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.
Builder that configures and creates a client in one chain.
Immutable configuration of a
GraylogClient (SPEC section 2.2).Builder of the configuration.
Base class of every error raised by the Graylog Open SDK (SPEC section 2.1).
A Graylog message input.
Options of
GraylogClient.logClient(GraylogLogClientOptions): the batching options plus
the transport choice.Builder of
GraylogLogClientOptions.The
LogQueryClient of the logging category on top of Graylog's Views search API.One search hit or stored message.
Normalises stored Graylog messages into
LogRecords (the read-back mapping).A Graylog stream.
java.util.logging handler that forwards records to a LogClient.Log4j 2 appender plugin (
<GrowLog name="grow"/>) that forwards events to a LogClient (Log4j is an optional, provided dependency).Logback appender that forwards events to a
LogClient (Logback is an optional,
provided dependency).Implements the
health() contract (SPEC section 2.4): never throws for an unhealthy or
unreachable service, only for CancelledException and ConfigException.Result of
health() (SPEC section 2.4).Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Data passed to
Hooks.onError(codes.grow.packages.graylog.core.Hooks.ErrorInfo).The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on
HttpClient.A Graylog index set.
LogExporter that keeps every accepted record in memory.LogQueryClient over in-memory records (usually InMemoryLogExporter.records()).Runtime state of an input (
GET /api/system/inputstates/{id}).Graylog input type classes used by the admin helpers.
Shared Jackson configuration of the SDK.
JUnit 5 adapter: one dynamic test per scenario.
Options of
GraylogClient.listStreams(ListStreamsOptions).Sends log records to the service in the background.
Sends batches of log records to the service.
Minimal logger used by the transport (SPEC section 2.5).
Small logging facade on top of a
LogClient.Conformance operations of the
logging category: send, sendBatch,
flush, searchUntil, stats.Target of the
logging conformance scenarios: the client that sends and the (optional)
query client that reads back.Short form of a log record: a message plus optional severity, attributes, timestamp and trace
ids.
Builder for
LogInput.Reads logs back from the service.
One immutable log record in the normalized SDK form (OpenTelemetry log data model).
Builder for
LogRecord.Converts
LogRecord to and from the normalized JSON wire form (
spec/schemas/log-record.schema.json).Builder of
MessageSearchOptions.One page of
GraylogClient.search(String, MessageSearchOptions).The record does not exist (HTTP 404).
Executes one scenario step and returns its result (or an
OpResult).A step result with optional extra views for the expectations
count and tree.OTLP logs wire helpers for the Graylog OpenTelemetry (gRPC) input: a small hand-written protobuf
encoder for
ExportLogsServiceRequest, the partial-success decoder and the gRPC status
mapping.Partial success of an
ExportLogsServiceResponse.The
LogExporter for the Graylog OpenTelemetry (gRPC) input (
org.graylog.inputs.otel.OTelGrpcInput): OTLP LogsService/Export over gRPC (plaintext
HTTP/2 for http://, TLS for https://), gzip when the batch asks for it.Builder of an
OtlpGrpcLogExporter.The credentials lack a permission (HTTP 403).
Generic polling helper (
pollUntil): used by waitForLog, waitForTrace and
service waiters.The service rate-limited the call (HTTP 429); see
GraylogException.retryAfter().Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
Redacts log records before they are queued.
Builder for
RedactionProcessor.Retry settings with full-jitter exponential backoff (SPEC section 2.3).
Builder for
RetryPolicy.A parsed conformance scenario (
conformance/scenarios/*.json).One step of a scenario.
Package identity used in the
User-Agent header.Options of
LogQueryClient.search(java.lang.String, codes.grow.packages.graylog.logging.SearchOptions): time range, limit (default 100), order, cursor.Builder for
SearchOptions.One sort key of
GraylogClient.search(String, MessageSearchOptions).A credential held in a
char[] that never prints itself.Log severity with the OpenTelemetry severity numbers.
Everything an
OpHandler needs for one step.One page of streams.
One rule of a stream.
Node information from
GET /api/system.Creates the object a scenario runs against (client, provider, log client, tracing handle).
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify.Builder for
TlsOptions.Settings of one
HttpTransport.Builder for
TransportConfig.One logical HTTP call executed by
HttpTransport (with retries).Builder for
TransportRequest.A response returned by
HttpTransport (2xx or an accepted status).Network error or HTTP 500, 502, 503.
The service or deployment does not offer this capability (HTTP 501).
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).