Splunk Search

Difference between per_second and span=1s in timechart?

Mattjj
Explorer

Hi all,

We are trying to show the bytes/s, averaged over 15 mins.  I'm getting far lower results if I use per_second than a live timechart with a span of 1s, so:

index="datafeed" | where isnotnull(bytes) | timechart span=15m per_second(bytes)

Gives an average of 10mb/s

Whereas:

index="datafeed" | where isnotnull(bytes) | timechart span=1s sum(bytes)

Shows the data constantly hovering around the 100mb/s mark, so the 15 min average must be up at that level.  Am I missing something obvious?  

Thanks for any pointers!

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...