graylog_search v0.1.0 GraylogSearch View Source

Constructs Graylog search URL.

Link to this section Summary

Functions

Search for a message by the given query term or phrase. This function can be chained to combine queries with AND

Given a base URL, returns a URI for GraylogSearch pipelines

Search for messages that do not include a term or phrase

Search messages by another term or phrase

Link to this section Functions

Link to this function

and_by(uri, query) View Source
and_by(URI.t(), String.t()) :: URI.t()

Alias for by/2

Alias for not_by/2

Search for a message by the given query term or phrase. This function can be chained to combine queries with AND.

By default, all fields are included in the search when a field to search in is not specified.

Given a base URL, returns a URI for GraylogSearch pipelines.

Link to this function

not_by(uri, query) View Source
not_by(URI.t(), String.t()) :: URI.t()

Search for messages that do not include a term or phrase.

Uses the NOT operator. Can be chained to combine queries with AND NOT.

Link to this function

or_by(uri, query) View Source
or_by(URI.t(), String.t()) :: URI.t()

Search messages by another term or phrase.

Uses the OR operator to combine queries.