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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...