<?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 inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118735#M24645</link>
    <description>&lt;P&gt;Outputs.conf would point to your indexers from the HF.&lt;/P&gt;

&lt;P&gt;outputs.conf would point to the HF from your UF's.&lt;/P&gt;

&lt;P&gt;We have out HF's listening on different ports for data.  So inputs.conf would contain something like:&lt;/P&gt;

&lt;P&gt;[tcp://9997]&lt;BR /&gt;
sourcetype=http&lt;/P&gt;

&lt;P&gt;[tcp://9192]&lt;BR /&gt;
sourcetype=os&lt;/P&gt;

&lt;P&gt;We also put any props and transforms on the HF's.  We actually have separate props apps but one would do fine.  We just have a lot of data feeds.&lt;/P&gt;

&lt;P&gt;You might also look at: &lt;A href="http://answers.splunk.com/answers/169929/using-heavy-forwarders-as-an-intermediary-layer.html"&gt;http://answers.splunk.com/answers/169929/using-heavy-forwarders-as-an-intermediary-layer.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2015 22:39:20 GMT</pubDate>
    <dc:creator>rmorlen</dc:creator>
    <dc:date>2015-01-26T22:39:20Z</dc:date>
    <item>
      <title>How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118733#M24643</link>
      <description>&lt;P&gt;Hello All -&lt;/P&gt;

&lt;P&gt;We currently have a distributed architecture that's laid out  in the following manner :  UF ---&amp;gt; Indexers ---&amp;gt; SH&lt;/P&gt;

&lt;P&gt;We now want to put in  a heavy forwarder between the UF and the Indexers, i.e;   UF ---&amp;gt; HF ---&amp;gt; Indexers ---&amp;gt; SH&lt;/P&gt;

&lt;P&gt;The new architecture will enable us to perform parsing on the HF instance, as well as forward data to 3rd parties. Local indexing will be disabled on the HFs.&lt;/P&gt;

&lt;P&gt;Since we are receiving data from UF(on multiples servers) on various events sources with different sourcetypes and are currently being indexed in different indexes, what do I need to configure in the inputs.conf  and outputs.conf of my heavy forwarders ? The outputs.conf on the HF will  be configured to forward data to the indexers. Essentially, my question is what inputs and outputs config do I need to on my HF to make sure that the various data being sent over to my HFs from my UFs are forwarded to the indexes(on the Indexers) specified in my UFs inputs.conf&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt; Will only enabling  the HF to listen on TCP 9997 suffice for receiving the various data streams  from the UF and the subsequent forwarding to the respective indexes?&lt;/LI&gt;
&lt;LI&gt;Or do I need to selectively  route data using  _TCP_ROUTING =   to get data to my desired index on the indexers? &lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The other option that I came across in the outputs.conf  only described routing to syslog server.&lt;/P&gt;

&lt;P&gt;Thanks in advance for your responses.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118733#M24643</guid>
      <dc:creator>Olamide22</dc:creator>
      <dc:date>2020-09-28T18:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118734#M24644</link>
      <description>&lt;P&gt;Any takers?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2015 17:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118734#M24644</guid>
      <dc:creator>Olamide22</dc:creator>
      <dc:date>2015-01-26T17:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118735#M24645</link>
      <description>&lt;P&gt;Outputs.conf would point to your indexers from the HF.&lt;/P&gt;

&lt;P&gt;outputs.conf would point to the HF from your UF's.&lt;/P&gt;

&lt;P&gt;We have out HF's listening on different ports for data.  So inputs.conf would contain something like:&lt;/P&gt;

&lt;P&gt;[tcp://9997]&lt;BR /&gt;
sourcetype=http&lt;/P&gt;

&lt;P&gt;[tcp://9192]&lt;BR /&gt;
sourcetype=os&lt;/P&gt;

&lt;P&gt;We also put any props and transforms on the HF's.  We actually have separate props apps but one would do fine.  We just have a lot of data feeds.&lt;/P&gt;

&lt;P&gt;You might also look at: &lt;A href="http://answers.splunk.com/answers/169929/using-heavy-forwarders-as-an-intermediary-layer.html"&gt;http://answers.splunk.com/answers/169929/using-heavy-forwarders-as-an-intermediary-layer.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2015 22:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118735#M24645</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-01-26T22:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118736#M24646</link>
      <description>&lt;P&gt;Heavy Forwarder should problably look something like this.&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;BR /&gt;
[splunktcp:9997]&lt;BR /&gt;
connection_host = dns (or IP if you prefer that)&lt;/P&gt;

&lt;P&gt;Outputs.conf&lt;BR /&gt;
[tcpout:d1]&lt;BR /&gt;
server=d1-splunkix-01:9997,d1-splunkix-02:9997 (if you have two indexers)&lt;BR /&gt;
autoLB = true&lt;/P&gt;

&lt;P&gt;If you have defined index, source and sourcetype on the UF (Splunk agent) then you don't need to define that on the heavy forwarder. It will just forward those fields as they were.&lt;/P&gt;

&lt;P&gt;IMPORTANT : Remember that any INDEX-time configuration  (line breaking, filtering etc.) must be moved out from indexers to your heavy forwarders. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Then change the destination where you UFs send their data to the Heavy forwarders.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:15:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118736#M24646</guid>
      <dc:creator>jofe</dc:creator>
      <dc:date>2015-01-27T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118737#M24647</link>
      <description>&lt;P&gt;Reading from documentation&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Configureforwarderswithoutputs.confd"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Configureforwarderswithoutputs.confd&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Setupforwardingandreceiving"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Setupforwardingandreceiving&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 15:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118737#M24647</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-01-27T15:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf and outputs.conf on the Heavy Forwarder to route data received from universal forwarders to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118738#M24648</link>
      <description>&lt;P&gt;For reading from all UFs, enabling listen on 9997 will suffice.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                       Inputs.conf
                      [splunktcp:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For outputs.conf to send it to indexers and aswell as to 3rd party (3rd party meaning non splunk instance..correct??)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                    outputs.conf
                    [tcpout]
                    defaultGroup = default-autolb-group , thridparty_group

                     #Splunk indexers
                    [tcpout:default-autolb-group]
                    server = idx1:9997,idx2:9997,idx3:9997
                    autoLB = true

                    #send to 3rd party (non splunk instances)
                    [tcpout:thridparty_group]
                    server = ip1:port, ip2:port
                    autoLB = true
                    sendCookedData = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;P.S: sendCookedData = false will send the raw events and untouched prior to sending&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 15:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-and-outputs-conf-on-the-Heavy/m-p/118738#M24648</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2015-01-27T15:34:24Z</dc:date>
    </item>
  </channel>
</rss>

