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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...