Splunk Search

How do check the number of events of an index?

perlish
Communicator

For example, I have added some other indexes, I want to know that whether the events have been sent into the corresponding index ?
And I also want to know that the NUMBER of events of that index?

Tags (3)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

The easiest way is probably using eventcount:

| eventcount index=myindex

http://docs.splunk.com/Documentation/Splunk/5.0.3/SearchReference/Eventcount

Note that dbinspect is good, but will not work in a distributed cluster, thought it can be run independently on each indexer.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

The easiest way is probably using eventcount:

| eventcount index=myindex

http://docs.splunk.com/Documentation/Splunk/5.0.3/SearchReference/Eventcount

Note that dbinspect is good, but will not work in a distributed cluster, thought it can be run independently on each indexer.

Ayn
Legend
0 Karma

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