Search Fields Through a Given Pattern - Example 5

Perform cross-field value matching with case sensitivity

Query

logscale
wildcard(pattern=horse, ignoreCase=true)

Introduction

Given the following events:

fieldvalue
animalhorse
animalHorse
animalduck
animalHORSES
animalcrazy hOrSe
animalhooorse
animaldancing with horses

Finds events that contain horse, case-insensitive:

Step-by-Step

  1. Starting with the source repository events.

  2. logscale
    wildcard(pattern=horse, ignoreCase=true)

    Searches the original, unmodified event for the string horse, case-insensitive.

  3. 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 .