Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptAnyStatus() - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Returns every status to the caller (health probes); no status is retried.
- accepted() - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Returns the value of the
acceptedrecord component. - accepts(int) - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns whether a non-2xx status is returned to the caller instead of raising an error.
- acceptStatus(int...) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Returns these statuses to the caller instead of raising an error (no retries for them).
- add(LogRecord) - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Queues a record.
- addKeys(String...) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor.Builder
-
Adds key fragments to the current list.
- apiToken() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the Graylog access token.
- apiToken(Secret) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the Graylog access token.
- apiToken(Secret) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the Graylog access token (wins over username/password).
- apiToken(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the Graylog access token.
- apiToken(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the Graylog access token (wins over username/password).
- append(ILoggingEvent) - Method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
- append(LogEvent) - Method in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
- arg(String) - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns a required string argument.
- args() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns the value of the
argsrecord component. - args() - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns the arguments with
${...}variables substituted (#{i}is kept). - asc(String) - Static method in record class codes.grow.packages.graylog.SearchSort
-
Ascending sort on
field. - ASC - Enum constant in enum class codes.grow.packages.graylog.logging.SortOrder
-
Oldest first (
"asc"). - asSdkException(Throwable, String) - Static method in class codes.grow.packages.graylog.core.HttpTransport
-
Converts any throwable from a future into the matching SDK exception.
- assertPassed() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Throws when any scenario failed.
- attempt() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
attemptrecord component. - attempts() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the number of attempts the call needed.
- attribute(String, Object) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Adds an attribute.
- attribute(String, Object) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Adds one attribute.
- attributes() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
attributesrecord component. - attributes() - Method in class codes.grow.packages.graylog.logging.Logger
-
Fixed attributes (including
logger.name). - attributes() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Attributes.
- attributes() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Replaces the attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Replaces all attributes.
- AttrValues - Class in codes.grow.packages.graylog.logging
-
Normalises attribute values (
AttrValue) into the kinds the SDK accepts. - AUTHENTICATION - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 401: missing or invalid credentials.
- AuthenticationException - Exception Class in codes.grow.packages.graylog.core
-
Missing or invalid credentials (HTTP 401).
- AuthenticationException(String) - Constructor for exception class codes.grow.packages.graylog.core.AuthenticationException
-
Creates the exception.
- AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.AuthenticationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.AuthenticationException
-
Creates the exception with response details.
- AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.AuthenticationException
-
Creates the exception with a cause.
- await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.graylog.core.HttpTransport
-
Waits for a future of this SDK: an interrupt cancels the future and raises
CancelledException.
B
- backoff(int) - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Computes the full-jitter backoff for retry
n. - backoffCap(int) - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the upper bound of the jitter window for retry
n. - baseUrl() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the base URL.
- basicAuth(String, Secret) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets HTTP Basic credentials.
- basicAuth(String, String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets HTTP Basic credentials.
- basicAuth(String, String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets HTTP Basic credentials.
- BatchingLogClient - Class in codes.grow.packages.graylog.logging
- BatchingLogClient.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
BatchingLogClient. - batchOptions() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the batching options.
- batchOptions() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the
batchOptionsobject of a logging scenario. - batchOptions(BatchOptions) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the batching options.
- batchOptions(BatchOptions) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient.Builder
-
Sets the batch options.
- batchOptions(Scenario, BatchOptions) - Static method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Applies a scenario's
batchOptions(maxQueueSize,maxBatchSize,maxBatchBytes,flushIntervalMs,exportTimeoutMs,dropPolicy,gzip) on top ofbase; factories call this when building the client. - BatchOptions - Class in codes.grow.packages.graylog.logging
-
Options of a
BatchProcessor. - BatchOptions.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
BatchOptions. - BatchProcessor - Class in codes.grow.packages.graylog.logging
-
Queues log records and exports them in batches from one background thread (a single-threaded
ScheduledExecutorService). - BatchProcessor(LogExporter) - Constructor for class codes.grow.packages.graylog.logging.BatchProcessor
-
Creates a processor with default options.
- BatchProcessor(LogExporter, BatchOptions) - Constructor for class codes.grow.packages.graylog.logging.BatchProcessor
-
Creates a processor and starts its worker thread.
- batchSizes() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Sizes of all export calls.
- BatchStats - Record Class in codes.grow.packages.graylog.logging
-
Counters of a
BatchProcessor. - BatchStats(long, long, long, long, long) - Constructor for record class codes.grow.packages.graylog.logging.BatchStats
-
Creates an instance of a
BatchStatsrecord class. - bearerToken() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the OTLP input's bearer token.
- bearerToken(Secret) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the OTLP input's bearer token.
- bearerToken(Secret) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Sets the input's bearer token (sent as
authorization: Bearer <token>). - bindAddress() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns the bind address (default
0.0.0.0). - bindAddress() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the
bind_addressattribute. - bindAddress(String) - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Sets the bind address; an existing input matches when its bind address equals it.
- BLOCK - Enum constant in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Block the caller until there is room (
"block"); never drops for a full queue (an interrupted caller drops its record withDropReason.QUEUE_FULL). - body() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Message; structured bodies are JSON-encoded strings.
- body(byte[], String) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Sets a raw body.
- body(String) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the message.
- bool(String, String...) - Method in class codes.grow.packages.graylog.core.EnvReader
-
Reads a boolean (
true/false/1/0/yes/no/on/off, case-insensitive). - build() - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Validates and builds the policy.
- build() - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Builds the configuration.
- build() - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Builds the request.
- build() - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Builds the options (validated by the create call).
- build() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Validates and builds the transport.
- build() - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Validates and builds the message.
- build() - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Validates and builds the transport; the connection opens on first use.
- build() - Method in class codes.grow.packages.graylog.GelfTransportOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.graylog.GelfUdpTransport.Builder
-
Validates and builds the transport; the socket opens on first use.
- build() - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Builds the configuration and the client.
- build() - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Builds and validates the configuration.
- build() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient.Builder
-
Builds the client and starts its worker thread.
- build() - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Validates and builds the options.
- build() - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Builds the input.
- build() - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Builds the record.
- build() - Method in class codes.grow.packages.graylog.logging.RedactionProcessor.Builder
-
Builds the processor.
- build() - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Builds the options (validated by the search call).
- build() - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Validates and builds the exporter; the connection opens on first export.
- build() - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Builds the runner.
- builder() - Static method in class codes.grow.packages.graylog.core.RetryPolicy
-
Starts a builder with the defaults.
- builder() - Static method in class codes.grow.packages.graylog.core.TlsOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.graylog.GelfTransportOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.graylog.GraylogClient
-
Starts a client builder.
- builder() - Static method in class codes.grow.packages.graylog.GraylogConfig
-
Starts an empty builder (every field at its default).
- builder() - Static method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.graylog.logging.BatchOptions
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.graylog.logging.LogRecord
-
Returns a new builder.
- builder() - Static method in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.graylog.logging.SearchOptions
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.graylog.MessageSearchOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Starts a builder with
CoreOpsand the built-in category operations registered. - builder(LogExporter) - Static method in class codes.grow.packages.graylog.logging.BatchingLogClient
-
Returns a builder.
- builder(String) - Static method in class codes.grow.packages.graylog.core.TransportConfig
-
Starts a builder with the SPEC defaults.
- builder(String) - Static method in class codes.grow.packages.graylog.CreateStreamOptions
-
Starts a builder.
- builder(String) - Static method in class codes.grow.packages.graylog.GelfHttpTransport
-
Starts a builder.
- builder(String) - Static method in class codes.grow.packages.graylog.GelfTcpTransport
-
Starts a builder.
- builder(String) - Static method in class codes.grow.packages.graylog.GelfUdpTransport
-
Starts a builder.
- builder(String) - Static method in class codes.grow.packages.graylog.logging.LogInput
-
Returns a builder for
message. - builder(String) - Static method in class codes.grow.packages.graylog.OtlpGrpcLogExporter
-
Starts a builder.
- builder(String, String) - Static method in class codes.grow.packages.graylog.core.TransportRequest
-
Starts a request.
- builder(String, String) - Static method in class codes.grow.packages.graylog.GelfMessage
-
Starts a builder;
hostandshortMessageare required (non-blank). - bulk() - Method in class codes.grow.packages.graylog.GelfTransportOptions
-
Returns whether HTTP batches are sent as one body.
- bulk() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns whether HTTP batches are one body.
- bulk(boolean) - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Turns bulk bodies on or off (default on).
- bulk(boolean) - Method in class codes.grow.packages.graylog.GelfTransportOptions.Builder
-
Turns HTTP bulk bodies on or off (default on).
- bulk(boolean) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Turns HTTP bulk bodies on or off (default on).
- byteSize(LogRecord) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Returns the UTF-8 size of the record's JSON form (the unit of
maxBatchBytes).
C
- caCertPath() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns the CA bundle path.
- caCertPath(Path) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Trusts the CA certificates in a PEM file instead of the system trust store.
- caCertPem() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns the inline CA bundle.
- caCertPem(String) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Trusts the CA certificates in inline PEM text.
- CANCELLED - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
The caller cancelled the operation.
- CancelledException - Exception Class in codes.grow.packages.graylog.core
-
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
- CancelledException(String) - Constructor for exception class codes.grow.packages.graylog.core.CancelledException
-
Creates the exception.
- CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.CancelledException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.CancelledException
-
Creates the exception with response details.
- CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.CancelledException
-
Creates the exception with a cause.
- capabilities(String...) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Declares capabilities of the target (
write,delete,versions,query,version, ...). - category() - Method in interface codes.grow.packages.graylog.testing.ConformanceOps
-
Returns the category these operations serve.
- category() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.graylog.testing.CoreOps
- category() - Method in class codes.grow.packages.graylog.testing.logging.LoggingOps
- category() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
categoryrecord component. - check(HttpTransport, String) - Static method in class codes.grow.packages.graylog.core.HealthCheck
-
Probes an endpoint once (no retries) and maps the outcome to a
HealthStatus. - check(JsonNode, Object, Throwable) - Static method in class codes.grow.packages.graylog.testing.Expectations
-
Checks a step outcome.
- checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.graylog.core.HealthCheck
-
Asynchronous variant of
HealthCheck.check(codes.grow.packages.graylog.core.HttpTransport, java.lang.String). - child(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Returns a logger with more fixed attributes (they win over the parent's).
- CHUNK_HEADER_SIZE - Static variable in class codes.grow.packages.graylog.GelfUdpTransport
-
Chunk header size: magic
0x1e 0x0f(2), message id (8), sequence (1), count (1). - chunkSize() - Method in class codes.grow.packages.graylog.GelfTransportOptions
-
Returns the UDP chunk size.
- chunkSize() - Method in class codes.grow.packages.graylog.GelfUdpTransport
-
Returns the datagram size including the chunk header.
- chunkSize() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the UDP chunk size.
- chunkSize(int) - Method in class codes.grow.packages.graylog.GelfTransportOptions.Builder
-
Sets the UDP chunk size (default 1420).
- chunkSize(int) - Method in class codes.grow.packages.graylog.GelfUdpTransport.Builder
-
Sets the datagram size including the 12-byte chunk header (default 1420).
- chunkSize(int) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the UDP chunk size (default 1420).
- clear() - Method in class codes.grow.packages.graylog.core.Secret
-
Overwrites the characters with zeros; later
Secret.reveal()calls throw. - client() - Method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Returns the value of the
clientrecord component. - clientCertPath() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns the client certificate path.
- clientCertPath(Path) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Sets the client certificate file (mutual TLS); requires a key.
- clientCertPem(String) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Sets the client certificate as inline PEM.
- clientKeyPath() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns the client key path.
- clientKeyPath(Path) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Sets the client key file (unencrypted PKCS#8 PEM).
- clientKeyPem(Secret) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Sets the client key as inline PEM.
- clock() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the clock used for
Retry-Afterdates. - clock(Clock) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the clock (tests).
- clock(Clock) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient.Builder
-
Sets the clock used for default timestamps (tests).
- close() - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Cancels pending calls and releases the client.
- close() - Method in class codes.grow.packages.graylog.GelfHttpTransport
-
Releases connections.
- close() - Method in class codes.grow.packages.graylog.GelfTcpTransport
-
Closes the connection.
- close() - Method in interface codes.grow.packages.graylog.GelfTransport
-
Releases sockets.
- close() - Method in class codes.grow.packages.graylog.GelfUdpTransport
-
Closes the socket.
- close() - Method in class codes.grow.packages.graylog.GraylogClient
-
Flushes and closes the log clients created by this client, stops its tails and releases the connections.
- close() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- close() - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Same as
BatchProcessor.shutdown(). - close() - Method in class codes.grow.packages.graylog.logging.GrowJulHandler
- close() - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Flushes and shuts down; idempotent.
- close() - Method in interface codes.grow.packages.graylog.logging.TailHandle
-
Same as
TailHandle.stop(). - close() - Method in interface codes.grow.packages.graylog.testing.CoreTarget
-
Releases the target; idempotent.
- closeAsync() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- closeAsync() - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Asynchronous
LogClient.close(). - clusterId() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
clusterIdrecord component. - code() - Method in exception class codes.grow.packages.graylog.core.GraylogException
-
Returns the canonical error code.
- codename() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
codenamerecord component. - codes.grow.packages.graylog - package codes.grow.packages.graylog
-
Grow Codes SDK for Graylog Open.
- codes.grow.packages.graylog.core - package codes.grow.packages.graylog.core
- codes.grow.packages.graylog.logging - package codes.grow.packages.graylog.logging
- codes.grow.packages.graylog.testing - package codes.grow.packages.graylog.testing
- codes.grow.packages.graylog.testing.logging - package codes.grow.packages.graylog.testing.logging
- compression() - Method in class codes.grow.packages.graylog.GelfTransportOptions
-
Returns the UDP compression.
- compression() - Method in class codes.grow.packages.graylog.GelfUdpTransport
-
Returns the compression.
- compression() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the UDP compression.
- compression(GelfCompression) - Method in class codes.grow.packages.graylog.GelfTransportOptions.Builder
-
Sets the UDP compression (default gzip).
- compression(GelfCompression) - Method in class codes.grow.packages.graylog.GelfUdpTransport.Builder
-
Sets the compression (default gzip).
- compression(GelfCompression) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the UDP compression (default gzip).
- config() - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Returns the configuration.
- config() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the configuration.
- config(GraylogConfig) - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Uses the timeouts, retries, TLS, proxy, hooks and logger of
config(its URL, headers and credentials are ignored). - CONFIG - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
Invalid or missing configuration.
- ConfigException - Exception Class in codes.grow.packages.graylog.core
-
Invalid or missing configuration.
- ConfigException(String) - Constructor for exception class codes.grow.packages.graylog.core.ConfigException
-
Creates the exception.
- ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConfigException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConfigException
-
Creates the exception with response details.
- ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConfigException
-
Creates the exception with a cause.
- configuration() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns the configuration merged over the defaults of a new input.
- configuration(String, Object) - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Adds a configuration value merged over the defaults of a new input (e.g.
- CONFLICT - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 409, 412 or a check-and-set mismatch.
- ConflictException - Exception Class in codes.grow.packages.graylog.core
-
Conflicting write or check-and-set mismatch (HTTP 409, 412).
- ConflictException(String) - Constructor for exception class codes.grow.packages.graylog.core.ConflictException
-
Creates the exception.
- ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConflictException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConflictException
-
Creates the exception with response details.
- ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ConflictException
-
Creates the exception with a cause.
- ConformanceOps - Interface in codes.grow.packages.graylog.testing
-
The operations of one scenario category (
core,secrets,logging,tracing) for theConformanceRunner. - ConformanceReport - Record Class in codes.grow.packages.graylog.testing
-
Results of a conformance run.
- ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.graylog.testing.ConformanceReport
-
Creates a report; the list is copied.
- ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.graylog.testing
-
Result of one scenario.
- ConformanceReport.Status - Enum Class in codes.grow.packages.graylog.testing
-
Outcome of a scenario or step.
- ConformanceReport.StepResult - Record Class in codes.grow.packages.graylog.testing
-
Result of one step.
- ConformanceRunner - Class in codes.grow.packages.graylog.testing
-
Runs the shared conformance scenarios (
conformance/scenarios/*.json, SPEC section 6) against targets supplied by a service's integration test. - ConformanceRunner.Builder - Class in codes.grow.packages.graylog.testing
-
Builder for
ConformanceRunner. - connections() - Method in class codes.grow.packages.graylog.GelfTcpTransport
-
Returns the number of connections opened so far (diagnostics).
- connectTimeout() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the connection setup timeout.
- connectTimeout() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Sets the connect timeout (default 10 s).
- connectTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the connect timeout (default 10 s).
- connectTimeout(Duration) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Sets the connect timeout (default 10 s).
- contentType() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the body content type.
- CoreOps - Class in codes.grow.packages.graylog.testing
-
Conformance operations of the
corecategory:health,ping,serverVersion,close. - CoreOps() - Constructor for class codes.grow.packages.graylog.testing.CoreOps
-
Creates the operations.
- CoreTarget - Interface in codes.grow.packages.graylog.testing
-
A target of the
coreconformance 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. - count() - Method in class codes.grow.packages.graylog.testing.OpResult
-
Returns the explicit count.
- create(GraylogConfig) - Static method in class codes.grow.packages.graylog.GraylogClient
-
Creates a client.
- create(Scenario) - Method in interface codes.grow.packages.graylog.testing.TargetFactory
-
Creates or returns the target for one scenario.
- create(String, LogClient) - Static method in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
-
Creates an appender bound to
client(start it and add it to a configuration). - createAppender(String, Filter) - Static method in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
-
Plugin factory used by configuration files.
- created() - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Returns the value of the
createdrecord component. - createdAt() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
createdAtrecord component. - createInput(String, Map<String, ?>, CreateInputOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Creates an input of class
type(POST /api/system/inputs) and returns its id. - createInputAsync(String, Map<String, ?>, CreateInputOptions) - Method in class codes.grow.packages.graylog.GraylogClient
- CreateInputOptions - Record Class in codes.grow.packages.graylog
- CreateInputOptions(Optional<String>, Optional<String>) - Constructor for record class codes.grow.packages.graylog.CreateInputOptions
-
Normalises
nullto empty. - createStream(CreateStreamOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Creates a stream (
POST /api/streams) in the given (default: the default) index set and resumes it unlessstart(false)(Graylog creates streams paused). - createStreamAsync(CreateStreamOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.createStream(CreateStreamOptions). - CreateStreamOptions - Class in codes.grow.packages.graylog
-
Options of
GraylogClient.createStream(CreateStreamOptions);titleis required. - CreateStreamOptions.Builder - Class in codes.grow.packages.graylog
-
Builder of
CreateStreamOptions. - creatorUserId() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
creatorUserIdrecord component. - creatorUserId() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
creatorUserIdrecord component. - cursor() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Page cursor from a previous result.
- cursor(String) - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Sets the page cursor.
D
- debug(String) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at debug level without fields.
- debug(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, Object>) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at debug level.
- DEBUG - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 5.
- decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.graylog.core.Json
-
Decodes JSON bytes into a generic type.
- decode(byte[], Class<T>) - Static method in class codes.grow.packages.graylog.core.Json
-
Decodes JSON bytes into a type.
- decodePartialSuccess(byte[]) - Static method in class codes.grow.packages.graylog.Otlp
-
Decodes
ExportLogsServiceResponse.partial_success; zero values when absent or malformed. - deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.graylog.testing.Expectations
-
Deep JSON equality where objects in
expectedare matched as subsets and numbers compare by value (42 == 42.0). - DEFAULT_CHUNK_SIZE - Static variable in class codes.grow.packages.graylog.GelfUdpTransport
-
Default datagram size including the chunk header (fits a 1500-byte Ethernet MTU).
- DEFAULT_GELF_HTTP_PORT - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default GELF HTTP port (Graylog has no fixed one; 12202 is the common choice).
- DEFAULT_GELF_PORT - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default GELF UDP and TCP port.
- DEFAULT_GELF_PROTOCOL - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default GELF protocol.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.graylog.logging.TailOptions
-
The interval used when none is given.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
The interval used when none is given.
- DEFAULT_LIMIT - Static variable in class codes.grow.packages.graylog.MessageSearchOptions
-
Default page size.
- DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.graylog.core.RetryPolicy
-
Default maximum number of retries (so up to 4 attempts).
- DEFAULT_OTLP_GRPC_PORT - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default port of the OpenTelemetry (gRPC) input.
- DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Pause between repeated steps.
- DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.graylog.testing.ConformanceRunner
-
How long
listServicessteps are repeated until their expectation passes. - DEFAULT_PREFIX - Static variable in class codes.grow.packages.graylog.core.EnvReader
-
Prefix of every variable of this SDK.
- DEFAULT_PREFIX - Static variable in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Default value of
${prefix}. - DEFAULT_RANGE - Static variable in class codes.grow.packages.graylog.MessageSearchOptions
-
Default relative range when no range is given.
- DEFAULT_REDACT_KEYS - Static variable in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Default sensitive attribute name fragments (SPEC section 4).
- DEFAULT_REPLACEMENT - Static variable in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Default replacement text.
- DEFAULT_REQUESTED_BY - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default
X-Requested-Byvalue (Graylog requires it on every non-GET request). - DEFAULT_TAIL_INTERVAL - Static variable in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Default poll interval of
GraylogLogQueryClient.tail(String, Consumer)(Graylog has no streaming API). - DEFAULT_URL - Static variable in class codes.grow.packages.graylog.GraylogConfig
-
Default REST endpoint.
- DEFAULT_WINDOW - Static variable in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Default search window.
- defaults() - Static method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the default policy: 3 retries, 100 ms initial, 10 s max, multiplier 2, Retry-After up to 60 s.
- defaults() - Static method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns options without any customisation (system trust store).
- defaults() - Static method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns the defaults (generated title, global).
- defaults() - Static method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns the defaults.
- defaults() - Static method in record class codes.grow.packages.graylog.GelfSendOptions
-
Returns the defaults (transport compression).
- defaults() - Static method in class codes.grow.packages.graylog.GelfTransportOptions
-
Returns the defaults (gzip, chunk size 1420, bulk, no extra headers).
- defaults() - Static method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the defaults (configured protocol, default batching and redaction).
- defaults() - Static method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns the defaults (all streams, 1 h window).
- defaults() - Static method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the defaults (page 1, 50 per page, title ascending).
- defaults() - Static method in class codes.grow.packages.graylog.logging.BatchOptions
-
Returns the defaults.
- defaults() - Static method in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Returns a processor with the default keys, no patterns and
"[REDACTED]". - defaults() - Static method in class codes.grow.packages.graylog.logging.SearchOptions
-
Default options (no range, limit 100, newest first).
- defaults() - Static method in record class codes.grow.packages.graylog.logging.TailOptions
-
Defaults: from now, 1 s interval, errors ignored.
- defaults() - Static method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Defaults: 30 s timeout, 1 s interval, any record.
- defaults() - Static method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the defaults.
- defaultWindow() - Method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns the value of the
defaultWindowrecord component. - delete(String) - Static method in class codes.grow.packages.graylog.core.TransportRequest
-
Starts a DELETE request.
- deleteInput(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Deletes an input (
DELETE /api/system/inputs/{id}). - deleteInputAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.deleteInput(String). - deleteStream(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Deletes a stream (
DELETE /api/streams/{id}). - deleteStreamAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.deleteStream(String). - desc(String) - Static method in record class codes.grow.packages.graylog.SearchSort
-
Descending sort on
field. - DESC - Enum constant in enum class codes.grow.packages.graylog.logging.SortOrder
-
Newest first (
"desc", default). - describe() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns a one-line description.
- description() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns the description.
- description() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
descriptionrecord component. - description() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
descriptionrecord component. - description() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
descriptionrecord component. - description() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
descriptionrecord component. - description(String) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Sets the description.
- detailedMessage() - Method in record class codes.grow.packages.graylog.InputState
-
Returns the value of the
detailedMessagerecord component. - details() - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Returns the value of the
detailsrecord component. - disabled() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
disabledrecord component. - DROP_NEWEST - Enum constant in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Drop the record being added (
"drop_newest", default). - DROP_OLDEST - Enum constant in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Drop the oldest queued record to make room (
"drop_oldest"). - dropped() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns the value of the
droppedrecord component. - dropPolicy() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Queue-full behaviour (default
DropPolicy.DROP_NEWEST). - dropPolicy(DropPolicy) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the drop policy.
- DropPolicy - Enum Class in codes.grow.packages.graylog.logging
-
What
BatchProcessor.add(codes.grow.packages.graylog.logging.LogRecord)does when the queue is full. - DropReason - Enum Class in codes.grow.packages.graylog.logging
-
Why records were dropped (argument of
BatchOptions.Builder.onDrop). - duration() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the call duration including retries.
- duration(String, String...) - Method in class codes.grow.packages.graylog.core.EnvReader
-
Reads a duration (integer milliseconds or Go-style units such as
1m30s). - durationMs() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
durationMsrecord component. - dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.graylog.testing.JUnitConformance
-
Creates one dynamic test per selected scenario.
E
- encode() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the UTF-8 JSON bytes.
- encode(byte[], GelfCompression, int, byte[]) - Static method in class codes.grow.packages.graylog.GelfUdpTransport
-
Compresses
payloadand splits it into datagrams: one datagram when it fitschunkSize, else chunks0x1e 0x0f | id(8) | seq | count | data. - encode(Object) - Static method in class codes.grow.packages.graylog.core.Json
-
Encodes a value as UTF-8 JSON.
- encodeExportLogsRequest(List<LogRecord>) - Static method in class codes.grow.packages.graylog.Otlp
-
Encodes records as one
ExportLogsServiceRequest: oneResourceLogsper distinct resource (first-seen order) with oneScopeLogseach. - end() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Range end (exclusive).
- end() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the end of an absolute range.
- end(Instant) - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Sets the range end.
- end(Instant) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets the end of an absolute range (default now).
- endpoint() - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter
-
Returns the endpoint (scheme and authority).
- enqueueOutcome(Function<List<LogRecord>, CompletableFuture<ExportResult>>) - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Scripts the outcome of the next export call (FIFO).
- EnsuredInput - Record Class in codes.grow.packages.graylog
- EnsuredInput(GraylogInput, boolean) - Constructor for record class codes.grow.packages.graylog.EnsuredInput
-
Creates an instance of a
EnsuredInputrecord class. - ensureGelfInput(GelfProtocol, int, EnsureGelfInputOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns a running GELF input of
protocolonport: an existing input of the same type, port and bind address is reused, otherwise one is created. - ensureGelfInputAsync(GelfProtocol, int, EnsureGelfInputOptions) - Method in class codes.grow.packages.graylog.GraylogClient
- EnsureGelfInputOptions - Class in codes.grow.packages.graylog
- EnsureGelfInputOptions.Builder - Class in codes.grow.packages.graylog
-
Builder of
EnsureGelfInputOptions. - EnvReader - Class in codes.grow.packages.graylog.core
-
Reads configuration from environment variables (SPEC section 2.2).
- EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.graylog.core.EnvReader
-
Creates a reader over an explicit environment map.
- equals(Object) - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class codes.grow.packages.graylog.GelfMessage
- equals(Object) - Method in record class codes.grow.packages.graylog.GelfSendOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.GraylogInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.GraylogStream
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.IndexSet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.InputState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.ExportOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class codes.grow.packages.graylog.logging.LogRecord
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.SearchSort
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.StreamPage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.StreamRule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.SystemInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns the value of the
errorrecord component. - error() - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns the value of the
errorrecord component. - error() - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Returns the value of the
errorrecord component. - error(String) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at error level without fields.
- error(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, Object>) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at error level.
- ERROR - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 17.
- ErrorCode - Enum Class in codes.grow.packages.graylog.core
-
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
- errorForGrpcStatus(int, String) - Static method in class codes.grow.packages.graylog.Otlp
-
Maps a gRPC status to the SDK error: CANCELLED (1), INVALID_ARGUMENT/FAILED_PRECONDITION (3, 9) VALIDATION, DEADLINE_EXCEEDED (4) TIMEOUT, NOT_FOUND (5), ALREADY_EXISTS (6) CONFLICT, PERMISSION_DENIED (7), RESOURCE_EXHAUSTED (8) RATE_LIMITED, UNIMPLEMENTED (12) UNSUPPORTED, UNAUTHENTICATED (16) AUTHENTICATION; ABORTED, OUT_OF_RANGE, UNAVAILABLE and DATA_LOSS (10, 11, 14, 15) retryable UNAVAILABLE; anything else non-retryable UNAVAILABLE.
- ErrorInfo(String, String, GraylogException, int, boolean) - Constructor for record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Creates an instance of a
ErrorInforecord class. - errorMapper() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the service error mapper.
- errorMapper(ErrorMapper) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the service error mapper (see
ErrorMapper). - ErrorMapper - Interface in codes.grow.packages.graylog.core
-
Service hook that replaces the error
HttpTransportderived 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). - errorMessage() - Method in record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Returns the value of the
errorMessagerecord component. - errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.graylog.core.HttpTransport
-
Builds an error message
"<operation>: <reason> (HTTP <status>)"with redacted, truncated vendor text. - expect() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns the value of the
expectrecord component. - Expectations - Class in codes.grow.packages.graylog.testing
-
Evaluates the
expectobject of a scenario step (SPEC section 6). - explicitInterval() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
TailOptions.DEFAULT_INTERVAL). - explicitInterval() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
WaitForLogOptions.DEFAULT_INTERVAL). - export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.graylog.GelfLogExporter
-
Converts and sends records;
ExportOptions.gzip()is passed to the transport (only HTTP uses it). - export(List<LogRecord>, ExportOptions) - Method in interface codes.grow.packages.graylog.logging.LogExporter
-
Exports a batch.
- export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter
-
Sends records as one
ExportLogsServiceRequest. - export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
- EXPORT_FAILED - Enum constant in enum class codes.grow.packages.graylog.logging.DropReason
-
The exporter failed or rejected the records (
"export_failed"). - ExportOptions - Record Class in codes.grow.packages.graylog.logging
- ExportOptions(boolean, Duration) - Constructor for record class codes.grow.packages.graylog.logging.ExportOptions
-
Validates the options.
- ExportResult - Record Class in codes.grow.packages.graylog.logging
- ExportResult(int, int, Optional<GraylogException>) - Constructor for record class codes.grow.packages.graylog.logging.ExportResult
-
Validates the result.
- exportTimeout() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Time budget per export including retries; also the default flush/shutdown timeout (default 30 s).
- exportTimeout(Duration) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the export timeout.
F
- facility() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
facilityrecord component. - failed() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns the value of the
failedrecord component. - FAILED - Enum constant in enum class codes.grow.packages.graylog.testing.ConformanceReport.Status
-
An expectation failed or the step raised an unexpected error.
- failure(int, int, GraylogException) - Static method in record class codes.grow.packages.graylog.logging.ExportResult
-
Some or all records failed.
- fatal(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at FATAL.
- fatal(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at FATAL.
- FATAL - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 21.
- field() - Method in record class codes.grow.packages.graylog.SearchSort
-
Returns the value of the
fieldrecord component. - field() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
fieldrecord component. - field(String, Object) - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Sets an additional field (
nameor_name); the key is validated withGelf.validateFieldKey(java.lang.String), the value mapped withGelf.fieldValue(java.lang.Object). - fieldKey(String) - Static method in class codes.grow.packages.graylog.Gelf
-
Maps an attribute name to its GELF additional field key: a
_prefix, every character outside[A-Za-z0-9_.-]replaced by_, andid(reserved by GELF) mapped to_attr_id. - fields() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the additional fields (keys with the
_prefix), sorted. - fields() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns the value of the
fieldsrecord component. - fields() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the returned fields (empty = all; Graylog always adds
_id). - fields(String...) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Limits the returned fields.
- fields(Map<String, ?>) - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Sets several additional fields (see
GelfMessage.Builder.field(String, Object)), in key order. - fieldValue(Object) - Static method in class codes.grow.packages.graylog.Gelf
-
Maps an attribute value to its GELF form: strings and finite numbers unchanged, booleans to
"true"/"false"(Graylog drops JSON booleans), NaN/infinity to their text,Instantto ISO-8601 text, lists and maps to compact JSON strings. - flattenAttributes(Map<String, ?>) - Static method in class codes.grow.packages.graylog.Gelf
-
Flattens nested maps into dotted keys; lists and scalars are leaves.
- flush() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- flush() - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Exports everything queued now, waiting at most the export timeout.
- flush() - Method in class codes.grow.packages.graylog.logging.GrowJulHandler
- flush() - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Exports everything queued now, waiting at most the export timeout.
- flush(Duration) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- flush(Duration) - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Exports everything queued now.
- flush(Duration) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Exports everything queued now.
- flushAsync(Duration) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- flushAsync(Duration) - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Exports everything queued now, asynchronously.
- flushAsync(Duration) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Asynchronous
LogClient.flush(Duration). - flushInterval() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Interval of the background flush (default 1 s).
- flushInterval(Duration) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the background flush interval.
- forStatus(int) - Static method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Maps an HTTP status to its canonical code.
- frame(List<GelfMessage>) - Static method in class codes.grow.packages.graylog.GelfTcpTransport
-
Encodes messages as NUL-terminated JSON frames.
- from() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns the value of the
fromrecord component. - fromEnv() - Static method in class codes.grow.packages.graylog.GraylogClient
-
Creates a client from
GROW_GRAYLOG_*and vendor environment variables. - fromEnv() - Static method in class codes.grow.packages.graylog.GraylogConfig
-
Reads the configuration from the process environment.
- fromEnv(EnvReader) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Fills unset fields from an environment reader.
- fromEnv(EnvReader) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Fills every field that was not set explicitly from the environment.
- fromEnv(Map<String, String>) - Static method in class codes.grow.packages.graylog.GraylogConfig
-
Reads the configuration from an explicit variable map (tests).
- fromError(GraylogException) - Static method in class codes.grow.packages.graylog.core.HealthCheck
-
Maps a transport error to
unreachable. - fromJson(String) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Parses one record from JSON text.
- fromJsonNode(JsonNode) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Parses one record from a Jackson tree.
- fromLogRecord(LogRecord, String) - Static method in class codes.grow.packages.graylog.GelfMessage
-
Converts a log record with the mapping shared by all five languages: host =
resource["host.name"](elsedefaultHost, else the local host name); short_message = body ("-"when blank); timestamp (omitted forInstant.EPOCH); level =Gelf.severityToLevel(codes.grow.packages.graylog.logging.Severity); resource attributes flattened with dotted keys (excepthost.name), then the record attributes (they win), then_trace_id,_span_idand_trace_flags. - fromMessage(Map<String, ?>) - Static method in class codes.grow.packages.graylog.GraylogRecords
-
Normalises stored message fields (a search hit or
getMessage) into a log record. - fromNumber(int) - Static method in enum class codes.grow.packages.graylog.logging.Severity
-
Maps any OpenTelemetry severity number (1–24) to its severity range; 0 or less maps to
Severity.INFO(unspecified) and numbers above 24 toSeverity.FATAL. - fromResponse(TransportResponse) - Static method in class codes.grow.packages.graylog.core.HealthCheck
-
Maps a health response: 2xx is healthy; the word comes from a JSON
statusfield (ok/unhealthywhen absent); other string fields become details. - fullMessage() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns
full_message. - fullMessage(String) - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Sets a long message (for example a stack trace).
G
- gelf(GelfProtocol) - Static method in class codes.grow.packages.graylog.InputTypes
-
Returns the GELF input class of a protocol.
- Gelf - Class in codes.grow.packages.graylog
-
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.
- GELF_HTTP - Static variable in class codes.grow.packages.graylog.InputTypes
-
GELF HTTP input.
- GELF_TCP - Static variable in class codes.grow.packages.graylog.InputTypes
-
GELF TCP input.
- GELF_UDP - Static variable in class codes.grow.packages.graylog.InputTypes
-
GELF UDP input.
- GelfCompression - Enum Class in codes.grow.packages.graylog
-
Payload compression of the GELF UDP transport (applied before chunking).
- gelfHost() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the host of the GELF inputs: the configured value, else the host of
GraylogConfig.url(). - gelfHost(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the GELF host.
- gelfHost(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the host of the GELF inputs (default: the host of the URL).
- gelfHttpEndpoint() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the effective GELF HTTP URL:
GraylogConfig.gelfHttpUrl()when set, elsehttp(s)://<gelfHost>:<gelfPortFor(HTTP)>/gelf(https withGraylogConfig.gelfTls()). - GelfHttpTransport - Class in codes.grow.packages.graylog
-
GELF over HTTP: posts messages to a GELF HTTP input (
202 Accepted). - GelfHttpTransport.Builder - Class in codes.grow.packages.graylog
-
Builder of a
GelfHttpTransport. - gelfHttpUrl() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the explicitly configured GELF HTTP URL.
- gelfHttpUrl(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the GELF HTTP URL.
- gelfHttpUrl(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the full URL of the GELF HTTP input.
- GelfLogExporter - Class in codes.grow.packages.graylog
-
The
LogExporterof the logging category over GELF: converts records withGelfMessage.fromLogRecord(LogRecord, String)and sends them through aGelfTransport. - GelfLogExporter(GelfTransport, String) - Constructor for class codes.grow.packages.graylog.GelfLogExporter
-
Creates an exporter.
- GelfMessage - Class in codes.grow.packages.graylog
-
One immutable GELF 1.1 message.
- GelfMessage.Builder - Class in codes.grow.packages.graylog
-
Builder of a
GelfMessage. - gelfPort() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the explicitly configured GELF port.
- gelfPort(int) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the GELF port.
- gelfPort(int) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the GELF port (default 12201 for UDP/TCP, 12202 for HTTP).
- gelfPortFor(GelfProtocol) - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the GELF port used for
protocol: the configured port when set, else 12202 for HTTP and 12201 otherwise. - gelfProtocol() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the GELF protocol of new log clients (default TCP).
- gelfProtocol(GelfProtocol) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the GELF protocol.
- gelfProtocol(GelfProtocol) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the GELF protocol of new log clients (default TCP).
- GelfProtocol - Enum Class in codes.grow.packages.graylog
-
Ingest protocol of a Graylog log client.
- GelfSendOptions - Record Class in codes.grow.packages.graylog
-
Per-call options of
GelfTransport.send(java.util.List, GelfSendOptions). - GelfSendOptions(Optional<Boolean>) - Constructor for record class codes.grow.packages.graylog.GelfSendOptions
-
Normalises
nullto empty. - GelfSendResult - Record Class in codes.grow.packages.graylog
- GelfSendResult(int, int, Optional<GraylogException>) - Constructor for record class codes.grow.packages.graylog.GelfSendResult
-
Normalises
nullto empty. - GelfTcpTransport - Class in codes.grow.packages.graylog
-
GELF over TCP: NUL-terminated JSON frames over one long-lived connection (input option
use_null_delimiter). - GelfTcpTransport.Builder - Class in codes.grow.packages.graylog
-
Builder of a
GelfTcpTransport. - gelfTls() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns whether the GELF TCP transport uses TLS and the default GELF HTTP URL uses https.
- gelfTls(boolean) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Enables GELF TLS.
- gelfTls(boolean) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Enables TLS for the GELF TCP transport and https for the default GELF HTTP URL (using the TLS options of this configuration).
- gelfTransport(GelfProtocol) - Method in class codes.grow.packages.graylog.GraylogClient
-
Builds a GELF transport for
protocolwith the default options. - gelfTransport(GelfProtocol, GelfTransportOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Builds a GELF transport from the configuration for
protocol(null=GraylogConfig.gelfProtocol()): hostGraylogConfig.gelfHost(), portGraylogConfig.gelfPortFor(codes.grow.packages.graylog.GelfProtocol), HTTP URLGraylogConfig.gelfHttpEndpoint(), TLS for TCP withGraylogConfig.gelfTls(). - GelfTransport - Interface in codes.grow.packages.graylog
-
Sends GELF messages to a Graylog input.
- GelfTransportOptions - Class in codes.grow.packages.graylog
-
Tunes the transport built by
GraylogClient.gelfTransport(GelfProtocol, GelfTransportOptions). - GelfTransportOptions.Builder - Class in codes.grow.packages.graylog
-
Builder of
GelfTransportOptions. - GelfUdpTransport - Class in codes.grow.packages.graylog
-
Fire-and-forget GELF over UDP: one datagram per message, compressed (gzip by default) and split into at most 128 chunks.
- GelfUdpTransport.Builder - Class in codes.grow.packages.graylog
-
Builder of a
GelfUdpTransport. - get(String) - Static method in class codes.grow.packages.graylog.core.TransportRequest
-
Starts a GET request.
- getInput(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns one input (
GET /api/system/inputs/{id}). - getInputAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.getInput(String). - getInputState(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the runtime state of an input (
GET /api/system/inputstates/{id}). - getInputStateAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.getInputState(String). - getLogClient() - Method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Returns the destination.
- getMessage(String, String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns one stored message (
GET /api/messages/{index}/{id}); search hits carry both values (GraylogMessage.index(),GraylogMessage.id()). - getMessageAsync(String, String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.getMessage(String, String). - getStream(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns one stream (
GET /api/streams/{id}). - getStreamAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.getStream(String). - global() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
globalrecord component. - GraylogClient - Class in codes.grow.packages.graylog
-
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.
- GraylogClient.Builder - Class in codes.grow.packages.graylog
-
Builder that configures and creates a client in one chain.
- GraylogConfig - Class in codes.grow.packages.graylog
-
Immutable configuration of a
GraylogClient(SPEC section 2.2). - GraylogConfig.Builder - Class in codes.grow.packages.graylog
-
Builder of the configuration.
- GraylogException - Exception Class in codes.grow.packages.graylog.core
-
Base class of every error raised by the Graylog Open SDK (SPEC section 2.1).
- GraylogException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.GraylogException
-
Creates an exception.
- GraylogInput - Record Class in codes.grow.packages.graylog
-
A Graylog message input.
- GraylogInput(String, String, String, String, boolean, String, Optional<Instant>, String, Map<String, Object>, Map<String, String>) - Constructor for record class codes.grow.packages.graylog.GraylogInput
-
Creates an instance of a
GraylogInputrecord class. - GraylogLogClientOptions - Class in codes.grow.packages.graylog
-
Options of
GraylogClient.logClient(GraylogLogClientOptions): the batching options plus the transport choice. - GraylogLogClientOptions.Builder - Class in codes.grow.packages.graylog
-
Builder of
GraylogLogClientOptions. - GraylogLogQueryClient - Class in codes.grow.packages.graylog
-
The
LogQueryClientof the logging category on top of Graylog's Views search API. - GraylogLogQueryClientOptions - Record Class in codes.grow.packages.graylog
- GraylogLogQueryClientOptions(List<String>, Duration) - Constructor for record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Copies the list and applies the defaults.
- GraylogMessage - Record Class in codes.grow.packages.graylog
-
One search hit or stored message.
- GraylogMessage(String, String, Optional<Instant>, Map<String, Object>) - Constructor for record class codes.grow.packages.graylog.GraylogMessage
-
Normalises
nullvalues. - GraylogRecords - Class in codes.grow.packages.graylog
-
Normalises stored Graylog messages into
LogRecords (the read-back mapping). - GraylogStream - Record Class in codes.grow.packages.graylog
-
A Graylog stream.
- GraylogStream(String, String, String, List<StreamRule>, boolean, String, boolean, String, boolean, Optional<Instant>, String) - Constructor for record class codes.grow.packages.graylog.GraylogStream
-
Creates an instance of a
GraylogStreamrecord class. - GrowJulHandler - Class in codes.grow.packages.graylog.logging
-
java.util.logginghandler that forwards records to aLogClient. - GrowJulHandler(LogClient) - Constructor for class codes.grow.packages.graylog.logging.GrowJulHandler
-
Creates the handler.
- GrowLog4j2Appender - Class in codes.grow.packages.graylog.logging
-
Log4j 2 appender plugin (
<GrowLog name="grow"/>) that forwards events to aLogClient(Log4j is an optional,provideddependency). - GrowLogbackAppender - Class in codes.grow.packages.graylog.logging
-
Logback appender that forwards events to a
LogClient(Logback is an optional,provideddependency). - GrowLogbackAppender() - Constructor for class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Creates an appender without a client (set it with
GrowLogbackAppender.setLogClient(codes.grow.packages.graylog.logging.LogClient)). - GrowLogbackAppender(LogClient) - Constructor for class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Creates an appender for
client. - gzip() - Method in record class codes.grow.packages.graylog.GelfSendOptions
-
Returns the value of the
gziprecord component. - gzip() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Whether exports are gzipped (default true).
- gzip() - Method in record class codes.grow.packages.graylog.logging.ExportOptions
-
Returns the value of the
gziprecord component. - gzip(boolean) - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Turns gzip bodies on or off (default on).
- gzip(boolean) - Static method in record class codes.grow.packages.graylog.GelfSendOptions
-
Returns options that force gzip on or off.
- gzip(boolean) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Enables or disables gzip.
- GZIP - Enum constant in enum class codes.grow.packages.graylog.GelfCompression
-
gzip (magic
1f 8b), the default. - gzipFlags() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Gzip flags of all export calls.
H
- hashCode() - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Returns a hash code value for this object.
- hashCode() - Method in class codes.grow.packages.graylog.GelfMessage
- hashCode() - Method in record class codes.grow.packages.graylog.GelfSendOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.InputState
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.logging.ExportOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Returns a hash code value for this object.
- hashCode() - Method in class codes.grow.packages.graylog.logging.LogRecord
- hashCode() - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.SearchSort
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns a hash code value for this object.
- header(String) - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the first value of a header.
- header(String, String) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Sets a header.
- header(String, String) - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Adds a request header (for example the input's optional authorization header); sensitive values are redacted.
- header(String, String) - Method in class codes.grow.packages.graylog.GelfTransportOptions.Builder
-
Adds an HTTP header (for example the input's authorization header).
- header(String, String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Adds a header.
- header(String, String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Adds a header sent with every REST request.
- header(String, String) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Adds an HTTP header or OTLP gRPC metadata entry.
- header(String, String) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Adds a gRPC metadata entry.
- HEADER_REQUESTED_BY - Static variable in class codes.grow.packages.graylog.GraylogClient
-
Graylog's CSRF guard header, required on every non-GET request (HTTP 400 without it).
- headers() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns the value of the
headersrecord component. - headers() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the extra headers sent with every request.
- headers() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the request headers.
- headers() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the response headers (case-insensitive keys).
- headers() - Method in class codes.grow.packages.graylog.GelfTransportOptions
-
Returns the extra HTTP headers.
- headers() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the extra request headers.
- headers() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the extra HTTP headers or OTLP gRPC metadata.
- headers(Map<String, String>) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Adds headers sent with every request.
- headers(Map<String, String>) - Method in class codes.grow.packages.graylog.GelfHttpTransport.Builder
-
Adds request headers.
- headers(Map<String, String>) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Adds gRPC metadata entries.
- health() - Method in class codes.grow.packages.graylog.GraylogClient
-
Checks the unauthenticated load-balancer status (
GET /api/system/lbstatus,text/plain):ALIVE(200) is healthyok,THROTTLED(429)degraded,DEAD(503) or anything elseunhealthy, network errorsunreachable. - health() - Method in interface codes.grow.packages.graylog.testing.CoreTarget
-
Checks liveness; never throws for an unhealthy service.
- healthAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.health(). - HealthCheck - Class in codes.grow.packages.graylog.core
-
Implements the
health()contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only forCancelledExceptionandConfigException. - HealthStatus - Record Class in codes.grow.packages.graylog.core
-
Result of
health()(SPEC section 2.4). - HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.graylog.core.HealthStatus
-
Creates a status; details are copied.
- healthy() - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Returns the value of the
healthyrecord component. - hooks() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the hooks.
- hooks() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets hooks.
- hooks(Hooks) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets request hooks.
- Hooks - Interface in codes.grow.packages.graylog.core
-
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
- Hooks.ErrorInfo - Record Class in codes.grow.packages.graylog.core
-
Data passed to
Hooks.onError(codes.grow.packages.graylog.core.Hooks.ErrorInfo). - Hooks.RequestInfo - Record Class in codes.grow.packages.graylog.core
- Hooks.ResponseInfo - Record Class in codes.grow.packages.graylog.core
- host() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns
host. - host() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the GELF host of records without
resource["host.name"]. - host(String) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the GELF host of records without
resource["host.name"]. - hostname() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
hostnamerecord component. - HTTP - Enum constant in enum class codes.grow.packages.graylog.GelfProtocol
-
Messages posted to the GELF HTTP input (newline-terminated bulk bodies, gzip).
- httpStatus() - Method in exception class codes.grow.packages.graylog.core.GraylogException
-
Returns the HTTP status when the error came from a response.
- HttpTransport - Class in codes.grow.packages.graylog.core
-
The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on
HttpClient. - HttpTransport(TransportConfig) - Constructor for class codes.grow.packages.graylog.core.HttpTransport
-
Creates a transport.
I
- id() - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Returns the input id.
- id() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.InputState
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
idrecord component. - idempotent() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns whether the request may be replayed after an uncertain send.
- idempotent(boolean) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Marks the request idempotent (or not), overriding the method default.
- index() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns the value of the
indexrecord component. - index() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns the value of the
indexrecord component. - indexPrefix() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
indexPrefixrecord component. - IndexSet - Record Class in codes.grow.packages.graylog
-
A Graylog index set.
- IndexSet(String, String, String, String, boolean, boolean, int, int) - Constructor for record class codes.grow.packages.graylog.IndexSet
-
Creates an instance of a
IndexSetrecord class. - indexSetId() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns the target index set (empty = the default index set, else the first one).
- indexSetId() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
indexSetIdrecord component. - indexSetId(String) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Sets the target index set.
- info(String) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at info level without fields.
- info(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at INFO.
- info(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at INFO.
- info(String, Map<String, Object>) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at info level.
- INFO - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 9.
- initialBackoff() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the backoff cap for the first retry.
- initialBackoff(Duration) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Sets the backoff cap of the first retry.
- InMemoryLogExporter - Class in codes.grow.packages.graylog.testing.logging
-
LogExporterthat keeps every accepted record in memory. - InMemoryLogExporter() - Constructor for class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Creates an empty exporter.
- InMemoryLogQueryClient - Class in codes.grow.packages.graylog.testing.logging
-
LogQueryClientover in-memory records (usuallyInMemoryLogExporter.records()). - InMemoryLogQueryClient(InMemoryLogExporter) - Constructor for class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
-
Reads the records of an exporter.
- InMemoryLogQueryClient(Supplier<List<LogRecord>>) - Constructor for class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
-
Reads records from a supplier.
- input() - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Returns the value of the
inputrecord component. - input() - Method in record class codes.grow.packages.graylog.InputState
-
Returns the value of the
inputrecord component. - InputState - Record Class in codes.grow.packages.graylog
-
Runtime state of an input (
GET /api/system/inputstates/{id}). - InputState(String, String, Optional<Instant>, Optional<String>, GraylogInput) - Constructor for record class codes.grow.packages.graylog.InputState
-
Creates an instance of a
InputStaterecord class. - InputTypes - Class in codes.grow.packages.graylog
-
Graylog input type classes used by the admin helpers.
- insecureSkipVerify() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns whether certificate and host name verification is disabled (tests only).
- insecureSkipVerify(boolean) - Method in class codes.grow.packages.graylog.core.TlsOptions.Builder
-
Disables certificate and host name verification.
- install(LoggerContext, LogClient) - Static method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Creates, starts and attaches an appender named
"GROW"to the root logger. - integer(String, String...) - Method in class codes.grow.packages.graylog.core.EnvReader
-
Reads an integer.
- interval() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns the state poll interval (default 500 ms).
- interval() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns the value of the
intervalrecord component. - interval() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the value of the
intervalrecord component. - interval(Duration) - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Sets the state poll interval.
- intervalOr(Duration) - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - intervalOr(Duration) - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - inverted() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
invertedrecord component. - isCleared() - Method in class codes.grow.packages.graylog.core.Secret
-
Returns whether
Secret.clear()was called. - isClosed() - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Returns whether
HttpTransport.close()was called. - isClosed() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns whether
GraylogClient.close()was called. - isCustom() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns whether any option differs from the system defaults.
- isDefault() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
isDefaultrecord component. - isDefault() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
isDefaultrecord component. - isEmpty() - Method in class codes.grow.packages.graylog.core.Secret
-
Returns whether the value is empty.
- isEnabled(Severity) - Method in class codes.grow.packages.graylog.logging.Logger
-
Whether records of this severity are sent.
- isGelf() - Method in enum class codes.grow.packages.graylog.GelfProtocol
-
Returns whether this is a GELF transport (UDP, TCP or HTTP).
- isLeader() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
isLeaderrecord component. - isProcessing() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
isProcessingrecord component. - isSensitive(String) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Whether an attribute name matches one of the keys.
- isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
- isSensitiveHeader(String) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Returns whether a header name is sensitive (case-insensitive).
J
- json(TypeReference<T>) - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Decodes the JSON body into a generic type.
- json(Class<T>) - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Decodes the JSON body.
- json(Object) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Sets a JSON body encoded with Jackson.
- Json - Class in codes.grow.packages.graylog.core
-
Shared Jackson configuration of the SDK.
- jsonNode() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Parses the JSON body into a tree.
- JUnitConformance - Class in codes.grow.packages.graylog.testing
-
JUnit 5 adapter: one dynamic test per scenario.
K
- KEY - Static variable in class codes.grow.packages.graylog.core.SdkInfo
-
Catalog key of the service, e.g.
- keys(Collection<String>) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor.Builder
-
Replaces the sensitive key fragments.
- keyword() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the Graylog keyword range (e.g.
- keyword(String) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets a Graylog keyword range such as
"last five minutes". - knownSecrets() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the secret values removed from every error message, hook and log line.
- knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the supplier of secret values to redact from errors, hooks and logs.
L
- LANGUAGE - Static variable in class codes.grow.packages.graylog.core.SdkInfo
-
Language token in the
User-Agent. - lbStatus() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
lbStatusrecord component. - level() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the syslog level.
- level(int) - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Sets the syslog level.
- LEVEL_ALERT - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 1 (alert).
- LEVEL_CRITICAL - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 2 (critical).
- LEVEL_DEBUG - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 7 (debug).
- LEVEL_EMERGENCY - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 0 (emergency).
- LEVEL_ERROR - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 3 (error).
- LEVEL_INFORMATIONAL - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 6 (informational).
- LEVEL_NOTICE - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 5 (notice).
- LEVEL_WARNING - Static variable in class codes.grow.packages.graylog.Gelf
-
Syslog level 4 (warning).
- levelToSeverity(int) - Static method in class codes.grow.packages.graylog.Gelf
-
Maps a syslog level to a severity: 0–2 FATAL, 3 ERROR, 4 WARN, 5–6 INFO, 7 DEBUG (below 0 FATAL, above 7 DEBUG).
- lifecycle() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
lifecyclerecord component. - limit() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Maximum records per page.
- limit() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the page size.
- limit(int) - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Sets the page size.
- limit(int) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets the page size (default 100, at most 10 000).
- listFields() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns every indexed field name (
GET /api/system/fields), sorted. - listFieldsAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.listFields(). - listIndexSets() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns every index set (
GET /api/system/indices/index_sets?skip_stats=true). - listIndexSetsAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.listIndexSets(). - listInputs() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns every input (
GET /api/system/inputs). - listInputsAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.listInputs(). - listInputTypes() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the installed input types, class name to display name (
GET /api/system/inputs/types). - listInputTypesAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.listInputTypes(). - listLabels() - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Returns every indexed field name (
GET /api/system/fields), sorted. - listLabels() - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Lists the label or field names of the service.
- listLabels() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
- listLabelsAsync() - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
- listLabelsAsync() - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listLabels(). - listStreams() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the first page of streams (50, sorted by title).
- listStreams() - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Returns the titles of every stream (all pages), sorted.
- listStreams() - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Lists the log streams (indexes, streams, data sets) of the service.
- listStreams() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
- listStreams(ListStreamsOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns one page of streams (
GET /api/streams/paginated). - listStreamsAsync() - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
- listStreamsAsync() - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listStreams(). - listStreamsAsync(ListStreamsOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.listStreams(ListStreamsOptions). - ListStreamsOptions - Record Class in codes.grow.packages.graylog
-
Options of
GraylogClient.listStreams(ListStreamsOptions). - ListStreamsOptions(int, int, Optional<String>, String, SortOrder) - Constructor for record class codes.grow.packages.graylog.ListStreamsOptions
-
Applies the defaults to zero and
nullvalues. - log(Severity, String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs a message.
- logClient() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns a batching log client over the configured GELF protocol with default options.
- logClient(GraylogLogClientOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns a batching log client that sends through GELF (UDP, TCP, HTTP) or OTLP/gRPC (
GelfProtocol.OTLP, endpointGraylogConfig.otlpGrpcEndpoint()). - LogClient - Interface in codes.grow.packages.graylog.logging
-
Sends log records to the service in the background.
- logClientWithExporter(LogExporter, GraylogLogClientOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns a batching log client for any exporter (batching, resource and redaction from
options). - LogEntry - Interface in codes.grow.packages.graylog.logging
- LogExporter - Interface in codes.grow.packages.graylog.logging
-
Sends batches of log records to the service.
- logger() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the logger.
- logger() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the logger.
- logger() - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Returns a logger facade without a name.
- logger(Logger) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the logger (default silent).
- logger(String) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Returns a named logger facade.
- logger(String, Map<String, ?>) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Returns a named logger facade with fixed attributes.
- Logger - Class in codes.grow.packages.graylog.logging
-
Small logging facade on top of a
LogClient. - Logger - Interface in codes.grow.packages.graylog.core
-
Minimal logger used by the transport (SPEC section 2.5).
- Logger(LogClient, String, Map<String, ?>, Severity) - Constructor for class codes.grow.packages.graylog.logging.Logger
-
Creates a logger.
- LoggingOps - Class in codes.grow.packages.graylog.testing.logging
-
Conformance operations of the
loggingcategory:send,sendBatch,flush,searchUntil,stats. - LoggingOps() - Constructor for class codes.grow.packages.graylog.testing.logging.LoggingOps
-
Creates the operations.
- LoggingTarget - Record Class in codes.grow.packages.graylog.testing.logging
-
Target of the
loggingconformance scenarios: the client that sends and the (optional) query client that reads back. - LoggingTarget(LogClient, Optional<LogQueryClient>) - Constructor for record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Validates the target.
- LogInput - Class in codes.grow.packages.graylog.logging
-
Short form of a log record: a message plus optional severity, attributes, timestamp and trace ids.
- LogInput.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
LogInput. - logQueryClient() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the
GraylogLogQueryClientwith default options. - logQueryClient(GraylogLogQueryClientOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the
GraylogLogQueryClientof this client (search, polling tail, streams, fields). - LogQueryClient - Interface in codes.grow.packages.graylog.logging
-
Reads logs back from the service.
- LogRecord - Class in codes.grow.packages.graylog.logging
-
One immutable log record in the normalized SDK form (OpenTelemetry log data model).
- LogRecord.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
LogRecord. - LogRecordJson - Class in codes.grow.packages.graylog.logging
-
Converts
LogRecordto and from the normalized JSON wire form (spec/schemas/log-record.schema.json). - LOGS_EXPORT_PATH - Static variable in class codes.grow.packages.graylog.Otlp
-
gRPC method path of the OTLP logs service.
- LogSearchResult - Record Class in codes.grow.packages.graylog.logging
- LogSearchResult(List<LogRecord>, Optional<String>, OptionalLong) - Constructor for record class codes.grow.packages.graylog.logging.LogSearchResult
-
Copies the list and replaces
nulloptionals by empty ones.
M
- map(TransportResponse, GraylogException) - Method in interface codes.grow.packages.graylog.core.ErrorMapper
-
Maps a failed response.
- mapper() - Static method in class codes.grow.packages.graylog.core.Json
-
Returns the shared mapper.
- matches(String, LogRecord) - Static method in class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
-
Whether a record matches a query.
- matchingType() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns the matching type (
ANDorOR). - matchingType() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
matchingTyperecord component. - matchingType(String) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Sets the matching type:
AND(default, all rules) orOR. - MAX_CHUNKS - Static variable in class codes.grow.packages.graylog.GelfUdpTransport
-
GELF limit of chunks per message.
- MAX_LIMIT - Static variable in class codes.grow.packages.graylog.MessageSearchOptions
-
Largest page size (OpenSearch's default
max_result_window). - MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.graylog.core.Redaction
-
Maximum length of vendor error text kept in error messages.
- maxBackoff() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the upper bound of any backoff.
- maxBackoff(Duration) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Sets the upper bound of every backoff.
- maxBatchBytes() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Maximum UTF-8 JSON bytes per export (default 1 048 576).
- maxBatchBytes(int) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the batch byte limit.
- maxBatchSize() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Maximum records per export (default 512).
- maxBatchSize(int) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the batch size.
- maxExportRetries() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Export attempts repeated after a retryable failure (default 2).
- maxExportRetries(int) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets how often a batch is re-exported after a retryable failure.
- maxQueueSize() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Maximum number of queued records (default 2048).
- maxQueueSize(int) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the queue size.
- maxRetries() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the maximum number of retries after the first attempt.
- maxRetries() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the retry limit override.
- maxRetries(int) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Sets the maximum number of retries.
- maxRetries(int) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Overrides the retry limit for this call.
- maxRetryAfter() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the longest
Retry-Afterwait the client accepts. - maxRetryAfter(Duration) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Sets the longest accepted
Retry-After. - merge(Map<String, ?>...) - Static method in class codes.grow.packages.graylog.logging.AttrValues
-
Merges attribute maps; later maps win on key collisions.
- message() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Message.
- message() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns the value of the
messagerecord component. - messages() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns the value of the
messagesrecord component. - MessageSearchOptions - Class in codes.grow.packages.graylog
- MessageSearchOptions.Builder - Class in codes.grow.packages.graylog
-
Builder of
MessageSearchOptions. - MessageSearchResult - Record Class in codes.grow.packages.graylog
-
One page of
GraylogClient.search(String, MessageSearchOptions). - MessageSearchResult(List<GraylogMessage>, long, Optional<Instant>, Optional<Instant>, OptionalInt) - Constructor for record class codes.grow.packages.graylog.MessageSearchResult
-
Copies the list and normalises
nullvalues. - method() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
methodrecord component. - method() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the HTTP method.
- minSeverity() - Method in class codes.grow.packages.graylog.logging.Logger
-
Minimum severity.
- multiplier() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns the exponential growth factor.
- multiplier(double) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Sets the exponential growth factor.
N
- name() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
namerecord component. - name() - Method in class codes.grow.packages.graylog.logging.Logger
-
Logger name.
- NAME_ATTRIBUTE - Static variable in class codes.grow.packages.graylog.logging.Logger
-
Attribute that carries the logger name.
- nextCursor() - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Returns the value of the
nextCursorrecord component. - nextOffset() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns the value of the
nextOffsetrecord component. - node() - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns the value of the
noderecord component. - node() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
noderecord component. - nodeId() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
nodeIdrecord component. - none() - Static method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns a policy that never retries.
- NONE - Enum constant in enum class codes.grow.packages.graylog.GelfCompression
-
Plain JSON.
- NONE - Static variable in interface codes.grow.packages.graylog.core.ErrorMapper
-
Keeps the default error.
- NONE - Static variable in interface codes.grow.packages.graylog.core.Hooks
-
Hooks that do nothing.
- NOOP - Static variable in interface codes.grow.packages.graylog.core.Logger
-
A logger that discards everything.
- normalize(Object) - Static method in class codes.grow.packages.graylog.logging.AttrValues
-
Returns the normalised, deeply immutable form of
value. - normalizeMap(Map<?, ?>) - Static method in class codes.grow.packages.graylog.logging.AttrValues
-
Normalises every value of a map; keys become strings.
- NOT_FOUND - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 404 or a missing record.
- NotFoundException - Exception Class in codes.grow.packages.graylog.core
-
The record does not exist (HTTP 404).
- NotFoundException(String) - Constructor for exception class codes.grow.packages.graylog.core.NotFoundException
-
Creates the exception.
- NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.NotFoundException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.NotFoundException
-
Creates the exception with response details.
- NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.NotFoundException
-
Creates the exception with a cause.
- number() - Method in enum class codes.grow.packages.graylog.logging.Severity
-
Returns the OpenTelemetry severity number.
O
- observedTimestamp() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Time the SDK observed the record.
- observedTimestamp(Instant) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the observed time.
- of(char[]) - Static method in class codes.grow.packages.graylog.core.Secret
-
Wraps a copy of a character array; the caller may clear its own array afterwards.
- of(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Static method in exception class codes.grow.packages.graylog.core.GraylogException
-
Like
GraylogException.of(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code. - of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.graylog.core.GraylogException
-
Creates the subclass that matches
code. - of(LogClient, LogQueryClient) - Static method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Creates a target.
- of(Severity, String, Map<String, ?>) - Static method in class codes.grow.packages.graylog.logging.LogInput
-
Creates an input with a severity and attributes.
- of(Object) - Static method in class codes.grow.packages.graylog.testing.OpResult
-
Wraps a value.
- of(String) - Static method in class codes.grow.packages.graylog.core.Secret
-
Wraps a string value.
- of(String) - Static method in class codes.grow.packages.graylog.logging.LogInput
-
Creates an INFO input with no attributes.
- of(String, int, String) - Static method in record class codes.grow.packages.graylog.StreamRule
-
Creates a new rule.
- of(Throwable) - Static method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Returns the code of an SDK exception.
- of(Duration, Duration) - Static method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Options with a timeout and interval.
- of(List<LogRecord>) - Static method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
A single page without cursor or total.
- of(Map<String, String>) - Static method in class codes.grow.packages.graylog.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover an explicit map. - offset() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns how many matches to skip.
- offset(int) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets how many matches to skip (pagination).
- ofSent(int) - Static method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns a result where every message was sent.
- ok() - Static method in record class codes.grow.packages.graylog.core.HealthStatus
-
A healthy
okstatus without details. - onDrop() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Drop callback.
- onDrop(BiConsumer<List<LogRecord>, DropReason>) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the drop callback (exceptions it throws are ignored).
- onError() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Export error callback.
- onError() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns the value of the
onErrorrecord component. - onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.graylog.core.Hooks
-
Called when an attempt failed (network error, timeout or error status).
- onError(BiConsumer<Throwable, List<LogRecord>>) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the export error callback (exceptions it throws are ignored).
- only(String...) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Restricts the run to these scenario ids.
- onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.graylog.core.Hooks
-
Called before each attempt.
- onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.graylog.core.Hooks
-
Called when an attempt received a response (any status).
- op() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns the value of the
oprecord component. - op() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns the value of the
oprecord component. - op(String, String, OpHandler) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Registers one operation.
- operatingSystem() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
operatingSystemrecord component. - operation() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the operation name used in error messages.
- operation(String) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Sets the operation name used in error messages.
- OpHandler - Interface in codes.grow.packages.graylog.testing
-
Executes one scenario step and returns its result (or an
OpResult). - OpResult - Class in codes.grow.packages.graylog.testing
-
A step result with optional extra views for the expectations
countandtree. - ops() - Method in interface codes.grow.packages.graylog.testing.ConformanceOps
-
Returns the handlers by operation name.
- ops() - Method in class codes.grow.packages.graylog.testing.CoreOps
- ops() - Method in class codes.grow.packages.graylog.testing.logging.LoggingOps
- optArg(String) - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns an optional argument.
- options() - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Returns the options.
- options() - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
The options.
- order() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the value of the
orderrecord component. - order() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Order.
- order() - Method in record class codes.grow.packages.graylog.SearchSort
-
Returns the value of the
orderrecord component. - order(SortOrder) - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Sets the order.
- OTEL_GRPC - Static variable in class codes.grow.packages.graylog.InputTypes
-
OpenTelemetry (gRPC) input.
- Otlp - Class in codes.grow.packages.graylog
-
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. - OTLP - Enum constant in enum class codes.grow.packages.graylog.GelfProtocol
-
OTLP/gRPC to the Graylog OpenTelemetry input (not a GELF transport).
- Otlp.PartialSuccess - Record Class in codes.grow.packages.graylog
-
Partial success of an
ExportLogsServiceResponse. - otlpEndpoint() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the explicitly configured OTLP/gRPC endpoint.
- otlpEndpoint(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the OTLP/gRPC endpoint.
- otlpEndpoint(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the http(s) URL of the OpenTelemetry (gRPC) input (default
http://<gelfHost>:4317). - otlpGrpcEndpoint() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the effective OTLP/gRPC endpoint:
GraylogConfig.otlpEndpoint()when set, elsehttp://<gelfHost>:4317. - OtlpGrpcLogExporter - Class in codes.grow.packages.graylog
-
The
LogExporterfor the Graylog OpenTelemetry (gRPC) input (org.graylog.inputs.otel.OTelGrpcInput): OTLPLogsService/Exportover gRPC (plaintext HTTP/2 forhttp://, TLS forhttps://), gzip when the batch asks for it. - OtlpGrpcLogExporter.Builder - Class in codes.grow.packages.graylog
-
Builder of an
OtlpGrpcLogExporter.
P
- page() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the value of the
pagerecord component. - page() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns the value of the
pagerecord component. - page(int, int) - Static method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns options for one page.
- parse(JsonNode) - Static method in record class codes.grow.packages.graylog.testing.Scenario
-
Parses a scenario document.
- parse(String) - Static method in enum class codes.grow.packages.graylog.logging.Severity
-
Parses a severity text case-insensitively.
- parseBool(String) - Static method in class codes.grow.packages.graylog.core.EnvReader
-
Parses a boolean:
true/false/1/0/yes/no/on/off, case-insensitive. - parseDuration(String) - Static method in class codes.grow.packages.graylog.core.EnvReader
-
Parses a duration: integer milliseconds (
1500) or Go-style units (500ms,10s,2m,1h,1m30s). - parseGelf(String) - Static method in enum class codes.grow.packages.graylog.GelfProtocol
-
Parses a GELF protocol name (
udp,tcp,http; case-insensitive). - parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.graylog.core.RetryPolicy
-
Parses a vendor rate-limit reset header such as
X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least1000000000) or an HTTP-date. - parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.graylog.core.RetryPolicy
-
Parses a
Retry-Afterheader: delay seconds or an HTTP-date. - PartialSuccess(long, String) - Constructor for record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Creates an instance of a
PartialSuccessrecord class. - passed() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns whether no scenario failed.
- PASSED - Enum constant in enum class codes.grow.packages.graylog.testing.ConformanceReport.Status
-
Every expectation held.
- password() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the HTTP Basic password.
- path() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the path.
- pattern(Pattern) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor.Builder
-
Adds a pattern applied to the body and string attribute values.
- PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 403: the credentials lack a permission.
- PermissionDeniedException - Exception Class in codes.grow.packages.graylog.core
-
The credentials lack a permission (HTTP 403).
- PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.graylog.core.PermissionDeniedException
-
Creates the exception.
- PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.PermissionDeniedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.PermissionDeniedException
-
Creates the exception with response details.
- PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.PermissionDeniedException
-
Creates the exception with a cause.
- perPage() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the value of the
perPagerecord component. - perPage() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns the value of the
perPagerecord component. - ping() - Method in class codes.grow.packages.graylog.GraylogClient
-
Makes an authenticated round trip (
GET /api/system) and returns its latency. - ping() - Method in interface codes.grow.packages.graylog.testing.CoreTarget
-
Performs an authenticated round trip.
- pingAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.ping(). - PLUGIN_NAME - Static variable in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
-
Plugin element name in
log4j2.xml. - poll(String, Duration) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Repeats a failing step of
opuntil its expectation passes ortimeout(or the step'stimeoutMsargument) runs out, for eventually consistent backends. - Poll - Class in codes.grow.packages.graylog.core
-
Generic polling helper (
pollUntil): used bywaitForLog,waitForTraceand service waiters. - pollInterval(Duration) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Sets the pause between repeated steps (default
ConformanceRunner.DEFAULT_POLL_INTERVAL). - port() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the
portattribute. - port(int) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Sets the port (default 12201).
- port(int) - Method in class codes.grow.packages.graylog.GelfUdpTransport.Builder
-
Sets the port (default 12201).
- post(String) - Static method in class codes.grow.packages.graylog.core.TransportRequest
-
Starts a POST request.
- predicate() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the value of the
predicaterecord component. - prefix(String) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Sets the
${prefix}template (may contain${run}). - process(LogRecord) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Returns a redacted copy of the record.
- processor() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
-
The underlying processor.
- protocol() - Method in class codes.grow.packages.graylog.GelfHttpTransport
- protocol() - Method in class codes.grow.packages.graylog.GelfTcpTransport
- protocol() - Method in interface codes.grow.packages.graylog.GelfTransport
-
Returns the protocol (UDP, TCP or HTTP).
- protocol() - Method in class codes.grow.packages.graylog.GelfUdpTransport
- protocol() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the protocol (empty =
GraylogConfig.gelfProtocol()). - protocol(GelfProtocol) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the protocol: UDP, TCP, HTTP or OTLP (default: the configured GELF protocol).
- proxy() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the proxy URL.
- proxy() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the explicit proxy URL.
- proxy(String) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets an explicit HTTP proxy URL, e.g.
- proxy(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the proxy URL.
- proxy(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets an explicit proxy URL; environment proxies (
HTTPS_PROXY) are never used. - publish(LogRecord) - Method in class codes.grow.packages.graylog.logging.GrowJulHandler
- put(String) - Static method in class codes.grow.packages.graylog.core.TransportRequest
-
Starts a PUT request.
Q
- query() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the query parameters in insertion order.
- query() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the value of the
queryrecord component. - query() - Method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Returns the value of the
queryrecord component. - query(String, Object) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Adds a query parameter (repeatable).
- QUEUE_FULL - Enum constant in enum class codes.grow.packages.graylog.logging.DropReason
-
The queue was full (
"queue_full"). - queued() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns the value of the
queuedrecord component.
R
- random(RandomGenerator) - Method in class codes.grow.packages.graylog.core.RetryPolicy.Builder
-
Injects the random source used for jitter (tests).
- range() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the relative range ending now (sent in whole seconds, rounded up).
- range(Duration) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets a relative range ending now (default 300 s when no other range is given).
- RATE_LIMITED - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 429.
- RateLimitException - Exception Class in codes.grow.packages.graylog.core
-
The service rate-limited the call (HTTP 429); see
GraylogException.retryAfter(). - RateLimitException(String) - Constructor for exception class codes.grow.packages.graylog.core.RateLimitException
-
Creates the exception.
- RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.RateLimitException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.RateLimitException
-
Creates the exception with response details.
- RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.RateLimitException
-
Creates the exception with a cause.
- raw() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
rawrecord component. - reason() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
reasonrecord component. - records() - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Returns the value of the
recordsrecord component. - records() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Normalises every message into a log record.
- records() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Accepted records in export order.
- REDACTED - Static variable in class codes.grow.packages.graylog.core.Redaction
-
Replacement for every redacted value.
- redactFields(Map<String, ?>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Same as
Redaction.redactFields(Map, Collection)without extra keys. - redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Returns a deep copy of a structure with the values of sensitive keys replaced; recurses into nested maps and lists.
- redactHeaderLists(Map<String, List<String>>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Returns a copy of multi-valued headers with sensitive values replaced.
- redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Returns a copy of single-valued headers with sensitive values replaced.
- redaction() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the redaction processor (
nulldisables redaction). - redaction(RedactionProcessor) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the redaction processor (
nulldisables redaction). - redaction(RedactionProcessor) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient.Builder
-
Sets the redaction processor;
nulldisables redaction (not recommended). - Redaction - Class in codes.grow.packages.graylog.core
-
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
- RedactionProcessor - Class in codes.grow.packages.graylog.logging
-
Redacts log records before they are queued.
- RedactionProcessor.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
RedactionProcessor. - redactMap(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor
-
Redacts an attribute map (same rules as for record attributes).
- redactText(String, Collection<String>) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Replaces every occurrence of each known secret value (length 4 or more) with "[REDACTED]".
- redactUrl(String) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Redacts user-info passwords and the values of sensitive query parameters in a URL.
- register(ConformanceOps) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Registers (or overrides) operations of a category.
- register(AutoCloseable) - Method in class codes.grow.packages.graylog.GraylogClient
-
Registers a resource (log client, tail) closed with the client; closes it immediately when the client is already closed.
- rejected() - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns the value of the
rejectedrecord component. - rejected() - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Returns the value of the
rejectedrecord component. - rejectedLogRecords() - Method in record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Returns the value of the
rejectedLogRecordsrecord component. - removeMatchesFromDefaultStream() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns whether matches leave the default stream.
- removeMatchesFromDefaultStream() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
removeMatchesFromDefaultStreamrecord component. - removeMatchesFromDefaultStream(boolean) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Removes matches from the default stream.
- replacement(String) - Method in class codes.grow.packages.graylog.logging.RedactionProcessor.Builder
-
Sets the replacement text.
- replicas() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
replicasrecord component. - REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.graylog.core.HttpTransport
-
Response headers that carry a vendor request id, in lookup order.
- requestedBy() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the
X-Requested-Byvalue of non-GET requests. - requestedBy(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the
X-Requested-Byvalue (default "grow-codes-graylog"). - requestId() - Method in exception class codes.grow.packages.graylog.core.GraylogException
-
Returns the vendor request id header of the failed response.
- requestId() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
requestIdrecord component. - requestId() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the vendor request id header.
- RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Creates an instance of a
RequestInforecord class. - requestTimeout() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the per-attempt timeout.
- requestTimeout() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the per-attempt timeout (default 30 s).
- requires() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
requiresrecord component. - requires() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns the value of the
requiresrecord component. - reset() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Forgets stored records and statistics (scripted outcomes stay).
- resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Resolves a request path and query against the base URL.
- resource() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the resource attributes merged into every record.
- resource() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
-
Resource attributes added to every record.
- resource() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Resource attributes (
service.name,service.version, …). - resource(Map<String, ?>) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Sets the resource attributes (e.g.
- resource(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient.Builder
-
Sets the resource attributes (
service.name,service.version,deployment.environment,host.name, …). - resource(Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Replaces all resource attributes.
- RESOURCE_FIELDS - Static variable in class codes.grow.packages.graylog.GraylogRecords
-
Stored field names (dots become underscores in Graylog) mapped back to OpenTelemetry resource keys;
otel_resource_attributes_<k>uses the same table. - ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Creates an instance of a
ResponseInforecord class. - resumeStream(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Starts (resumes) a paused stream (
POST /api/streams/{id}/resume). - resumeStreamAsync(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.resumeStream(String). - retries() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns the value of the
retriesrecord component. - retry() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the retry policy.
- retry() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Sets the reconnect policy (default
RetryPolicy.defaults()). - retry(RetryPolicy) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the retry policy (default
RetryPolicy.defaults()). - retryable() - Method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Returns whether errors with this code are retryable by default.
- retryable() - Method in exception class codes.grow.packages.graylog.core.GraylogException
-
Returns whether retrying the same call may succeed.
- retryAfter() - Method in exception class codes.grow.packages.graylog.core.GraylogException
-
Returns the wait the server asked for (
Retry-After). - retryAfterHeaders() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset), parsed withRetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant). - retryAfterHeaders(String...) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Adds vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset). - retryBackoff() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Base delay before a repeated export, doubled per attempt (default 200 ms).
- retryBackoff(Duration) - Method in class codes.grow.packages.graylog.logging.BatchOptions.Builder
-
Sets the base retry delay (doubled per attempt).
- RetryPolicy - Class in codes.grow.packages.graylog.core
-
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
- RetryPolicy.Builder - Class in codes.grow.packages.graylog.core
-
Builder for
RetryPolicy. - reveal() - Method in class codes.grow.packages.graylog.core.Secret
-
Returns the credential as a string.
- revealChars() - Method in class codes.grow.packages.graylog.core.Secret
-
Returns a copy of the credential characters.
- rules() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns the rules.
- rules() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
rulesrecord component. - rules(StreamRule...) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Sets the rules.
- run() - Method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Runs every selected scenario.
- run(StepContext) - Method in interface codes.grow.packages.graylog.testing.OpHandler
-
Runs the step.
- runScenario(Scenario) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Runs one scenario.
S
- sameValue(Secret) - Method in class codes.grow.packages.graylog.core.Secret
-
Compares the values in constant time.
- save() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns the value of the
saverecord component. - scenario() - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns the running scenario.
- Scenario - Record Class in codes.grow.packages.graylog.testing
-
A parsed conformance scenario (
conformance/scenarios/*.json). - Scenario(String, String, String, List<String>, List<Scenario.Step>, JsonNode) - Constructor for record class codes.grow.packages.graylog.testing.Scenario
-
Creates a scenario; lists are copied.
- Scenario.Step - Record Class in codes.grow.packages.graylog.testing
-
One step of a scenario.
- scenarioDir(Path) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Reads scenarios from this directory instead of searching for
conformance/scenarios. - ScenarioResult(String, String, ConformanceReport.Status, String, List<ConformanceReport.StepResult>, long) - Constructor for record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Creates a result; the list is copied.
- scenarios() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns the value of the
scenariosrecord component. - scenarios() - Method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Returns the scenarios of the categories that have a target, sorted by id.
- SCOPE_NAME - Static variable in class codes.grow.packages.graylog.Otlp
-
Instrumentation scope name written into every export.
- SdkInfo - Class in codes.grow.packages.graylog.core
-
Package identity used in the
User-Agentheader. - search() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the value of the
searchrecord component. - search(String) - Method in class codes.grow.packages.graylog.GraylogClient
-
Searches the last 5 minutes with the default options.
- search(String) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Searches with default options (limit 100, newest first).
- search(String, SearchOptions) - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Returns normalized records (see
GraylogRecords.fromMessage(java.util.Map<java.lang.String, ?>)) matchingquerybetweenstartandend(defaults: end = now, start = end minus the default window), newest first by default, ties broken bygl2_message_id. - search(String, SearchOptions) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Searches records matching a service query (full text or the service's query language).
- search(String, SearchOptions) - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
- search(String, MessageSearchOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Runs a Lucene query through the Views search API (
POST /api/views/search/sync) and returns one page of messages. - searchAsync(String, SearchOptions) - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
- searchAsync(String, SearchOptions) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Asynchronous
LogQueryClient.search(String, SearchOptions). - searchAsync(String, MessageSearchOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.search(String, MessageSearchOptions). - SearchOptions - Class in codes.grow.packages.graylog.logging
-
Options of
LogQueryClient.search(java.lang.String, codes.grow.packages.graylog.logging.SearchOptions): time range, limit (default 100), order, cursor. - SearchOptions.Builder - Class in codes.grow.packages.graylog.logging
-
Builder for
SearchOptions. - searchRelative(String, Duration) - Method in class codes.grow.packages.graylog.GraylogClient
-
GraylogClient.searchRelative(String, Duration, MessageSearchOptions)with the default options. - searchRelative(String, Duration, MessageSearchOptions) - Method in class codes.grow.packages.graylog.GraylogClient
-
GraylogClient.search(String, MessageSearchOptions)over the lastrange(relative range, whole seconds rounded up); start, end and keyword ofoptionsmust be unset. - searchRelativeAsync(String, Duration, MessageSearchOptions) - Method in class codes.grow.packages.graylog.GraylogClient
- SearchSort - Record Class in codes.grow.packages.graylog
-
One sort key of
GraylogClient.search(String, MessageSearchOptions). - SearchSort(String, SortOrder) - Constructor for record class codes.grow.packages.graylog.SearchSort
-
Defaults the order to descending.
- Secret - Class in codes.grow.packages.graylog.core
-
A credential held in a
char[]that never prints itself. - secure() - Method in class codes.grow.packages.graylog.GelfTcpTransport
-
Returns whether the transport uses TLS.
- send(TransportRequest) - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Executes a request with retries and returns a 2xx (or accepted) response.
- send(LogEntry) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- send(LogEntry) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Enqueues one record or input.
- send(List<GelfMessage>) - Method in interface codes.grow.packages.graylog.GelfTransport
-
Sends with default options.
- send(List<GelfMessage>, GelfSendOptions) - Method in class codes.grow.packages.graylog.GelfHttpTransport
- send(List<GelfMessage>, GelfSendOptions) - Method in class codes.grow.packages.graylog.GelfTcpTransport
-
Writes all messages as NUL-terminated frames in one write, reconnecting when needed.
- send(List<GelfMessage>, GelfSendOptions) - Method in interface codes.grow.packages.graylog.GelfTransport
-
Delivers messages in order.
- send(List<GelfMessage>, GelfSendOptions) - Method in class codes.grow.packages.graylog.GelfUdpTransport
-
Writes every message as one or more datagrams.
- sendAsync(TransportRequest) - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Executes a request with retries asynchronously.
- sendAsync(List<GelfMessage>, GelfSendOptions) - Method in class codes.grow.packages.graylog.GelfHttpTransport
-
Posts the bodies one after another; the future fails with the first request error.
- sendAsync(List<GelfMessage>, GelfSendOptions) - Method in interface codes.grow.packages.graylog.GelfTransport
-
Asynchronous
GelfTransport.send(List, GelfSendOptions). - sendBatch(Collection<? extends LogEntry>) - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- sendBatch(Collection<? extends LogEntry>) - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Enqueues several records or inputs.
- sendJson(TransportRequest) - Method in class codes.grow.packages.graylog.core.HttpTransport
-
Convenience: sends a request and decodes the JSON body.
- sent() - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns the value of the
sentrecord component. - sent() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns the value of the
sentrecord component. - serverName(String) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Overrides the SNI / verification host name (default: the host).
- serverVersion() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the server version as reported by
GET /api/system, e.g. - serverVersion() - Method in interface codes.grow.packages.graylog.testing.CoreTarget
-
Returns the server version.
- serverVersionAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.serverVersion(). - serviceName(String) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Sets
${serviceName}(the tracing service name the factory configured). - setDefaultClient(LogClient) - Static method in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
-
Sets the client used by appenders created from configuration files.
- setLogClient(LogClient) - Method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Sets the destination.
- severity() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Severity (default INFO).
- severity() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Severity.
- severity(Severity) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Sets the severity.
- severity(Severity) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the severity; the severity text follows unless set explicitly.
- Severity - Enum Class in codes.grow.packages.graylog.logging
-
Log severity with the OpenTelemetry severity numbers.
- severityOf(Level) - Static method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
-
Maps a Logback level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.graylog.logging.GrowJulHandler
-
Maps a JUL level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.graylog.logging.GrowLog4j2Appender
-
Maps a Log4j level to a severity.
- severityText() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Severity text (
"TRACE"…"FATAL"or the vendor text). - severityText(String) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets a vendor severity text (defaults to the severity name).
- severityToLevel(Severity) - Static method in class codes.grow.packages.graylog.Gelf
-
Maps a severity to a syslog level: TRACE/DEBUG 7, INFO 6, WARN 4, ERROR 3, FATAL 2.
- shards() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
shardsrecord component. - shortMessage() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns
short_message. - shutdown() - Method in class codes.grow.packages.graylog.GelfLogExporter
-
Closes the transport.
- shutdown() - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker, waiting at most the export timeout.
- shutdown() - Method in interface codes.grow.packages.graylog.logging.LogExporter
-
Releases resources.
- shutdown() - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter
-
Releases connections and threads; later exports fail with
ConfigException. - shutdown() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
- shutdown(Duration) - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker.
- SHUTDOWN - Enum constant in enum class codes.grow.packages.graylog.logging.DropReason
-
The processor was shut down (
"shutdown"). - shutdownAsync(Duration) - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Asynchronous
BatchProcessor.shutdown(Duration). - shutdownCount() - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Number of
InMemoryLogExporter.shutdown()calls. - SKIPPED - Enum constant in enum class codes.grow.packages.graylog.testing.ConformanceReport.Status
-
A required capability was not declared.
- sort() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns the value of the
sortrecord component. - sort() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the sort keys (empty = timestamp descending).
- sort(SearchSort...) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets the sort keys; later keys break ties.
- SortOrder - Enum Class in codes.grow.packages.graylog.logging
- source(String, String...) - Method in class codes.grow.packages.graylog.core.EnvReader
-
Returns the name of the first variable that is set, for error messages.
- spanId() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Span id.
- spanId() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Span id (16 lower-hex).
- spanId(String) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Sets the span id.
- spanId(String) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the span id (16 hex).
- sslContext() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Builds the SSL context for these options.
- start() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns whether the new stream is resumed (Graylog creates streams paused).
- start() - Method in class codes.grow.packages.graylog.logging.GrowLogbackAppender
- start() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Range start (inclusive).
- start() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns the value of the
startrecord component. - start() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the start of an absolute range.
- start(boolean) - Method in class codes.grow.packages.graylog.CreateStreamOptions.Builder
-
Resumes the new stream (default true; Graylog creates streams paused).
- start(Instant) - Method in class codes.grow.packages.graylog.logging.SearchOptions.Builder
-
Sets the range start.
- start(Instant) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Sets the start of an absolute range (default end minus 300 s).
- startedAt() - Method in record class codes.grow.packages.graylog.InputState
-
Returns the value of the
startedAtrecord component. - startedAt() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
startedAtrecord component. - state() - Method in record class codes.grow.packages.graylog.InputState
-
Returns the value of the
staterecord component. - STATE_FAILED - Static variable in class codes.grow.packages.graylog.InputTypes
-
Input state of an input that failed to start.
- STATE_RUNNING - Static variable in class codes.grow.packages.graylog.InputTypes
-
Input state of a running input.
- staticFields() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
staticFieldsrecord component. - stats() - Method in class codes.grow.packages.graylog.logging.BatchingLogClient
- stats() - Method in class codes.grow.packages.graylog.logging.BatchProcessor
-
Current counters.
- stats() - Method in interface codes.grow.packages.graylog.logging.LogClient
-
Current counters.
- status() - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
statusrecord component. - status() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the HTTP status.
- status() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns the value of the
statusrecord component. - step() - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns the current step.
- Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.graylog.testing.Scenario.Step
-
Creates a step; the list is copied.
- StepContext - Class in codes.grow.packages.graylog.testing
-
Everything an
OpHandlerneeds for one step. - StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Creates an instance of a
StepResultrecord class. - steps() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
stepsrecord component. - steps() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns the value of the
stepsrecord component. - stop() - Method in interface codes.grow.packages.graylog.logging.TailHandle
-
Stops the subscription; idempotent.
- store(List<LogRecord>) - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogExporter
-
Stores records as if exported (for outcomes that accept part of a batch).
- StreamPage - Record Class in codes.grow.packages.graylog
-
One page of streams.
- StreamPage(List<GraylogStream>, int, int, int) - Constructor for record class codes.grow.packages.graylog.StreamPage
-
Copies the list.
- StreamRule - Record Class in codes.grow.packages.graylog
-
One rule of a stream.
- StreamRule(String, String, int, String, boolean, String) - Constructor for record class codes.grow.packages.graylog.StreamRule
-
Normalises
nullstrings to empty. - streams() - Method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns the value of the
streamsrecord component. - streams() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns the stream ids to search (empty = every readable stream).
- streams() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns the value of the
streamsrecord component. - streams(String...) - Static method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns options limited to some streams.
- streams(String...) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Restricts the search to these stream ids.
- streams(List<String>) - Method in class codes.grow.packages.graylog.MessageSearchOptions.Builder
-
Restricts the search to these stream ids.
- string(String, String...) - Method in class codes.grow.packages.graylog.core.EnvReader
-
Reads a string.
- stringify(Object) - Static method in class codes.grow.packages.graylog.core.Json
-
Encodes a value as a JSON string.
- substitute(String) - Method in class codes.grow.packages.graylog.testing.StepContext
-
Substitutes
${name}variables in a string. - substitute(String, Map<String, String>) - Static method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Replaces
${name}placeholders; unknown names are kept as they are. - substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.graylog.testing.ConformanceRunner
-
Substitutes placeholders in every string (and object key) of a JSON tree.
- success(int) - Static method in record class codes.grow.packages.graylog.logging.ExportResult
-
All records accepted.
- summary() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns a multi-line summary listing every scenario.
- system() - Static method in class codes.grow.packages.graylog.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover the process environment. - systemInfo() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the node's system information (
GET /api/system). - SystemInfo - Record Class in codes.grow.packages.graylog
-
Node information from
GET /api/system. - SystemInfo(String, String, String, String, String, Optional<Instant>, String, String, String, String, String, boolean, boolean) - Constructor for record class codes.grow.packages.graylog.SystemInfo
-
Creates an instance of a
SystemInforecord class. - systemInfoAsync() - Method in class codes.grow.packages.graylog.GraylogClient
-
Asynchronous
GraylogClient.systemInfo().
T
- tail(String, Consumer<LogRecord>) - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Tails with the default poll interval of 2 s, starting now.
- tail(String, Consumer<LogRecord>, TailOptions) - Method in class codes.grow.packages.graylog.GraylogLogQueryClient
-
Polls search every
options.interval()(Graylog has no streaming API) and callsonRecordonce per new matching record, oldest first, starting atoptions.start()(default now). - tail(String, Consumer<LogRecord>, TailOptions) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Streams new matching records to
onRecorduntil the handle is stopped. - tail(String, Consumer<LogRecord>, TailOptions) - Method in class codes.grow.packages.graylog.testing.logging.InMemoryLogQueryClient
- TailHandle - Interface in codes.grow.packages.graylog.logging
- TailOptions - Record Class in codes.grow.packages.graylog.logging
- TailOptions(Optional<Instant>, Duration, Consumer<Throwable>) - Constructor for record class codes.grow.packages.graylog.logging.TailOptions
-
Fills defaults for
nullvalues. - target() - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns the scenario target.
- target(Class<T>) - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns the target cast to a type.
- target(String, TargetFactory) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Sets the target factory of a category; categories without a target do not run.
- TargetFactory - Interface in codes.grow.packages.graylog.testing
-
Creates the object a scenario runs against (client, provider, log client, tracing handle).
- TCP - Enum constant in enum class codes.grow.packages.graylog.GelfProtocol
-
NUL-terminated JSON frames over one long-lived connection (the default).
- text() - Method in class codes.grow.packages.graylog.core.TransportResponse
-
Returns the body decoded as UTF-8.
- text() - Method in enum class codes.grow.packages.graylog.logging.Severity
-
Returns the canonical severity text (
"TRACE"…"FATAL"). - timeout() - Method in class codes.grow.packages.graylog.core.TransportRequest
-
Returns the per-attempt timeout override.
- timeout() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns how long to wait for the RUNNING state (default 30 s).
- timeout() - Method in record class codes.grow.packages.graylog.logging.ExportOptions
-
Returns the value of the
timeoutrecord component. - timeout() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns the value of the
timeoutrecord component. - timeout(Duration) - Method in class codes.grow.packages.graylog.core.TransportRequest.Builder
-
Overrides the per-attempt timeout for this call.
- timeout(Duration) - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Sets how long to wait for the RUNNING state.
- timeout(Duration) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Sets the deadline of one export call (default 30 s).
- TIMEOUT - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
Connect, request or total deadline exceeded, HTTP 408 or 504.
- TimeoutException - Exception Class in codes.grow.packages.graylog.core
-
A connect, request or total deadline was exceeded (or HTTP 408, 504).
- TimeoutException(String) - Constructor for exception class codes.grow.packages.graylog.core.TimeoutException
-
Creates the exception.
- TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.TimeoutException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.TimeoutException
-
Creates the exception with response details.
- TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.TimeoutException
-
Creates the exception with a cause.
- timestamp() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the event time.
- timestamp() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns the value of the
timestamprecord component. - timestamp() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Event time.
- timestamp() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Event time.
- timestamp(Instant) - Static method in class codes.grow.packages.graylog.Gelf
-
Renders an instant as Unix seconds with millisecond precision (e.g.
- timestamp(Instant) - Method in class codes.grow.packages.graylog.GelfMessage.Builder
-
Sets the event time (sent as Unix seconds with millisecond precision).
- timestamp(Instant) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Sets the event time.
- timestamp(Instant) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the event time.
- timezone() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
timezonerecord component. - title() - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns the value of the
titlerecord component. - title() - Method in class codes.grow.packages.graylog.CreateStreamOptions
-
Returns the title.
- title() - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions
-
Returns the title of a new input (empty =
"grow-codes GELF <PROTOCOL> <port>"). - title() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
titlerecord component. - title() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns the value of the
titlerecord component. - title() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
titlerecord component. - title(String) - Method in class codes.grow.packages.graylog.EnsureGelfInputOptions.Builder
-
Sets the title of a newly created input.
- titled(String) - Static method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns options with a title.
- tls() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the TLS options.
- tls(boolean) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Enables TLS (the input needs
tls_enable). - tls(TlsOptions) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the TLS options; environment TLS variables are then ignored.
- tls(TlsOptions) - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter.Builder
-
Sets the TLS options of
httpsendpoints. - tlsOptions(TlsOptions) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Sets the TLS options (CA bundle, client certificate,
insecureSkipVerify). - TlsOptions - Class in codes.grow.packages.graylog.core
-
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify. - TlsOptions.Builder - Class in codes.grow.packages.graylog.core
-
Builder for
TlsOptions. - to() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns the value of the
torecord component. - toAttrValue(JsonNode) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Converts a JSON tree into attribute values (
AttrValues). - toBuilder() - Method in class codes.grow.packages.graylog.core.RetryPolicy
-
Returns a builder initialised from this policy.
- toBuilder() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Returns a builder initialised from these options.
- toBuilder() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns a builder pre-filled with this message.
- toBuilder() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns a builder pre-filled with this configuration.
- toBuilder() - Method in class codes.grow.packages.graylog.logging.BatchOptions
-
Returns a builder initialised with these options.
- toBuilder() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Returns a builder initialised with this record's values.
- toBuilder() - Method in class codes.grow.packages.graylog.logging.SearchOptions
-
Returns a builder with these values.
- toBuilder() - Method in class codes.grow.packages.graylog.MessageSearchOptions
-
Returns a builder pre-filled with these options.
- toJson(LogRecord) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Serialises a record to compact JSON.
- toLogRecord() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Normalises the message into a log record (see
GraylogRecords.fromMessage(Map)). - toMap() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the GELF wire object: version, host, short_message and, when set, full_message, timestamp, level and the additional fields (sorted keys).
- toMap(LogRecord) - Static method in class codes.grow.packages.graylog.logging.LogRecordJson
-
Returns the wire form as an ordered map of plain JSON values.
- toString() - Method in record class codes.grow.packages.graylog.core.HealthStatus
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.core.RetryPolicy
- toString() - Method in class codes.grow.packages.graylog.core.Secret
-
Always "[REDACTED]".
- toString() - Method in class codes.grow.packages.graylog.core.TlsOptions
- toString() - Method in class codes.grow.packages.graylog.core.TransportResponse
- toString() - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.EnsuredInput
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.GelfHttpTransport
- toString() - Method in class codes.grow.packages.graylog.GelfMessage
-
Returns the compact JSON text.
- toString() - Method in enum class codes.grow.packages.graylog.GelfProtocol
- toString() - Method in record class codes.grow.packages.graylog.GelfSendOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.GelfSendResult
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.GelfTcpTransport
- toString() - Method in class codes.grow.packages.graylog.GelfUdpTransport
- toString() - Method in class codes.grow.packages.graylog.GraylogClient
- toString() - Method in class codes.grow.packages.graylog.GraylogConfig
- toString() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.GraylogLogQueryClientOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.GraylogMessage
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.GraylogStream
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.InputState
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.logging.BatchOptions
- toString() - Method in record class codes.grow.packages.graylog.logging.BatchStats
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.logging.ExportOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.logging.ExportResult
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.logging.LogInput
- toString() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Returns the normalized JSON form (see
LogRecordJson). - toString() - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.Otlp.PartialSuccess
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.graylog.OtlpGrpcLogExporter
- toString() - Method in record class codes.grow.packages.graylog.SearchSort
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.ScenarioResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport.StepResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.logging.LoggingTarget
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.Scenario.Step
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.graylog.testing.Scenario
-
Returns a string representation of this record class.
- total() - Method in record class codes.grow.packages.graylog.logging.LogSearchResult
-
Returns the value of the
totalrecord component. - total() - Method in record class codes.grow.packages.graylog.MessageSearchResult
-
Returns the value of the
totalrecord component. - total() - Method in record class codes.grow.packages.graylog.StreamPage
-
Returns the value of the
totalrecord component. - totalTimeout() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the budget of a whole call including retries and backoff.
- totalTimeout() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the total timeout per call including retries.
- totalTimeout(Duration) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the total budget per call.
- totalTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the total timeout.
- totalTimeout(Duration) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the total timeout per call including retries (default 120 s).
- toTransportConfig() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Translates the common fields into transport settings (credentials are added per request).
- trace(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at TRACE.
- trace(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at TRACE.
- TRACE - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 1.
- traceFlags() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
W3C trace flags.
- traceFlags(Integer) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the W3C trace flags (0–255).
- traceId() - Method in class codes.grow.packages.graylog.logging.LogInput
-
Trace id.
- traceId() - Method in class codes.grow.packages.graylog.logging.LogRecord
-
Trace id (32 lower-hex).
- traceId(String) - Method in class codes.grow.packages.graylog.logging.LogInput.Builder
-
Sets the trace id.
- traceId(String) - Method in class codes.grow.packages.graylog.logging.LogRecord.Builder
-
Sets the trace id (32 hex; upper case is accepted, 16 hex is left-padded).
- transport() - Method in class codes.grow.packages.graylog.GelfLogExporter
-
Returns the underlying transport.
- transport() - Method in class codes.grow.packages.graylog.GraylogClient
-
Returns the HTTP transport, for service modules built on this client.
- transport() - Method in class codes.grow.packages.graylog.GraylogLogClientOptions
-
Returns the transport used instead of building one.
- transport(GelfTransport) - Method in class codes.grow.packages.graylog.GraylogLogClientOptions.Builder
-
Uses this transport instead of building one (closed with the log client).
- TransportConfig - Class in codes.grow.packages.graylog.core
-
Settings of one
HttpTransport. - TransportConfig.Builder - Class in codes.grow.packages.graylog.core
-
Builder for
TransportConfig. - TransportRequest - Class in codes.grow.packages.graylog.core
-
One logical HTTP call executed by
HttpTransport(with retries). - TransportRequest.Builder - Class in codes.grow.packages.graylog.core
-
Builder for
TransportRequest. - TransportResponse - Class in codes.grow.packages.graylog.core
-
A response returned by
HttpTransport(2xx or an accepted status). - TransportResponse(int, Map<String, List<String>>, byte[], int, Duration, String) - Constructor for class codes.grow.packages.graylog.core.TransportResponse
-
Creates a response (used by the transport and by tests).
- tree() - Method in class codes.grow.packages.graylog.testing.OpResult
-
Returns the tree view.
- tree(byte[]) - Static method in class codes.grow.packages.graylog.core.Json
-
Parses JSON bytes into a tree.
- truncate(String, int) - Static method in class codes.grow.packages.graylog.core.Redaction
-
Truncates text to
maxcharacters, appending an ellipsis when cut. - type() - Method in record class codes.grow.packages.graylog.GraylogInput
-
Returns the value of the
typerecord component. - type() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
typerecord component. - TYPE_ALWAYS_MATCH - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Always match.
- TYPE_CONTAINS - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Contains.
- TYPE_EXACT - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Exact match.
- TYPE_GREATER - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Greater than.
- TYPE_MATCH_INPUT - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Match input.
- TYPE_PRESENCE - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Field presence.
- TYPE_REGEX - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Regular expression.
- TYPE_SMALLER - Static variable in record class codes.grow.packages.graylog.StreamRule
-
Smaller than.
U
- UDP - Enum constant in enum class codes.grow.packages.graylog.GelfProtocol
-
One (possibly chunked and compressed) datagram per message; delivery is best-effort.
- UNAVAILABLE - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
Network error or HTTP 500, 502, 503.
- UnavailableException - Exception Class in codes.grow.packages.graylog.core
-
Network error or HTTP 500, 502, 503.
- UnavailableException(String) - Constructor for exception class codes.grow.packages.graylog.core.UnavailableException
-
Creates the exception.
- UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnavailableException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnavailableException
-
Creates the exception with response details.
- UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnavailableException
-
Creates the exception with a cause.
- unreachable(String) - Static method in record class codes.grow.packages.graylog.core.HealthStatus
-
The status for a service that could not be reached.
- UNSUPPORTED - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
A capability the service or deployment does not offer (HTTP 501).
- UnsupportedException - Exception Class in codes.grow.packages.graylog.core
-
The service or deployment does not offer this capability (HTTP 501).
- UnsupportedException(String) - Constructor for exception class codes.grow.packages.graylog.core.UnsupportedException
-
Creates the exception.
- UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnsupportedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnsupportedException
-
Creates the exception with response details.
- UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.UnsupportedException
-
Creates the exception with a cause.
- until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.graylog.core.Poll
-
Calls
attempteveryintervaluntil it returns a value ortimeoutpasses. - untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.graylog.core.Poll
-
Asynchronous variant of
Poll.until(java.lang.String, java.time.Duration, java.time.Duration, java.util.concurrent.Callable<java.util.Optional<T>>): no thread blocks between attempts. - url() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.graylog.core.Hooks.RequestInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.graylog.core.Hooks.ResponseInfo
-
Returns the value of the
urlrecord component. - url() - Method in class codes.grow.packages.graylog.GelfHttpTransport
-
Returns the input URL.
- url() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the REST base URL.
- url(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the REST base URL.
- url(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the REST base URL (default "http://127.0.0.1:9000").
- userAgent() - Static method in class codes.grow.packages.graylog.core.SdkInfo
-
Returns the standard user agent:
grow-codes-<key>/<version> (java). - userAgent() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the full
User-Agentheader value. - userAgentSuffix() - Method in class codes.grow.packages.graylog.core.TransportConfig
-
Returns the user agent suffix.
- userAgentSuffix() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.graylog.core.TransportConfig.Builder
-
Sets the text appended to the standard user agent.
- userAgentSuffix(String) - Method in class codes.grow.packages.graylog.GraylogClient.Builder
-
Sets the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.graylog.GraylogConfig.Builder
-
Sets the text appended to the
User-Agent. - username() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Returns the HTTP Basic username.
V
- validate() - Method in class codes.grow.packages.graylog.core.TlsOptions
-
Checks that certificate and key come together.
- validate() - Method in class codes.grow.packages.graylog.GraylogConfig
-
Checks URLs, timeouts, TLS pairs, the GELF settings and the credentials.
- validateFieldKey(String) - Static method in class codes.grow.packages.graylog.Gelf
-
Validates an explicit additional field key (
nameor_name). - VALIDATION - Enum constant in enum class codes.grow.packages.graylog.core.ErrorCode
-
HTTP 400, 413, 422, other 4xx or bad input caught client side.
- ValidationException - Exception Class in codes.grow.packages.graylog.core
-
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
- ValidationException(String) - Constructor for exception class codes.grow.packages.graylog.core.ValidationException
-
Creates the exception.
- ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ValidationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ValidationException
-
Creates the exception with response details.
- ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.graylog.core.ValidationException
-
Creates the exception with a cause.
- value() - Method in record class codes.grow.packages.graylog.StreamRule
-
Returns the value of the
valuerecord component. - value() - Method in class codes.grow.packages.graylog.testing.OpResult
-
Returns the wrapped value.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.GelfCompression
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.GelfProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.logging.DropReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.logging.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.logging.SortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.graylog.testing.ConformanceReport.Status
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.GelfCompression
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.GelfProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.logging.DropReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.logging.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.logging.SortOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.graylog.testing.ConformanceReport.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable(String) - Method in class codes.grow.packages.graylog.testing.StepContext
-
Returns a variable (
run,prefix,serviceNameor a saved name). - variable(String, String) - Method in class codes.grow.packages.graylog.testing.ConformanceRunner.Builder
-
Sets an extra variable, e.g.
- version() - Method in record class codes.grow.packages.graylog.SystemInfo
-
Returns the value of the
versionrecord component. - VERSION - Static variable in class codes.grow.packages.graylog.core.SdkInfo
-
Package version (from the Maven build).
- VERSION - Static variable in class codes.grow.packages.graylog.Gelf
-
GELF specification version written into every message.
- view(Object) - Static method in class codes.grow.packages.graylog.testing.Expectations
-
Returns the JSON view of a value used by
equals,contains,typeandsorted.
W
- waitForLog(String) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
LogQueryClient.waitForLog(String, WaitForLogOptions)with defaults. - waitForLog(String, WaitForLogOptions) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Polls
LogQueryClient.search(java.lang.String, codes.grow.packages.graylog.logging.SearchOptions)until a record matches the query and the predicate. - waitForLogAsync(String, WaitForLogOptions) - Method in interface codes.grow.packages.graylog.logging.LogQueryClient
-
Asynchronous
LogQueryClient.waitForLog(String, WaitForLogOptions). - WaitForLogOptions - Record Class in codes.grow.packages.graylog.logging
- WaitForLogOptions(Duration, Duration, Predicate<LogRecord>, SearchOptions) - Constructor for record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Fills defaults for
nullvalues. - warn(String) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at warn level without fields.
- warn(String) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, ?>) - Method in class codes.grow.packages.graylog.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, Object>) - Method in interface codes.grow.packages.graylog.core.Logger
-
Logs at warn level.
- WARN - Enum constant in enum class codes.grow.packages.graylog.logging.Severity
-
OTel severity 13.
- willRetry() - Method in record class codes.grow.packages.graylog.core.Hooks.ErrorInfo
-
Returns the value of the
willRetryrecord component. - wireValue() - Method in enum class codes.grow.packages.graylog.core.ErrorCode
-
Returns the wire value used in conformance scenarios and JSON.
- wireValue() - Method in enum class codes.grow.packages.graylog.GelfProtocol
-
Returns the lower-case name (
udp,tcp,http,otlp). - wireValue() - Method in enum class codes.grow.packages.graylog.logging.DropPolicy
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.graylog.logging.DropReason
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.graylog.logging.SortOrder
-
Wire value.
- with(ConformanceReport.Status) - Method in record class codes.grow.packages.graylog.testing.ConformanceReport
-
Returns the scenarios with a status.
- withCount(int) - Method in class codes.grow.packages.graylog.testing.OpResult
-
Returns a copy with an explicit count (e.g. the number of spans of a trace).
- withMinSeverity(Severity) - Method in class codes.grow.packages.graylog.logging.Logger
-
Returns a copy with another minimum severity.
- withNode(String) - Method in record class codes.grow.packages.graylog.CreateInputOptions
-
Returns a copy that starts the input on one node only.
- withOnError(Consumer<Throwable>) - Method in record class codes.grow.packages.graylog.logging.TailOptions
-
Copy with an error callback.
- withPredicate(Predicate<LogRecord>) - Method in record class codes.grow.packages.graylog.logging.WaitForLogOptions
-
Copy with a predicate.
- withQuery(String) - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns a copy with a search query.
- withSort(String, SortOrder) - Method in record class codes.grow.packages.graylog.ListStreamsOptions
-
Returns a copy with a sort field and order.
- withTree(Map<String, List<String>>) - Method in class codes.grow.packages.graylog.testing.OpResult
-
Returns a copy with a parent-name to child-names view (span trees).
- writable() - Method in record class codes.grow.packages.graylog.IndexSet
-
Returns the value of the
writablerecord component. - writeTimeout(Duration) - Method in class codes.grow.packages.graylog.GelfTcpTransport.Builder
-
Sets the write timeout of one batch (default 30 s).
Z
- ZLIB - Enum constant in enum class codes.grow.packages.graylog.GelfCompression
-
zlib (magic
78 ..).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form