Splunk Search

Export results from KV lookup file in Lookup editor?

smanojkumar
Contributor

Hi There,

   I would like to export the results of kv lookup file in a lookup editor, but the results after exporting is only 50k records, even the original results is 80k records, How to download the entire results in a single file?

Thanks!

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smanojkumar,

are you trying to export rows from a KV Store lookup using the inputlookup command or the Lookup Editor App?

Inputllokup has the limit of 50,000 results, but the export from the Lookup Editor shouldn't have this limit.

Ciao.

Giuseppe

0 Karma

smanojkumar
Contributor

I'm trying to use lookup Editor app.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smanojkumar,

at first see if the solution from @woodcock solves your requirement https://community.splunk.com/t5/Splunk-Search/How-can-I-escape-the-50K-subsearch-limit-while-linking...

otherwise, you could modify limits.conf:

[searchresults]
maxresultrows = 100000
[stats]
maxresultrows = 100000
[top]
maxresultrows = 100000

Ciao.

Giuseppe

0 Karma

smanojkumar
Contributor
Actually, i'm having same configuration in test environment but the lookup editor is working fine, but it is not working in dev environment, any other things or ways to increase the export records count.
0 Karma

smanojkumar
Contributor

Hi @gcusello ,

  I'm curious to know about this,

 

Thanks!

0 Karma

smanojkumar
Contributor

We need to modify in all these 3 places in limits.config file? [searchresults] maxresultrows = 100000 [stats] maxresultrows = 100000 [top] maxresultrows = 100000

0 Karma

smanojkumar
Contributor

Hi @gcusello ,

  We are having same configuration in test environment, but it's working fine, not in dev environment. Any other ways are there @gcusello ?

1. test environment

smanojkumar_0-1677569780162.png

2. Dev environment

smanojkumar_1-1677569806261.png

 

0 Karma

smanojkumar
Contributor

Hi @gcusello ,

   Any other way other than this.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smanojkumar,

yes, I used 100000 in my example, but if you have less rown, you can use a minor number.

Ciao.

Giuseppe

0 Karma

smanojkumar
Contributor

Hi @gcusello ,

   I had changed those limits to 500000, even I can't export more than 50k rows.

 

Thanks.

0 Karma
Get Updates on the Splunk Community!

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...

Application management with Targeted Application Install for Victoria Experience

Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...