Splunk Search

Getting Rex sub pattern error when using counts

Aryc090908
Explorer

 

Index=dev log-severity=INFO app name=abcd | rex “tv counts for indicator S = (?<Count>\d+)” | stats count by _time, Counts l table _time, counts

 

 

Getting error in Rex commandregex:syntax error in sunpattern name(missing terminator)

it worked last week and suddenly this error is showing up and checked data side ,data is there and no issues with data

please suggest

 

 

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Replace &lt; with < and &gt; with >.  Also, replace the smartquotes with normal quotation marks.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Replace &lt; with < and &gt; with >.  Also, replace the smartquotes with normal quotation marks.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Aryc090908
Explorer

It’s giving error as search is waiting for input in the dashboard page

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

One of the searches in the dashboard contains an unset token.  Give the token a value or remove it.

---
If this reply helps you, Karma would be appreciated.
0 Karma
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 ...