Splunk Search

| metadata type=sources maxes out at 10000 - limits.conf setting?

parallaxed
Path Finder

For some reason this search maxes out at 10000 (i.e. only returns 10000 sources, there are more...), and I can't seem to find the related limit - is it hardcoded?

Tags (2)
2 Solutions

gkanapathy
Splunk Employee
Splunk Employee

Yes, it is hard coded on 4.0.x. In 3.x, you can add a count=100000 parameter to increase the number of results returned.

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

It is tunable in 4.1.x in limits.conf.

Add to etc/system/local/limits.conf:

[metadata]
maxcount = *some larger number*

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

It is tunable in 4.1.x in limits.conf.

Add to etc/system/local/limits.conf:

[metadata]
maxcount = *some larger number*

gkanapathy
Splunk Employee
Splunk Employee

Yes, it is hard coded on 4.0.x. In 3.x, you can add a count=100000 parameter to increase the number of results returned.

parallaxed
Path Finder

Why is it hard coded? Is there an alternative to count sources that's as quick as using the metadata?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...