Deployment Architecture
Highlighted

Is it necessary to have index definitions in Cluster Master

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
Highlighted

Re: Is it necessary to have index definitions in Cluster Master

SplunkTrust
SplunkTrust

Hi,

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

Skalli

0 Karma
Highlighted

Re: Is it necessary to have index definitions in Cluster Master

Ultra Champion

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

0 Karma