Splunk Search

what is the maximum number of lines my search result can return ?

dilipdwayne
Engager

for example : If i dont use " limit = 0 "it will return unlimited number of lines in search result but without using this command what would be the maximum number of lines it can return by default ?? whether splunk has any restrictions for maxmimum number of lines ??

Tags (1)
0 Karma
1 Solution

sbbadri
Motivator

Check this below link,

https://docs.splunk.com/Documentation/Splunk/6.6.2/Admin/Limitsconf

[searchresults]

  • This stanza controls search results for a variety of Splunk search commands.

maxresultrows =
* 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.
* Default: 50000

View solution in original post

0 Karma

sbbadri
Motivator

Check this below link,

https://docs.splunk.com/Documentation/Splunk/6.6.2/Admin/Limitsconf

[searchresults]

  • This stanza controls search results for a variety of Splunk search commands.

maxresultrows =
* 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.
* Default: 50000

0 Karma

dilipdwayne
Engager

thanks bro !!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...