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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...