Grep search for logs :: Kloudfuse Docs
Grep search for logs
Grep search performs exact pattern matching on your log lines, for precise search results. It is both the slowest and most accurate search type.
Search with grep
To search using grep, enclose the pattern within double quotes, (“…”).
Supported data types
Grep search supports all data types, and treats them as String data type; see Search data types.
Supported operators
Grep search does not use operators.
| - Grep search is case-insensitive. - Grep does not support search with wildcards. |
Supported set combinations
AND
Grep search supports intersection by using spaces to find logs that match all patterns.
OR
Grep search supports the union operator inside quotes to find logs that match any of the specified patterns.
NOT
Prefix a pattern with [!] (exclamation mark, not) to exclude logs that contain a match.
Examples of grep search
Here are some examples of grep search:
| Operator | Example | Supported data types |
|---|---|---|
| Pattern1 AND Pattern2 | “P1” “P2” |
All |
| Pattern1 OR Pattern2 | “P1 OR P2” |
All |