Splunk Search

Query for eventcount

VijaySrrie
Builder

I have a lookup file with indexes in it, I want a query i need the eventcount of the indexes mentioned in the lookup table for 24 hrs

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

This should get you going in the right direction.

| tstats count where [|inputlookup indexes.csv | fields index | format] by index
---
If this reply helps you, Karma would be appreciated.
0 Karma

harishalipaka
Motivator
0 Karma
Get Updates on the Splunk Community!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...