Splunk Search

Query to get volume of specific word

Himani88jain
New Member

I want to get the volume for a specific word "ERROR" occurrence in a specific server in last 7 days. How to do that? Please help.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Assuming by "volume" you mean the number of occurrences, try this

index=foo "ERROR" host=bar earliest=-7d
| stats count
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...