@grow-codes/graylog - v0.1.1
    Preparing search index...

    Class GraylogConfig

    Immutable configuration of GraylogClient.

    Implements

    Index
    apiToken?: Secret

    REST API token.

    connectTimeoutMs: number
    gelfHost: string

    GELF host (no IPv6 brackets).

    gelfHttpUrl?: string

    Explicit GELF HTTP URL; see gelfHttpEndpoint for the effective one.

    gelfPort?: number

    Explicit GELF port; see gelfPortFor for the effective one.

    gelfProtocol: GelfProtocol

    Default GELF transport.

    gelfTls: boolean

    TLS for GELF TCP / default GELF HTTP URL.

    headers: Readonly<Record<string, string>>
    hooks?: Hooks
    logger?: ClientLogger
    otlpEndpoint?: string

    Explicit OTLP gRPC endpoint; see otlpGrpcEndpoint for the effective one.

    password?: Secret

    REST password.

    proxy?: string
    requestedBy: string

    X-Requested-By header value.

    requestTimeoutMs: number
    tls: Readonly<TlsOptions>
    totalTimeoutMs: number
    url: string
    userAgentSuffix?: string
    username?: string

    REST user name.

    DEFAULT_URL: string = ...

    Default REST endpoint.

    ENV_PREFIX: "GROW_GRAYLOG_"

    Prefix of every environment variable.

    • The Authorization header value: Basic <token>:token or Basic <user>:<password>.

      Returns string | undefined

    • The effective GELF HTTP endpoint.

      Returns string

    • Credential values to redact from error messages and logs.

      Returns string[]

    • The effective OTLP gRPC endpoint.

      Returns string

    • Debug form with every credential redacted.

      Returns Record<string, unknown>

    • Returns a string representation of an object.

      Returns string