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.

Get Updates on the Splunk Community!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...