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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...