<?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 to route same source to multiple indexers and their respective indexes ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560423#M92633</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233960"&gt;@dm1&lt;/a&gt;&amp;nbsp; That's right indexers is not a problem can be done in UF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;indexes setting you need HF help.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jul 2021 02:40:28 GMT</pubDate>
    <dc:creator>venkatasri</dc:creator>
    <dc:date>2021-07-22T02:40:28Z</dc:date>
    <item>
      <title>How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560411#M92628</link>
      <description>&lt;P&gt;I have two data sources (Syslog and Netflow) which I am collecting on a dedicated host, where I have installed a Universal Forwarder. It is acting as an intermediate forwarder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to route this data to Indexers of two different organisations on their respective indexes.&lt;/P&gt;&lt;P&gt;E.g&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;OrgA&lt;OL&gt;&lt;LI&gt;Syslog needs to go to index=syslog_A&lt;/LI&gt;&lt;LI&gt;Netflow needs to go to index=netflow_A&lt;/LI&gt;&lt;LI&gt;Indexer is IndexerA:9997&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;OrgB&lt;OL&gt;&lt;LI&gt;Same Syslog as above needs to go to index=syslog_B&lt;/LI&gt;&lt;LI&gt;Same Netflow as above needs to go to index=netflow_B&lt;/LI&gt;&lt;LI&gt;Indexer is IndexerB:9997&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;MyOrg&lt;OL&gt;&lt;LI&gt;Only Splunk internal logs to IndexerMyOrg&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Because this routing is based on metadata, I believe, I should be able to achieve this using universal forwarder.&lt;/P&gt;&lt;P&gt;Can someone please advise how I can achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 00:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560411#M92628</guid>
      <dc:creator>dm1</dc:creator>
      <dc:date>2021-07-22T00:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560413#M92629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233960"&gt;@dm1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_TCP_ROUTING setting in inputs conf works for your case. and you need to configure two tcpout indexer groups in outputs conf. Your config might look like as follows,&lt;/P&gt;&lt;P&gt;#inputs.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://&amp;lt;your_syslog_file_path&amp;gt;]
index=indexA
sourcetype=&amp;lt;syslog_st&amp;gt;
_TCP_ROUTING = indexerA-group

[monitor://&amp;lt;your_netflow_file_path&amp;gt;]
index=indexA
sourcetype=&amp;lt;netflow_st&amp;gt;
_TCP_ROUTING = indexerA-group 

[monitor://&amp;lt;your_syslog_file_path&amp;gt;]
index=indexB
sourcetype=&amp;lt;syslog_st&amp;gt;
_TCP_ROUTING = indexerB-group

[monitor://&amp;lt;your_netflow_file_path&amp;gt;]
index=indexB
sourcetype=&amp;lt;netflow_st&amp;gt;
_TCP_ROUTING = indexerB-group &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#outputs.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcpout:indexerA-group]
server=&amp;lt;indexerA-host&amp;gt;:9997

[tcpout:indexerB-group]
server=&amp;lt;indexerB-host&amp;gt;:9997&lt;/LI-CODE&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;An upvote would&amp;nbsp; be appreciated and Accept solution if this reply helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 01:42:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560413#M92629</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-22T01:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560415#M92630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;, thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but with the same monitor stanza, wouldn't Splunk just choose one setting and only forward to one indexer based on precedence ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 01:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560415#M92630</guid>
      <dc:creator>dm1</dc:creator>
      <dc:date>2021-07-22T01:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560416#M92631</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233960"&gt;@dm1&lt;/a&gt;&amp;nbsp;I too doubt about that as fishbucket ignores other monitors as duplicates just give a try! if not working then You might need HF to actually achieve in that case.&lt;/P&gt;&lt;P&gt;Can you follow this link -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Archive/One-source-to-two-indexes/td-p/407247" target="_blank" rel="noopener"&gt;Solved: One source to two indexes - Splunk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if this reply helps!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 01:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560416#M92631</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-22T01:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560418#M92632</link>
      <description>&lt;P&gt;From this link -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/Forwarding/Routeandfilterdatad#Route_inputs_to_specific_indexers_based_on_the_data_input," target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/Forwarding/Routeandfilterdatad#Route_inputs_to_specific_indexers_based_on_the_data_input,&lt;/A&gt;&amp;nbsp;it seems possible to route to two different indexers, but my only main challenge is assigning two indexes to same source&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 02:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560418#M92632</guid>
      <dc:creator>dm1</dc:creator>
      <dc:date>2021-07-22T02:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to route same source to multiple indexers and their respective indexes ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560423#M92633</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233960"&gt;@dm1&lt;/a&gt;&amp;nbsp; That's right indexers is not a problem can be done in UF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;indexes setting you need HF help.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 02:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-same-source-to-multiple-indexers-and-their/m-p/560423#M92633</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-22T02:40:28Z</dc:date>
    </item>
  </channel>
</rss>

