<?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 do I configure the outputs.conf file to forward data into two separate instances of Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442067#M77050</link>
    <description>&lt;P&gt;Hello Splunk user community,&lt;/P&gt;

&lt;P&gt;i have Linux VMS that are already reporting into a Splunk enterprise instance using a universal forwarder (UF).  I recently set up a Splunk POC instance and would like to leverage the existing UFs to fork that data into my Splunk POC simultaneously.&lt;/P&gt;

&lt;P&gt;To be specific, i'm implementing the collectd daemon for the 1st time to support a Splunk application. It attempts to deploy the UF and if one is already present, it ignores the UF but does install the collectd.&lt;/P&gt;

&lt;P&gt;i know of the outputs.conf and using stanzas, but I just need the syntax to make this happen. This is what i currently have and i need to add to it...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[t-splunk@lgtisplunk1 ~]$ cat /apps/splunk/etc/system/local/outputs.conf
[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = lgtisplunk1.calpers.ca.gov:9997

[tcpout-server://lgtisplunk1.calpers.ca.gov:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thank you,&lt;BR /&gt;
david&lt;/P&gt;</description>
    <pubDate>Tue, 23 Oct 2018 21:11:03 GMT</pubDate>
    <dc:creator>dchima</dc:creator>
    <dc:date>2018-10-23T21:11:03Z</dc:date>
    <item>
      <title>How do I configure the outputs.conf file to forward data into two separate instances of Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442067#M77050</link>
      <description>&lt;P&gt;Hello Splunk user community,&lt;/P&gt;

&lt;P&gt;i have Linux VMS that are already reporting into a Splunk enterprise instance using a universal forwarder (UF).  I recently set up a Splunk POC instance and would like to leverage the existing UFs to fork that data into my Splunk POC simultaneously.&lt;/P&gt;

&lt;P&gt;To be specific, i'm implementing the collectd daemon for the 1st time to support a Splunk application. It attempts to deploy the UF and if one is already present, it ignores the UF but does install the collectd.&lt;/P&gt;

&lt;P&gt;i know of the outputs.conf and using stanzas, but I just need the syntax to make this happen. This is what i currently have and i need to add to it...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[t-splunk@lgtisplunk1 ~]$ cat /apps/splunk/etc/system/local/outputs.conf
[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = lgtisplunk1.calpers.ca.gov:9997

[tcpout-server://lgtisplunk1.calpers.ca.gov:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thank you,&lt;BR /&gt;
david&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 21:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442067#M77050</guid>
      <dc:creator>dchima</dc:creator>
      <dc:date>2018-10-23T21:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the outputs.conf file to forward data into two separate instances of Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442068#M77051</link>
      <description>&lt;P&gt;Refer to &lt;A href="http://docs.splunk.com/Documentation/Forwarder/latest/Forwarder/Configureforwardingwithoutputs.conf"&gt;Configure data cloning on a universal forwarder with outputs.conf&lt;/A&gt; if you want to clone the data or if you want to selectively forward data you can refer to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;Route and filter data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 21:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442068#M77051</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-10-23T21:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the outputs.conf file to forward data into two separate instances of Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442069#M77052</link>
      <description>&lt;P&gt;Looking for something like this to happen?&lt;/P&gt;

&lt;P&gt;Route inputs to specific indexers based on the data input&lt;BR /&gt;
In this scenario, you use inputs.conf and outputs.conf to route data to specific indexers, based on the data's input. Universal and light forwarders can perform this kind of routing.&lt;/P&gt;

&lt;P&gt;Here's an example that shows how this works.&lt;/P&gt;

&lt;P&gt;In outputs.conf, create stanzas for each receiving indexer:&lt;BR /&gt;
[tcpout:systemGroup]&lt;BR /&gt;
server=server1:9997&lt;/P&gt;

&lt;P&gt;[tcpout:applicationGroup]&lt;BR /&gt;
server=server2:9997&lt;/P&gt;

&lt;P&gt;In inputs.conf, specify _TCP_ROUTING to set the stanza in outputs.conf that each input should use for routing:&lt;BR /&gt;
[monitor://.../file1.log]&lt;BR /&gt;
index=&lt;BR /&gt;
sourcetype=&lt;BR /&gt;
_TCP_ROUTING = systemGroup&lt;/P&gt;

&lt;P&gt;[monitor://.../file2.log]&lt;BR /&gt;
index=&lt;BR /&gt;
sourcetype=&lt;BR /&gt;
_TCP_ROUTING = applicationGroup&lt;/P&gt;

&lt;P&gt;The forwarder routes data from file1.log to server1 and data from file2.log to server2.&lt;/P&gt;

&lt;P&gt;For more information &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.3/Forwarding/Routeandfilterdatad" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.3/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:44:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442069#M77052</guid>
      <dc:creator>Rob2520</dc:creator>
      <dc:date>2020-09-29T21:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the outputs.conf file to forward data into two separate instances of Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442070#M77053</link>
      <description>&lt;P&gt;thank you all&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 21:39:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442070#M77053</guid>
      <dc:creator>dchima</dc:creator>
      <dc:date>2018-10-23T21:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the outputs.conf file to forward data into two separate instances of Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442071#M77054</link>
      <description>&lt;P&gt;Just note that props/transforms will need to be in the heavy forwarder or indexer in most cases, so that second link relates to a Splunk enterprise instance for routing data (in the majority of cases)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 21:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-outputs-conf-file-to-forward-data-into/m-p/442071#M77054</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-10-23T21:40:44Z</dc:date>
    </item>
  </channel>
</rss>

