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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...