Splunk Search

problem with lookup command

abhayneilam
Contributor

Hi,

I am getting the following error while running a lookup command with |inputlookup :

[subsearch]: Subsearch produced 726406 results, truncating to maxout 50000.

Please let me know how to get it solved !!

Thanks,
Abhay

Tags (3)
0 Karma

kristian_kolb
Ultra Champion

from the docs on limits.conf

[searchresults]
* This stanza controls search results for a variety of Splunk search commands.

maxresultrows = <integer>
* Configures the maximum number of events are generated by search commands which 
grow the size of your result set (such as multikv) or that create events. Other search commands are explicitly 
controlled in specific stanzas below.
* This limit should not exceed 50000. Setting this limit higher than 50000 causes instability.
* Defaults to 50000.

and also;

[subsearch]
* This stanza controls subsearch results.

maxout = <integer>
* Maximum number of results to return from a subsearch.
* This value cannot be greater than or equal to 10500.
* Defaults to 100.

So it looks like you're hitting a limit somewhere. You'd probably get better help if you provided more info on the search you're running.

/K

0 Karma

abhayneilam
Contributor

Can I get some kind of help in this, plz help !! I am seriously seeking some kind of usefull help !!

Thanks,

0 Karma

abhayneilam
Contributor

Thanks for your information, but what will happen if my results are more than 50,000 rows ?

Following query I am running to find the actual results :

|inputlookup "one_file.csv" | append [ |inputlookup "second_file.csv" ] | append [ |inputlookup "third_file.csv" ] | lookup "Master_file.csv" user_sso

Please let me know how to get rid of the above mentioned "Warning Message"

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...