Reporting

TimeChart report with accrued event count

shorgan
New Member

How can I build a report to show the total count of a specific event over time. All of my timecharts are showing spikes over the time range but not accruing the number throughout.

Tags (1)
0 Karma

lguinn2
Legend

I am not sure what you mean by "accruing the number throughout". It would be helpful to see your actual search.

If you want a timechart that counts events, you can do this

yoursearchhere | timechart count

If you want to specify the time interval you can do this

yoursearchhere | timechart count span=1h

If you want to see the count as an ever-increasing number, I guess you could do this

yoursearchhere 
| timechart count as hourlyCount span=1h
| streamstats sum(hourlyCount) as count
0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...