Splunk Search

How do you make a multiple cumulative time series?

isaacsanders
Engager

I can make mulitple summed time series.

source="splunk-source"
| timechart sum(figure) as figure by category

I can make a single cumulative summed time series.

source="splunk-source"
| timechart sum(figure) as figure
| streamstats sum(figure) as cumulative_figure
| timechart last(cumulative_figure) 

But I can't make multiple cumulative summed time series.

I would appreciate some help with that.

0 Karma
1 Solution

somesoni2
Revered Legend

Give this a try

source="splunk-source"
 | timechart sum(figure) as figure by category
 | streamstats sum(*) as cumulative_*
 | timechart last(cumulative_*) 

View solution in original post

somesoni2
Revered Legend

Give this a try

source="splunk-source"
 | timechart sum(figure) as figure by category
 | streamstats sum(*) as cumulative_*
 | timechart last(cumulative_*) 
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...