Search Fields Through a Given Pattern - Example 5
Query
logscale
wildcard(pattern=horse, ignoreCase=true)
Introduction
Given the following events:
field | value |
---|---|
animal | horse |
animal | Horse |
animal | duck |
animal | HORSES |
animal | crazy hOrSe |
animal | hooorse |
animal | dancing with horses |
Finds events that contain
horse
, case-insensitive:
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=true)
Searches the original, unmodified event for the string
horse
, case-insensitive. Event Result set.
Summary and Results
The result is a list of the following accepted events:
animal |
horse |
Horse |
HORSES |
crazy hOrSe |
dancing with horses |
This query is equivalent to the freetext regex
/horse/i
.