Splunk Search

Why is my inputlookup search suddenly producing error "regular expression is too large"?

rgonzale6
Path Finder

We use inputlookup to run large numbers (thousands) of indicators against network traffic in our org. This has worked well for some time.

[|inputlookup indicators.csv | fields foo| rename foo as search|format maxresults=10000] index=bar

Recently, on another instance of Splunk I've started getting this error:

Regex: regular expression is too large
To get the search to complete, I either have to remove the maxresults variable (which 'dumbs' the amount of indicators used in the search to the first 100) or change maxresults to 1000 - any larger number fails.

Did something change with the way Splunk processes these types of searches?

0 Karma
1 Solution

rgonzale6
Path Finder

Metachars in my csv were breaking the search - garbage in, garbage out!

View solution in original post

0 Karma

rgonzale6
Path Finder

Metachars in my csv were breaking the search - garbage in, garbage out!

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 ...