Search Fields Through a Given Pattern - Example 4
Query
logscale
wildcard(pattern=horse, ignoreCase=false)
Introduction
Given the following events:
field | value |
---|---|
animal | horse |
mammal | Horse |
mammal | wild horses |
animal | human |
mammal | HORSES |
animal | duck |
mammal | dog |
animal | dancing with horses |
Find events that contain
horse
in any field,
case-sensitive:
Step-by-Step
Starting with the source repository events.
- flowchart LR; %%{init: {"flowchart": {"defaultRenderer": "elk"}} }%% repo{{Events}} 0[/Filter/] result{{Result Set}} repo --> 0 0 --> result style 0 fill:#ff0000,stroke-width:4px,stroke:#000;logscale
wildcard(pattern=horse, ignoreCase=false)
Searches the original, unmodified event for the string
horse
. Event Result set.
Summary and Results
The result accepts the events with
horse
,
wild horses
and
dancing with horses
. This query
is equivalent to the freetext search
"horse"
.