Advanced Search

Dynamic Placeholders

Dynamic placeholders can be used in all of the Monitor’s filters and search fields. These are automatically replaced with the corresponding values when data is retrieved.

Placeholders Example replacement Description

#user.loginName#

max.mustermann

The current user’s login name.
This can be used, for example, to filter data based on the user.

Full-Text Search in the Monitor

The full-text search is the central search function across all fields of the selected monitor. In addition to individual search terms, operators can be used to formulate complex search queries.

Full-text search field

The search spans all columns of the monitoring data. Optionally, the search can be configured to include process details and referenced messages.

To use this feature, enter the desired term in the full-text search field in the toolbar. If multiple terms are entered without an operator, the system automatically links them with an AND condition.

Operators for multiple search terms

Combining Search Terms

Without quotation marks ("), a space serves as a separator between two terms. In this case, the logical AND operator (AND) is used by default. If terms are to be searched for as alternatives, the logical OR (OR) must be explicitly specified.

Example Explanation

blue car

Searches for documents that contain “car” in any field and “blue” in one (possibly different) field.

blue OR car

Searches for documents that contain “car” or “blue” in any field.

auto AND (blue OR yellow)

For more complex logical operators, you can use parentheses.
Searches for documents containing "auto" and either "blue" or "yellow."

Limiting the Search Scope

To limit the search to a specific field, prefix the respective field name (column name) with a colon.

Example Explanation

VEHICLE_TYPE:auto COLOR:blue

Searches for documents in which the value "auto" appears in the VEHICLE_TYPE field and the value "blue" appears in the COLOR field.

Excluding Search Terms

Search terms or entire subqueries can be specifically excluded from the results by using negation.

Example Explanation

VEHICLE_TYPE:auto -COLOR:blue

Searches for documents where the "auto" value appears in the VEHICLE_TYPE field and the "blue" value does not appear in the COLOR field.

Searching for (non-)existing fields

To filter records based on the presence of certain fields, the keywords _exists_ and _missing_ are available.

Example Explanation

_exists_:KAEUFER AND _missing_:SONDERAUSSTATTUNG

Searches for documents containing the KAEUFER field (regardless of its content) but lacking the SONDERAUSSTATTUNG field.

Wildcard searches are supported for text fields:

  • ? – Replaces exactly one arbitrary character.

  • * – Replaces any number of characters.

Example Explanation

COLOR:gr*

Searches for colors that begin with "gr," such as "green," "gray," and "gray-blue."

COLOR:gr??

This search would also find "green" and "gray," but not "gray-blue."

Text fields support searching for “similar” words. This allows you to find, for example, words that contain typos.

Example Explanation

COLOR:blue~

Also finds the color “blua.”
This uses the Damerau-Levenshtein distance to find all terms with at most two changes, where a change is the insertion, deletion, or replacement of a single character, or the transposition of two adjacent characters.

COLOR:blue~3

Modifies the distance value after the operator.

Date and number fields support range searches:

  • <, >, <=, >= – One-sided restriction.

  • [min TO max] – Inclusive intervals (include the boundaries).

  • {min TO max} – Exclusive intervals ( do not include the endpoints).

Curly and square brackets can be combined.

Example Explanation

DATE:[2012-01-01 TO 2012-12-31]

All days in 2012

COUNT:[1 TO 5]

Numbers 1 through 5

NUMBER:[10 TO *]

Numbers 10 and up

DATE:{* TO 2012-01-01}

Dates before 2012

NUMBER:[1 TO 5]

Numbers 1 through 4

AGE:>10
AGE:>=10
AGE:<10
AGE:⇐10

Ranges with a single side and no upper limit

Special characters in the search term

Special characters that should be treated as normal text rather than as operators must be escaped using \.

Example Explanation

"how old are you\?"

Uses the entire sentence as the search term and ignores ? as an operator.

Limitations for complex search queries

By default, OpenSearch limits the number of concatenated search terms to 1024. A text search that does not refer to a specific field internally generates one search term per field. For indices with many fields and multiple logical operators (AND, OR), the limit of 1,024 terms can therefore be reached quickly. In this case, the following error message appears: too_many_nested_clauses.

If this error occurs, the search query should be optimized by using a targeted field search (column search).

If it is absolutely necessary to use more complex search queries, the limit can be adjusted in the configuration file <OPENSEARCH-CONFIG-DIR>/opensearch.yml by adding the following line:

indices.query.bool.max_clause_count: 2048

The value (2048 in this case) can be adjusted as needed. After making the change, OpenSearch must be restarted.

Increasing this limit is not recommended, as very complex search queries can significantly impact system performance.

Overview of Search Parameters/Operators

Operator Function Example

"

combines multiple words into a phrase

"blue car"

()

groups operators to combine them with other searches using AND/OR

car AND (COLOR:blue OR COLOR:yellow)

*

Indicates a substring search with any number of variable characters

COLOR:bl*

?

Indicates a substring search with one variable character

COLOR:bl??

~

Fuzzy search

COLOR:blue~

\

Treats reserved operators as normal text.

"how old are you?"

AND

Boolean AND function

Text1 AND Text2

OR

Boolean OR function

Text1 OR Text2

-

excludes phrase

Text1 -Text2

Column:

Column search

Column1:Text

_missing_

Entries without a value in Column1

_missing_:Column1

_exists_

Entries with a value in Column1

_exists_:Column1

[min TO max]

Interval search with inclusive boundaries for numeric and date fields

id:[1 TO 10]

{min TO max}

Interval search with exclusive boundaries for numeric and date fields

Date:{* TO 2012-01-01}

<,>,<=,>=

Filter operators for numerical comparisons: less than, greater than, less than or equal to, greater than or equal to

Cost:>500


Keywords: