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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...