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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...