Splunk Search

How to show count of events by host as well as total count (both per minute in same search)

sahil237888
Path Finder

How to show count of events by host as well as total count (both per minute in same search)

Tags (1)
0 Karma

dmarling
Builder

This query will accomplish that request:

| tstats count by _time span=1m host
| eventstats sum(count) as Total by _time
If this comment/answer was helpful, please up vote it. Thank you.
0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...