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

    Interface SearchOptions

    Options of GraylogClient.search. Give at most one of range, from/to, keyword.

    interface SearchOptions {
        fields?: readonly string[];
        from?: Date;
        keyword?: string;
        limit?: number;
        offset?: number;
        range?: number;
        signal?: AbortSignal;
        sort?: SearchSort | readonly SearchSort[];
        streams?: readonly string[];
        to?: Date;
    }

    Hierarchy (View Summary)

    Index
    fields?: readonly string[]

    Only return these fields (plus _id).

    from?: Date

    Absolute range start (default to − 300 s).

    keyword?: string

    Graylog keyword range, e.g. "last five minutes".

    limit?: number

    Messages per page, 1..10000. Default 100.

    offset?: number

    Messages to skip. Default 0.

    range?: number

    Relative range in seconds (default 300 when no other range is given).

    signal?: AbortSignal

    Cancels the call (CancelledError).

    sort?: SearchSort | readonly SearchSort[]

    Sort. Default { field: "timestamp", order: "desc" }; an array adds tie-breakers.

    streams?: readonly string[]

    Stream ids to search (default: every stream the user may read).

    to?: Date

    Absolute range end (default now).