Splunk Search

how do i search for the ? character?

piebob
Splunk Employee
Splunk Employee

"?" and escape permutations don't seem to work.

1 Solution

Ayn
Legend

"?" seems to work just fine for me. Do you have an example of a search + log events that should match but don't?

You can also use regex and escape the question mark:

* | regex _raw="\?"

View solution in original post

Ayn
Legend

"?" seems to work just fine for me. Do you have an example of a search + log events that should match but don't?

You can also use regex and escape the question mark:

* | regex _raw="\?"
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...