<?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: How can I route data to specific indexers using a heavy forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225202#M44054</link>
    <description>&lt;P&gt;solved now,, thanks alot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2016 20:27:25 GMT</pubDate>
    <dc:creator>MAShawky</dc:creator>
    <dc:date>2016-09-30T20:27:25Z</dc:date>
    <item>
      <title>How can I route data to specific indexers using a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225200#M44052</link>
      <description>&lt;P&gt;I have a universal forwarder that sends 2 source types to heavy forwarder successfully. i need this heavy forwarder to route the received source types between 2 indexers.&lt;/P&gt;

&lt;P&gt;My configurations on heavy forwarder is like below&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cron]
 TRANSFORMS-routing=cron-route

[syslog]
 TRANSFORMS-routing=syslog-route
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cron-route]
DEST_KEY=_TCP_ROUTING
FORMAT=indexer-1

[syslog-route]
DEST_KEY=_TCP_ROUTING
FORMAT=indexer-2,indexer-1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:indexer-1]
server = 192.168.14.14:9997

[tcpout:indexer-2]
server = 192.168.14.15:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225200#M44052</guid>
      <dc:creator>MAShawky</dc:creator>
      <dc:date>2016-09-29T09:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I route data to specific indexers using a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225201#M44053</link>
      <description>&lt;P&gt;The document that discusses this can be found here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Forwarding/Routeandfilterdatad#Filter_and_route_event_data_to_target_groups"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Forwarding/Routeandfilterdatad#Filter_and_route_event_data_to_target_groups&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;At first glance, your configuration appears to be mostly right.  I think you will also need to include the "REGEX" setting under each &lt;EM&gt;transforms.conf&lt;/EM&gt; stanza.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cron-route]
REGEX = (.)
DEST_KEY=_TCP_ROUTING
FORMAT=indexer-1

[syslog-route]
REGEX = (.)
DEST_KEY=_TCP_ROUTING
FORMAT=indexer-2,indexer-1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try and and see if that works.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225201#M44053</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2016-09-29T16:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I route data to specific indexers using a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225202#M44054</link>
      <description>&lt;P&gt;solved now,, thanks alot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 20:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-route-data-to-specific-indexers-using-a-heavy/m-p/225202#M44054</guid>
      <dc:creator>MAShawky</dc:creator>
      <dc:date>2016-09-30T20:27:25Z</dc:date>
    </item>
  </channel>
</rss>

