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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...