<?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 Two Indexers - Blacklist Data to Specific Indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400156#M71272</link>
    <description>&lt;P&gt;Good morning all-&lt;/P&gt;

&lt;P&gt;I'm working on a design in my lab where we have two indexers. I have data for one of the indexes 'networkvideo' that I want to only go to one of the indexers, while all of the other data gets sent to both. I'm having trouble getting my outputs.conf file to work properly. I read that 'forwardedindex' statements will work only in the global 'tcpout' stanza. How can I modify this to apply to only one of the indexers?&lt;/P&gt;

&lt;P&gt;I appreciate any and all assistance. Below is a version of my work that I know is incorrect, but has all of the important pieces within:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;defaultGroup = indexer1,indexer2&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;#overwrite the defaults:&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.0.whitelist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.1.blacklist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.2.whitelist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;#new blacklist:&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.0.blacklist=networkvideo&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout:indexer1]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;server = xx.xx.xx.1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout:indexer2]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;server = xx.xx.xxx.2&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 13:48:10 GMT</pubDate>
    <dc:creator>DBattisto</dc:creator>
    <dc:date>2019-02-18T13:48:10Z</dc:date>
    <item>
      <title>Two Indexers - Blacklist Data to Specific Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400156#M71272</link>
      <description>&lt;P&gt;Good morning all-&lt;/P&gt;

&lt;P&gt;I'm working on a design in my lab where we have two indexers. I have data for one of the indexes 'networkvideo' that I want to only go to one of the indexers, while all of the other data gets sent to both. I'm having trouble getting my outputs.conf file to work properly. I read that 'forwardedindex' statements will work only in the global 'tcpout' stanza. How can I modify this to apply to only one of the indexers?&lt;/P&gt;

&lt;P&gt;I appreciate any and all assistance. Below is a version of my work that I know is incorrect, but has all of the important pieces within:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;defaultGroup = indexer1,indexer2&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;#overwrite the defaults:&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.0.whitelist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.1.blacklist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.2.whitelist =&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;#new blacklist:&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;forwardedindex.0.blacklist=networkvideo&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout:indexer1]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;server = xx.xx.xx.1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[tcpout:indexer2]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;server = xx.xx.xxx.2&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 13:48:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400156#M71272</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-02-18T13:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Two Indexers - Blacklist Data to Specific Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400157#M71273</link>
      <description>&lt;P&gt;Hi @DBattisto &lt;/P&gt;

&lt;P&gt;I am pretty sure you can't use the blacklist to do this.  You should instead setup two tcpout groups and then use props.conf and transforms.conf to route your data as described here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Configure_routing"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Configure_routing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400157#M71273</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-18T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Two Indexers - Blacklist Data to Specific Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400158#M71274</link>
      <description>&lt;P&gt;Thanks Chris, I think I can make it work. I'm going to set up a second indexer on my lab later today and work it out. I think this would work:&lt;/P&gt;

&lt;P&gt;$/etc/system/local/props.conf:&lt;BR /&gt;
&lt;CODE&gt;#&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;# directs any 'networkvideo' data to indexer2&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;[networkvideo]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;TRANSFORMS-routing=networkvideorouting&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;$/etc/system/local/transforms.conf:&lt;BR /&gt;
&lt;CODE&gt;#&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;# How to route the data:&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;[networkvideorouting]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;REGEX = .&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;DEST_KEY = _TCP_ROUTING&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;FORMAT = Indexer2&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;where 'FORMAT' in the transforms.conf stanza links to the 'Indexer2' stanza in my outputs.conf file.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-Indexers-Blacklist-Data-to-Specific-Indexer/m-p/400158#M71274</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-02-19T12:30:30Z</dc:date>
    </item>
  </channel>
</rss>

