Splunk Search

Data Model Regex - Matching on Angle Bracket (<)

David
Splunk Employee
Splunk Employee

I amy trying to use an angle bracket (< or >) as part of the raw text criteria for a regex in a data model using 6.0.3. Each time I try, it considers the angle bracket part of a new matched field, and I've not been able to successfully escape it. I've tried & gt; or & lt;, I've tried the single backslash that works in rex, and I've tried double and triple backslash to no avail.

Anyone able to help me out?

Tags (2)
0 Karma
1 Solution

David
Splunk Employee
Splunk Employee

Received a response out of band. This is a known issue, and a fix is planned for a coming release. In my specific case, I was able to solve the problem by matching on [^a-zA-Z0-9_\s=] which met my requirement.

View solution in original post

0 Karma

David
Splunk Employee
Splunk Employee

Received a response out of band. This is a known issue, and a fix is planned for a coming release. In my specific case, I was able to solve the problem by matching on [^a-zA-Z0-9_\s=] which met my requirement.

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...