Applies defaults, validates (throws ConfigError) and freezes.
Optional ReadonlyapiREST API token.
ReadonlyconnectReadonlygelfGELF host (no IPv6 brackets).
Optional ReadonlygelfExplicit GELF HTTP URL; see gelfHttpEndpoint for the effective one.
Optional ReadonlygelfExplicit GELF port; see gelfPortFor for the effective one.
ReadonlygelfDefault GELF transport.
ReadonlygelfTLS for GELF TCP / default GELF HTTP URL.
ReadonlyheadersOptional ReadonlyhooksOptional ReadonlyloggerOptional ReadonlyotlpExplicit OTLP gRPC endpoint; see otlpGrpcEndpoint for the effective one.
Optional ReadonlypasswordREST password.
Optional ReadonlyproxyReadonlyrequestedX-Requested-By header value.
ReadonlyrequestReadonlyretryReadonlytlsReadonlytotalReadonlyurlOptional ReadonlyuserOptional ReadonlyusernameREST user name.
Static ReadonlyDEFAULT_Default REST endpoint.
Static ReadonlyENV_Prefix of every environment variable.
The Authorization header value: Basic <token>:token or Basic <user>:<password>.
The effective GELF HTTP endpoint.
The GELF port used for protocol: gelfPort, else 12202 for HTTP and 12201 otherwise.
Credential values to redact from error messages and logs.
The effective OTLP gRPC endpoint.
Debug form with every credential redacted.
Returns a string representation of an object.
Throws ConfigError when a setting is invalid.
A copy of this config with some fields replaced (validated again).
StaticfromReturns options when it already is a config, otherwise builds one.
StaticfromBuilds a config from the environment. Precedence: explicit overrides >
GROW_GRAYLOG_<NAME> > vendor variables > platform aliases (VENDOR_ENV) > defaults.
Immutable configuration of GraylogClient.