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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...