Fuzzy search all fields
Problem / use case
Need to locate a string in logs when you’re not sure which key holds it.
Query / solution
Searches all top-level fields for the substring eu-west
and returns matching events.
Expected Output
Any document that contains the term anywhere among its root-level keys surfaces in the result set.
Variations
- Combine with other filters
- Anchor to whole words Use regex boundaries:
- Wild-text vs. field-specific Prefer
$d ~~
when you truly don’t know the location; otherwise usefield ~ 'text'
for better performance.
TL;DR
$d ~~ '<text>'
is for free-text hunting across every root field—quick, broad, and perfect when the key is a mystery.
Theme
Light