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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...