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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...