Getting Data In

repFactor is not set to auto docker-splunk image

davidgreenibm
New Member

Hi all,
I'm working on deploying index clustering in kuberntes using docker-splunk image and faced with the following issue:
By default on indexers when you configure cluster indexing repFactor is set to 0 what prevent replication between indexers. Should this be fixed in the nearest time or better to fix by your own?
I'm interested,how people who faced with it resolved this issue?

0 Karma

codebuilder
Influencer

You are correct. The default value for repFactor is zero, which means no replication.
If you omit the parameter from indexes.conf, that is the value you get, and no replication.
You need to explicitly set the value at either the global, or per index level within indexes.conf to override the default.

https://docs.splunk.com/Documentation/Splunk/8.0.2/Indexer/Configurethepeerindexes#The_indexes.conf_...

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

manjunathmeti
Champion

Attribute repFactor is set during index configuration. By default it is set to 0. You need to change it to auto when you create an index.

0 Karma

davidgreenibm
New Member

It's applies to traditional deployment of Splunk, I'm talking about splunk in docker.

0 Karma

davidgreenibm
New Member

You can't set this param in UI and setting this param on every indexer sounds odd,especially when there is an ansible role that should configure all indexers as a cluster.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...