Dashboards & Visualizations

display a daily total and 5 min charts of the same data

jhuysing
Explorer

I would  to have a graph so I can see the trend  for a period and have a overlay with the running total for the day
Colleague suggested this

 

index= ......
| timechart sum(values) span=5m by hosts limit=0
| addtotals

 

 But, it doesn't give the running total for day it give the total for the measurement period

Labels (2)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index ...
| timechart sum(values) span=5m limit=0 by hosts
| addtotals
| bin _time as day span=1d
| streamstats sum(Total) as running reset_on_change=true by day
| fields - day Total

PickleRick
SplunkTrust
SplunkTrust

Honestly, your requirements is a bit vague. How would that work? You want to have a timechart of 5-minute sums by host and additionally for each host a separate series repeating throughout the whole day the value of overall sum per host? That will not look well on the graph.

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 ...