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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...