Deployment Architecture

Is it necessary to have index definitions in Cluster Master

strive
Influencer

Hi,

I was checking some old splunk distributed environment. I found a comment in the indexes.conf.template that was present in /opt/splunk/etc/system/local/ directory of cluster master. The comment is "Local indexes with the same names as the indexes on the Indexers have to exist otherwise Splunk will not allow the saved search to reference them".

I doubt if it is true. If it is true then is it a bug or in which version of splunk it is required?

Note: Definitely data wont be stored on cluster master, it is just that the index definitions should be present.

I was wondering is it something similar to defining index in Search Head to log alert events. I had raised this as a comment and a bug has been logged for this -- Please see comments section http://docs.splunk.com/Documentation/Splunk/7.0.1/Alert/LogEvents

Thanks,
Strive

0 Karma

skalliger
Motivator

Hi,

no, you do not need a definition under $SPLUNK_HOME$/etc/system/local. You only need those indexes stored in $SPLUNK_HOME$/etc/master-apps/_cluster/local for pushing them to the indexers.

Skalli

0 Karma

ddrillic
Ultra Champion

Absolutely. The official documentation at Update common peer configurations and apps

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 ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

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