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 Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...