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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...