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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...