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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...