Deployment Architecture

How do I determine the number of buckets across my indexer cluster?

jackgordon
New Member

Is there a command I can execute? Is there an App I can deploy to see this information?

Thank you.

0 Karma
1 Solution

nkwong_splunk
Splunk Employee
Splunk Employee

You can use the dbinspect command to get the count of buckets for each indexer.

Here is an example on how to use dbinspect to get the count of buckets by each Splunk server.

| dbinspect index=_internal | stats count by splunk_server

Here is the documentation to provide additional details and examples of using the dbinspect command.
http://docs.splunk.com/Documentation/Splunk/6.3.2/SearchReference/Dbinspect#Description

View solution in original post

0 Karma

khourihan_splun
Splunk Employee
Splunk Employee
| dbinspect index=* 
| stats count by splunk_server index bucketId 
| fields - count 
| eventstats count(bucketId) As cluster_buckets 
| eventstats dc(bucketId) As num_buckets by index 
| stats Max(num_buckets) As num_buckets Max(cluster_buckets) As cluster_buckets by index
| table index num_buckets cluster_buckets

Run over all time.

nkwong_splunk
Splunk Employee
Splunk Employee

You can use the dbinspect command to get the count of buckets for each indexer.

Here is an example on how to use dbinspect to get the count of buckets by each Splunk server.

| dbinspect index=_internal | stats count by splunk_server

Here is the documentation to provide additional details and examples of using the dbinspect command.
http://docs.splunk.com/Documentation/Splunk/6.3.2/SearchReference/Dbinspect#Description

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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