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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...