Dashboards & Visualizations

Error in 'where' command:Regex:quantifier does not follow a repeatable item

Neel88
Explorer

| loadjob savedsearch="nobody:splunk_fcr_evo:monitoring"
| table adt, FLOW, Date, NbRecordsOKFCR, Total, NbRecords, NBFile, NA1, NA2, NA3, CM, Alert
| where match(FLOW, "$Flow_token$") and match(adt, "$adt_token$") $filter_green_lights$
| fields adt FLOW Date NA1, NA2, NA3,CM, "Total" | sort adt, Date

Labels (5)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What values do you have in your tokens?

0 Karma

Neel88
Explorer

Different values in TEXT, Duplicate values and special character ( / and _ ) only.

0 Karma

Neel88
Explorer

Its like this- 

DateFLOWadt
01/01/2023A_1aa/b
01/01/2023A_1aa/c
01/01/2023A_1aad
01/01/2023A_1aae
01/01/2023A_1aa/f
01/01/2023A_1aag
01/01/2023A_1aah
01/01/2023A_1aa/i
01/01/2023A_1aaj
02/01/2023A_1aa/b
02/01/2023A_1aa/c
02/01/2023A_1aad
02/01/2023A_1aae
02/01/2023A_1aa/f
02/01/2023A_1aag
02/01/2023A_1aah
02/01/2023A_1aa/i
02/01/2023A_1aaj
01/01/2023FNa
01/01/2023FNb
01/01/2023FNc
01/01/2023FNd
01/01/2023FNe
01/01/2023FNg
01/01/2023FNh
01/01/2023FNi
02/01/2023FNa
02/01/2023FNb
02/01/2023FNc
02/01/2023FNd
02/01/2023FNe
02/01/2023FNg
02/01/2023FNh
02/01/2023FNi
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You may have to escape the slash with a backslash e.g. 01\/01\/2023 although this is not a quantifier, for that you are looking for + or * or {1} for example. Please check all the values you have in your tokens.

0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...