Splunk Search

strange report behaviour with short timespans

StefNighthawk
Explorer

Splunk version 5.0.1

Recently I'm getting strange results in my reports.
Although the result tables shows all events until now the last 30-day report only shows results until 30 Mar 21:30.

When changing the 15m span to a span of 30m I do get the correct results.
When playing with a span shorter than 23m the report varies but never displays all results until now.

Is this a bug in Splunk or am I doing something wrong?

The search :

index="dhcpstats" | fields Network, Leases, TotalLeases | timechart span=15m max(Leases) by Network

The csv source :

Time,Leases,Network,TotalLeases
201304010845,730,10.0.0.0/24,1008
201304010900,720,10.0.0.0/24,1008
201304010915,640,10.0.0.0/24,1008
201304010930,756,10.0.0.0/24,1008
201304010945,798,10.0.0.0/24,1008
201304011000,800,10.0.0.0/24,1008
0 Karma
1 Solution

StefNighthawk
Explorer

Works as designed 🙂

Found following paragraph in the Splunk Documentation.

Searches that return too many results per series can cause JSChart to hang the browser. Splunk employs a throttling strategy that restricts the number of results returned per series to 500 by default. You can configure this value by going to JSChart.conf and changing the maxResultsCount parameter to something other than 500.

I'll increase the span so that each series won't have more than 500 results per 30 days or month.
I might even change the .conf to have at least 1 value per hour.

View solution in original post

0 Karma

StefNighthawk
Explorer

Works as designed 🙂

Found following paragraph in the Splunk Documentation.

Searches that return too many results per series can cause JSChart to hang the browser. Splunk employs a throttling strategy that restricts the number of results returned per series to 500 by default. You can configure this value by going to JSChart.conf and changing the maxResultsCount parameter to something other than 500.

I'll increase the span so that each series won't have more than 500 results per 30 days or month.
I might even change the .conf to have at least 1 value per hour.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...