- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can someone explain me the concept and calculation of replication and search factor?

I tried learning from splunk docs but did not understand.How to calculate the replication and search factor in a clustered environment?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey abhi04,
Replication factor defines how many replicated buckets you want .Suppose you have clustered environment of 3 indexers and if you keep replication factor as 3,then each indexer would have replicated copies of the other indexers.
If the indexer fails,the other two indexers will have the replicated copies and those will become searchable.Only the primary copies that were available in the indexer that failed, the other indexers would make only those copies searchable.
Search factor is the number of copies that you want to be available in Splunk.
Note: If the search factor is high, all the index files are replicated and that can account on your storage.
You need to decide replication factor and search factor as per how you want high availability to be set.
You can refer this doc for detailed explanation:
http://docs.splunk.com/Documentation/Splunk/7.0.2/Indexer/Basicclusterarchitecture
Let me know if this helps!!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Let's use a Single Site Cluster case.
The replication factor is total the number of copies of _raw data that exist in within the cluster members. If your cluster has 3 elements and you have a replication factor of 2, then you can be sure that 2 of your cluster members have one copy of a specific bucket (_raw)
The search factor is the number of "indexed data" meaning the structure that makes data searchable. The same thing applies, if you have a search factor of 2 in a 3 members cluster, then 2 of them have the indexed structure.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

What is the formula for replication and search factor? And also wanted explanation in clustered environment.
Thanks for the answer.
