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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...