<?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 configure a universal forwarder to clone data to two different indexes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187323#M37444</link>
    <description>&lt;P&gt;Thanks! I guessed as much. An additional implied, but not articulated, question was: is there any way of doing this on the Universal Forwarder (using single stanzas)?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2015 12:06:04 GMT</pubDate>
    <dc:creator>echalex</dc:creator>
    <dc:date>2015-08-27T12:06:04Z</dc:date>
    <item>
      <title>How to configure a universal forwarder to clone data to two different indexes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187321#M37442</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a setup where we share some data with our partner, so we have set up two different groups in &lt;CODE&gt;outputs.conf&lt;/CODE&gt;, call them &lt;CODE&gt;ourGroup&lt;/CODE&gt; and &lt;CODE&gt;theirGroup&lt;/CODE&gt;. Then in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;, we set the &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; to send to both groups. So far, so good.&lt;/P&gt;

&lt;P&gt;Now it transpires that our partner would prefer a different naming convention for the index. I've looked at &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt;, but it doesn't seem possible to change the index name, based on the &lt;CODE&gt;tcpout&lt;/CODE&gt;-group. I'm not even sure if this is available on the UF.&lt;/P&gt;

&lt;P&gt;So option 1 is to have multiple stanzas in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; for each source, with a different &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; in each stanza. So, will there be a performance hit on the host with the UF installed? Especially interested in the Windows event log facility and how this would cope with several input stanzas.&lt;/P&gt;

&lt;P&gt;Option 2, I guess, is to implement this in the receiving indexers. Whether I want to do this, I'm not completely sure. It would probably have to be our indexers. Our partner would have to implement several stanzas in &lt;CODE&gt;props.conf&lt;/CODE&gt;, based on the host.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 09:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187321#M37442</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2015-08-27T09:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to clone data to two different indexes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187322#M37443</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;Option 1 won't work, you can't have multiple inputs to the same path, it will use only one of them.&lt;/P&gt;

&lt;P&gt;The second option is the right one, leave the input without index configuration. And in the indexers use transforms to modify the index dynamically based on the sourcetype. See:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html"&gt;http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187322#M37443</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2015-08-27T11:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to clone data to two different indexes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187323#M37444</link>
      <description>&lt;P&gt;Thanks! I guessed as much. An additional implied, but not articulated, question was: is there any way of doing this on the Universal Forwarder (using single stanzas)?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 12:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-clone-data-to-two/m-p/187323#M37444</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2015-08-27T12:06:04Z</dc:date>
    </item>
  </channel>
</rss>

