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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...