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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...