Splunk Search

Timechart value every hour + cumulative line

balash1979
Path Finder

I got the query that shows count every hour using timechart command 

    <<my query>> | timechart span=1h count(path) 

What I would like is to show both count per hour and cumulative value (basically adding up the count per hour)
How can I show the count per hour as column chart but the cumulative value as a line chart ?

--Sunray

Labels (1)
0 Karma
1 Solution

saravanan90
Contributor

This can help..

    <<my query>> | timechart span=1h count(path) | streamstats sum(count) as cumulative_data

View solution in original post

saravanan90
Contributor

This can help..

    <<my query>> | timechart span=1h count(path) | streamstats sum(count) as cumulative_data

Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...