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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...