Splunk Search

Receiving internal log errors

vpantangi
Explorer

I am getting these errors in my internal logs:

ERROR SearchOperator:kv - Cannot compile RE \"(?:\s*'[^']*'|\s*"[^"]*"|\s*[^,]*)\s*(?[^,']*'[^']*'|[^,"]*"[^"]*"|[^,]*)\s*(?[^,']*'[^']*'|[^,"]*"[^"]*"|[^,]*),\s*(?[^,']*'[^']*'|[^,"]*"[^"]*"|[^,]*),\s*(?[^,']*'[^']*'|[^,"]*"[^"]*"|[^,]*)\" for transform 'field_extraction_for_scm_system': Regex: two named subpatterns have the same name (PCRE2_DUPNAMES not set).

Couldn't figure out how to fix it.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You have two or more constructs of the form (?<foo>bar) with the same name ("foo" in this example). Fix that and the error will go away.
If you edit your question to fix the regular expression (the system mangles code not inside backtics) then we can be more specific.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...