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 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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