Knowledge Management

Defining summary indexes in indexes.conf in a distributed/cluster environment

rjthibod
Champion

My app includes the definition of a summary index in indexes.conf. When I am providing a copy of the app for clustered/distributed Splunk Enterprise environments, I like to split the app into two versions: one for the search heads and one for the indexers.

Regarding the summary index definition in indexes.conf, should I include the definition in the search head version of the app or the indexer version of the app? Does it matter either way? Should I only include it in the indexer version if the environment is configured to index the summary data on the indexers (i.e., the outputs.conf is configured to forward summary data to the indexers)?

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Telling search heads to forward their data to indexers is good practice, so you should define summary indexes on the indexers too.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Telling search heads to forward their data to indexers is good practice, so you should define summary indexes on the indexers too.

0 Karma

rjthibod
Champion

Am I understanding you correctly in that defining the sumary index (or any index for that matter) in indexes.conf and loading that file on both search heads and indexers will not cause problems?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Having the indexes.conf definition on both the search heads and the indexers won't cause problems - both will create an empty index, but only the indexers will write data to it assuming your search heads forward their data.

For example, your search heads all have a main index, or _internal, or _audit, or _introspection... yet the data for those is only stored on the indexers.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

The indexes.conf should be in Indexers (must). If your summary index searches are already available in the app (already created to use the summary indexes), then the indexes.conf is not required on Search Head. However if you want the summary index to be available for use (for other searches that want to use the same summary index), then you should keep a copy of Indexes.conf on Search Head as well (then only they'll appear on summary index dropdown on create search page).

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...