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
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...