Splunk Search

Usage of Wildcard in middle of search string



I read from splunk docs that we should avoid using wildcards `*` in the middle of a string.
Now, does this apply to  `%` wildcard used in `like()` too ? Ex:  like(some_field ,"abc%def")
From my testing it seems , `%` is able to match punctuations too unlike `*`.

Labels (1)
Tags (1)
0 Karma


I believe that caution pertains to the search command itself rather than the like function.  Consider submitting feedback on that documentation page asking the Docs team to clarify.

If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...

What’s New in Splunk Cloud Platform 9.1.2308?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2308! Analysts can ...