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

    Interface GraylogLogClientOptions

    interface GraylogLogClientOptions {
        batch?: BatchOptions;
        bearerToken?: string;
        bulk?: boolean;
        chunkSize?: number;
        compression?: GelfCompression;
        headers?: Record<string, string>;
        host?: string;
        minSeverity?: Severity;
        now?: () => Date;
        protocol?: GelfProtocol | "otlp";
        redaction?: false | RedactionOptions | RedactionProcessor;
        resource?: Attributes;
        transport?: GelfTransport;
    }

    Hierarchy (View Summary)

    Index
    batch?: BatchOptions

    Batching behaviour.

    bearerToken?: string

    OTLP: bearer token configured on the input.

    bulk?: boolean

    HTTP: bulk (newline-delimited) bodies. Default true.

    chunkSize?: number

    UDP chunk size. Default 1420.

    compression?: GelfCompression

    UDP payload compression. Default gzip.

    headers?: Record<string, string>

    HTTP/OTLP: extra headers (e.g. input authorization header).

    host?: string

    GELF host for records without resource["host.name"]. Default os.hostname().

    minSeverity?: Severity

    Default minimum severity of loggers created by BatchingLogClient.logger.

    now?: () => Date

    Clock used for missing timestamps (tests).

    protocol?: GelfProtocol | "otlp"

    Transport. Default: config.gelfProtocol. otlp uses the OpenTelemetry (gRPC) input.

    redaction?: false | RedactionOptions | RedactionProcessor

    Redaction applied before records are queued; false disables it (not recommended).

    resource?: Attributes

    Resource attributes added to every record (service.name, deployment.environment, …).

    transport?: GelfTransport

    Use this transport instead of building one (it is closed with the log client).