Splunk Search

Search for splunk event which has greater than symbol

sasank
Explorer

Hi,

I have a Splunk event "Application -> start of the log".

When I try to search for this log using the exact text then I do not get any results.

I see that the greater than symbol is causing the problem. When I split my search command as "Application -" AND "start of the log" then splunk was able to find the event.

So how do I escape the greater than symbol in splunk search command? I tried > which didn't work.

(I also want to use this search text in "transaction startswith=" command so I cannot use `AND` condition)

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

I have no problems searching for the '>' character.

richgalloway_0-1671918775323.png

Please share your exact SPL and a sample event so we have a better view of the problem.  What version of Splunk are you using?

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

I have no problems searching for the '>' character.

richgalloway_0-1671918775323.png

Please share your exact SPL and a sample event so we have a better view of the problem.  What version of Splunk are you using?

---
If this reply helps you, Karma would be appreciated.

sasank
Explorer

Hi, I saw the RAW event and found that the text in the event is "Application -\u003e start of the log"

The greater than symbol is in unicode.

So I have to search as "Application -\\u003e start of the log".

Thank you.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...