<?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 How can I forward data from UniversalForwarder for 2 instances? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300184#M56791</link>
    <description>&lt;P&gt;I have universal forwarder with Splunk_TA_Stream and my app _server_app_audit where in inputs.conf I write &lt;CODE&gt;_TCP_Routing = mygroup1&lt;/CODE&gt; or 2 at each app. After that, I write into outputs.conf &lt;CODE&gt;[tcpout:mygroup1 or 2]&lt;/CODE&gt;   &lt;CODE&gt;server = index1:9997 or 2&lt;/CODE&gt; at each app but stream sends data to all indexes.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:45:43 GMT</pubDate>
    <dc:creator>Klimdy</dc:creator>
    <dc:date>2020-09-29T18:45:43Z</dc:date>
    <item>
      <title>How can I forward data from UniversalForwarder for 2 instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300184#M56791</link>
      <description>&lt;P&gt;I have universal forwarder with Splunk_TA_Stream and my app _server_app_audit where in inputs.conf I write &lt;CODE&gt;_TCP_Routing = mygroup1&lt;/CODE&gt; or 2 at each app. After that, I write into outputs.conf &lt;CODE&gt;[tcpout:mygroup1 or 2]&lt;/CODE&gt;   &lt;CODE&gt;server = index1:9997 or 2&lt;/CODE&gt; at each app but stream sends data to all indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300184#M56791</guid>
      <dc:creator>Klimdy</dc:creator>
      <dc:date>2020-09-29T18:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I forward data from UniversalForwarder for 2 instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300185#M56792</link>
      <description>&lt;P&gt;Can you please give sample configuration files to understand requirement more?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 10:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300185#M56792</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-02T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I forward data from UniversalForwarder for 2 instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300186#M56793</link>
      <description>&lt;P&gt;inputs.conf  in Splunk_TA_Stream on forwarder:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[streamfwd://streamfwd]&lt;BR /&gt;
_TCP_ROUTING = testGroup &lt;BR /&gt;
splunk_stream_app_location = &lt;A href="https://my_indexer2:8000/en-us/custom/splunk_app_stream/" target="_blank"&gt;https://my_indexer2:8000/en-us/custom/splunk_app_stream/&lt;/A&gt;&lt;BR /&gt;
stream_forwarder_id = &lt;BR /&gt;
disabled = 0&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;outputs.conf in Splunk_TA_Stream on forwarder:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[tcpout:testgroup] &lt;BR /&gt;
server = my_indexer2:9997&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;and i have a second app on forwarder:&lt;/P&gt;

&lt;P&gt;inputs.conf in _server_app_my_app on forwarder:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[monitor:///var/log/audit/audit.log]&lt;BR /&gt;
_TCP_ROUTING = prodgroup &lt;BR /&gt;
disabled = false &lt;BR /&gt;
index = auditd &lt;BR /&gt;
sourcetype = linux:audit&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;ouputs.conf in _server_app_my_app on forwarder:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[tcpout:prodgroup] &lt;BR /&gt;
server = my_indexer1:9997&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Before, I had outputs.conf in /local but i deleted it and after that restart splunkforwarder. Deployment server is my_indexer1, i need stream data routing to my_indexer2 and linux:audit to my_indexer1, but stream data is routing on 2 indexer. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:45:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-forward-data-from-UniversalForwarder-for-2-instances/m-p/300186#M56793</guid>
      <dc:creator>Klimdy</dc:creator>
      <dc:date>2020-09-29T18:45:45Z</dc:date>
    </item>
  </channel>
</rss>

