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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...