Getting Data In

Can I configure index to replicate in clustering environment?

Takajian
Builder

I am thinking to use data duplication function in clustering environment. As I do not need to duplicate summary index, I would like to configure which index to duplicate in clustering environment. Does somebody know if it is possible? If possible, please let me know how to configure?

Tags (1)
0 Karma

sowings
Splunk Employee
Splunk Employee

You should be able to set the replication factor for a specific index using the repFactor parameter in indexes.conf.

The description of this option is here:

repFactor = <nonnegative integer>|"auto"
        * Only relevant if this instance is a clustering slave (but see note about "auto" below).
        * See server.conf spec for details on clustering configuration.
        * Value of 0 turns off replication for this index.
        * If set to "auto", slave will use whatever value the master is configured with
        * Highest legal value is 4294967295

If you want to dictate that a given index should not be replicated, set repFactor = 1.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...