DataPrime text search text search operators
This guide provides a glossary of IBM® Cloud Logs DataPrime ttext search operators.
find / text
Search for the string in a certain keypath.
(find|text) <free-text-string> in <keypath>
Examples:
find 'host1000' in $d.kubernetes.hostname
text 'us-east-1' in $d.msg
lucene
A generic Lucene-compatible operator, allowing both free and wild text searches, and more complex search queries.
Field names inside the lucene query are relative to $d (the root level of user-data).
lucene <lucene-query-as-a-string>
Examples:
lucene 'pod:recommender AND (is_error:true or status_code:404)'
wildfind / wildtext
Search for the string in the entire user data. This can be used when the keypath in which the text resides is unknown.
The performance of this operator is slower than when using the find/text operator. Prefer using those operators when you know the keypath to search.
(wildfind/wildtext) <string>
Examples:
wildfind 'my-region'
wildfind ':9092'