<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: index replication in custom index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369398#M67063</link>
    <description>&lt;P&gt;Hello Adonio, &lt;/P&gt;

&lt;P&gt;Rep factor is 2. Search factor is 2. When  I am trying to do search index=dap.  Results are only coming from the IDX2 host where I forwarded it from HF.  Index configuration is same in all indexer as pushed the config file from cluster master. &lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2017 16:26:44 GMT</pubDate>
    <dc:creator>Prakhar_shukla</dc:creator>
    <dc:date>2017-05-09T16:26:44Z</dc:date>
    <item>
      <title>index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369396#M67061</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
i have created a new index DAP in cluster master and shared the configuration of this new indexes.conf with all peers.&lt;BR /&gt;
i put the file in cluster master folder ../_cluster/local/  then distribute the bundle to all peer.&lt;BR /&gt;
i have CM1 , IDX1,IDX2,IDX3 and IDX4.&lt;BR /&gt;
Now from Heavy forwarder i am forwarding the data to  IDX2 index name DAP. In search i am able to search the data,&lt;/P&gt;

&lt;P&gt;My question here is - 1) why DAP index is not replicating? all the time in search head, i am getting my data from IDX2 DAP index, why not from other IDXs&lt;BR /&gt;
2) Can i directly forward heavy forwarder data to cluster master index DAP? will it work?&lt;/P&gt;

&lt;P&gt;My conf in HF is -&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///tmp/Gov.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = dap&lt;BR /&gt;
_TCP_ROUTING = DAP&lt;/P&gt;

&lt;P&gt;outputs.conf-&lt;/P&gt;

&lt;P&gt;[tcpout:DAP]&lt;BR /&gt;
server = IDX2:9997&lt;BR /&gt;
useACK = true&lt;BR /&gt;
[tcpout-server://IDX2:9997]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369396#M67061</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2020-09-29T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369397#M67062</link>
      <description>&lt;P&gt;what are your replication factor and search factor?&lt;BR /&gt;
do you see the index configuration in all indexers? IDX1, IDX2 etc?&lt;BR /&gt;
how can you tell your data is served only from IDX2?&lt;BR /&gt;
try and search: &lt;CODE&gt;index = dap splunk_server = IDX4&lt;/CODE&gt; any results?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 12:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369397#M67062</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-09T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369398#M67063</link>
      <description>&lt;P&gt;Hello Adonio, &lt;/P&gt;

&lt;P&gt;Rep factor is 2. Search factor is 2. When  I am trying to do search index=dap.  Results are only coming from the IDX2 host where I forwarded it from HF.  Index configuration is same in all indexer as pushed the config file from cluster master. &lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 16:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369398#M67063</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-05-09T16:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369399#M67064</link>
      <description>&lt;P&gt;did you try the search?&lt;BR /&gt;
    index = dap splunk_server = IDX4&lt;BR /&gt;
can you check for errors in internal index?&lt;BR /&gt;
    index = _internal log_level - ERROR OR log_level = WARN*&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369399#M67064</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-09-29T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369400#M67065</link>
      <description>&lt;P&gt;Have a look here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Indexer/Configurethepeerindexes#The_indexes.conf_repFactor_attribute"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Indexer/Configurethepeerindexes#The_indexes.conf_repFactor_attribute&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You need to specify the following setting for your index in order to have it replicate to other peers in the cluster.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;repFactor = auto&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 09 May 2017 17:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369400#M67065</guid>
      <dc:creator>shaskell_splunk</dc:creator>
      <dc:date>2017-05-09T17:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: index replication in custom index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369401#M67066</link>
      <description>&lt;P&gt;I have to remind myself to never assume.&lt;BR /&gt;
better make this setting global to avoid future problem as yo encountered now&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 17:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/index-replication-in-custom-index/m-p/369401#M67066</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-09T17:53:38Z</dc:date>
    </item>
  </channel>
</rss>

