<?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: Forwarder config with Multiple Indexers in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340625#M6870</link>
    <description>&lt;P&gt;So you have two Universal Forwarders, one in your Lab DC and one on the PRODUCTION.&lt;/P&gt;

&lt;P&gt;And you have two Splunk Enterprise, one Lab and one PRODUCTION. Is this correct?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 11:43:46 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2018-03-13T11:43:46Z</dc:date>
    <item>
      <title>Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340624#M6869</link>
      <description>&lt;P&gt;HI guys, i'm forwarding events form my DCs to both my production and lab instances using the following inputs:&lt;/P&gt;

&lt;P&gt;Prod:&lt;BR /&gt;
[WinEventLog://Security]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = corp-dc&lt;BR /&gt;
persistentQueueSize=500MB&lt;/P&gt;

&lt;P&gt;Lab:&lt;BR /&gt;
[WinEventLog://Security]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = lab&lt;BR /&gt;
persistentQueueSize=500MB&lt;/P&gt;

&lt;P&gt;And then my outputs:&lt;/P&gt;

&lt;H1&gt;Production Enterprise Indexer&lt;/H1&gt;

&lt;P&gt;[tcpout:production]&lt;BR /&gt;
server = prod.net:7999&lt;/P&gt;

&lt;H1&gt;Lab Splunk developer Instance&lt;/H1&gt;

&lt;P&gt;[tcpout:lab]&lt;BR /&gt;
server = lab.net:9997&lt;/P&gt;

&lt;P&gt;Problem si when the lab indexer stops taking in events (disk full or whatever) the forwarder also stops sending to production. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 11:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340624#M6869</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2018-03-13T11:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340625#M6870</link>
      <description>&lt;P&gt;So you have two Universal Forwarders, one in your Lab DC and one on the PRODUCTION.&lt;/P&gt;

&lt;P&gt;And you have two Splunk Enterprise, one Lab and one PRODUCTION. Is this correct?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 11:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340625#M6870</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-13T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340626#M6871</link>
      <description>&lt;P&gt;I have a single forwarder forwarding to both a LAB and production indexer. Splunk enterprise on prod and running Splunk Dev License on Lab  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 11:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340626#M6871</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2018-03-13T11:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340627#M6872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you put this in outputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=indexer1,indexer2

[tcpout:indexer1]
server=&amp;lt;lab_server_ip&amp;gt;:9997

[tcpout:indexer2]
server=&amp;lt;production_ip&amp;gt;:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer this data for data cloning:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Forwarder/7.0.2/Forwarder/Configureforwardingwithoutputs.conf"&gt;http://docs.splunk.com/Documentation/Forwarder/7.0.2/Forwarder/Configureforwardingwithoutputs.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340627#M6872</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-13T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340628#M6873</link>
      <description>&lt;P&gt;I don't think the user wants production data going to the dev environment in case the pro indexer fails...&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340628#M6873</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-13T12:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340629#M6874</link>
      <description>&lt;P&gt;Ok so the reason is probably the Universal Forwarder has a Queue size that would fill up when your indexer fails, as it can't release any of the events in that queue&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:34:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340629#M6874</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-13T12:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340630#M6875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes, thats the case in most of the environments, but here user said " I'm forwarding events form my DCs to both my production and lab instances". Thats why look for this option of cloning.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340630#M6875</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-13T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340631#M6876</link>
      <description>&lt;P&gt;Agreed, maybe I'm overthinking, let's see what the user says&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:56:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340631#M6876</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-13T12:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340632#M6877</link>
      <description>&lt;P&gt;I want data data to go to both but I don't want issues on my lab affecting the forwarding of data to my prod. That's whats happening. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340632#M6877</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2018-03-13T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder config with Multiple Indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340633#M6878</link>
      <description>&lt;P&gt;The thing is, if you have two separate instances and are sending segmented data to Prod or Lab, you don't want to get mixed data in either of the environments.&lt;/P&gt;

&lt;P&gt;What I would suggest to avoid getting your tcpout queue full is explore this in outputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dropEventsOnQueueFull = &amp;lt;integer&amp;gt;
* If set to a positive number, wait &amp;lt;integer&amp;gt; seconds before throwing out
  all new events until the output queue has space.
* Setting this to -1 or 0 will cause the output queue to block when it gets
  full, causing further blocking up the processing chain.
* If any target group's queue is blocked, no more data will reach any other
  target group.
* Using auto load-balancing is the best way to minimize this condition,
  because, in that case, multiple receivers must be down (or jammed up)
  before queue blocking can occur.
* Defaults to -1 (do not drop events).
* DO NOT SET THIS VALUE TO A POSITIVE INTEGER IF YOU ARE MONITORING FILES!
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Using this this on the &lt;/P&gt;

&lt;P&gt;[tcpout:lab]&lt;BR /&gt;
server = lab.net:9997&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Forwarder-config-with-Multiple-Indexers/m-p/340633#M6878</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-13T13:09:20Z</dc:date>
    </item>
  </channel>
</rss>

