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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...