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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...