Splunk Search

local limits.conf not working for the specified span would result in too many (>50000) rows

jaideep_gaikwad
Engager

I have created a view for max transactions/second, I have a timechart with a 1 second span which counts transaction/second per day for given time range.

host="*" | transaction "TxId" startswith=("0051-Request") endswith=("0077-Response") | timechart span=1s count(TxId) as Transactions/Second | timechart span=1d max(Transactions/Second) as MAX_TRANSACTIONS/SEC by host

I already gone through and followed your instructions and modified limits.conf as follow but still getting result with "the specified span would result in too many (>50000) rows".

[searchresults]
maxresultrows = 100000

[anomalousvalue]
maxresultrows = 50000

[metadata]
maxresultrows = 10000

[rare]
maxresultrows = 50000

[restapi]
maxresultrows = 50000

enforce_time_order = true

[set]
maxresultrows = 50000

[stats]
maxresultrows = 50000

[top]
maxresultrows = 100000

Is there any other solution to count max transaction/sec or do I need to modify limits.conf with different values?

Please help me to solve this problem.

somesoni2
Revered Legend

Update another property in your limits.conf in etc/system/local

[discretize]
maxbins = 500000 

Basically both searchresults and discretize property needs to be updated with appropriate value, to increase limit of timechart.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...