<?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 an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283193#M54149</link>
    <description>&lt;P&gt;Thanks a lot. I was really looking for some idea on what entry to put in which file.&lt;BR /&gt;
I will try these configurations and see if it works.&lt;/P&gt;

&lt;P&gt;Regarding your query why I am using this.&lt;BR /&gt;
There is some constraints on public IP addresses. So instead of using 3 public IP addresses ion the application server to connect to Indexer, we want to use 1 public IP address on the Intermediate Forwarder. The 3 Application servers can have private IP addresses to forward the logs to the Intermediate forwarder.&lt;BR /&gt;
And yes I am using Universal forwarder for Intermediate forwarder.&lt;/P&gt;

&lt;P&gt;Thanks again for the suggestions. Let me try configuring.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 13:10:43 GMT</pubDate>
    <dc:creator>nirmalya2006</dc:creator>
    <dc:date>2016-12-16T13:10:43Z</dc:date>
    <item>
      <title>How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283191#M54147</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;We currently have universal forwarder installed in our 3 application servers to forward application logs to Indexer.&lt;BR /&gt;
The inputs.conf file in each of the application server looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\logs\logfiles\Application\Applog_*]
sourcetype = business_iis
index = business_idx1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The outputs.conf file in each of the application server looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:LoadBalancedIndexers]
defaultGroup = LoadBalancedIndexers
server = splunkbusinessindexer.info.com:13071
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We are trying to implement the concept of Intermediate forwarder for the 3 application servers.&lt;BR /&gt;
We will have an intermediate universal Splunk forwarder which will receive the log files from the universal Splunk forwarders installed in each application servers and forward them to Indexer.&lt;/P&gt;

&lt;P&gt;For that I am trying to configure the inputs.conf and outputs.conf files in the Application servers and the Intermediate forwarder.&lt;BR /&gt;
I am not able to understand which IP  and port number should be configured in which file in comparison to what we already have.&lt;/P&gt;

&lt;P&gt;Can someone please help me in writing the correct configuration.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Nirmalya&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283191#M54147</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2016-12-16T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283192#M54148</link>
      <description>&lt;P&gt;Just curious: What exactly do you mean by "intermediate"? Are you using an additional universal forwarder or are you using a heavy forwarder? Just asking because I don't see a reason for an additional universal forwarder acting as in between.&lt;/P&gt;

&lt;P&gt;Regarding your question:&lt;BR /&gt;
Basically, you have to configure these things:&lt;/P&gt;

&lt;P&gt;1) Change the outputs.conf on your application server universal forwarder. These ones point to your intermediate forwarder with hostname and port, something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
indexAndForward = false
defaultGroup = YourIntermediateForwarder

[tcpout:YourIntermediateForwarder]
server = YourIntermediateForwarder:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And maybe additional settings if you're using SSL.&lt;/P&gt;

&lt;P&gt;2) Specify an inputs.conf on your intermediate forwarder in system/local to listen on that specified port (e.g. 9997), something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = YourIntermediateForwarder

[splunktcp:9997]
compressed = true
disabled = 0
connection_host = none    &amp;lt;-- set this only if you have specified the host in your outputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3) Now specfy the outputs.conf on your intermediate forwarder to point to your indexers, like your actual outputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexAndForward]
index = false

[tcpout:LoadBalancedIndexers]
defaultGroup = LoadBalancedIndexers
server = splunkbusinessindexer.info.com:13071
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Did that help you?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 13:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283192#M54148</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2016-12-16T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283193#M54149</link>
      <description>&lt;P&gt;Thanks a lot. I was really looking for some idea on what entry to put in which file.&lt;BR /&gt;
I will try these configurations and see if it works.&lt;/P&gt;

&lt;P&gt;Regarding your query why I am using this.&lt;BR /&gt;
There is some constraints on public IP addresses. So instead of using 3 public IP addresses ion the application server to connect to Indexer, we want to use 1 public IP address on the Intermediate Forwarder. The 3 Application servers can have private IP addresses to forward the logs to the Intermediate forwarder.&lt;BR /&gt;
And yes I am using Universal forwarder for Intermediate forwarder.&lt;/P&gt;

&lt;P&gt;Thanks again for the suggestions. Let me try configuring.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 13:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283193#M54149</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2016-12-16T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283194#M54150</link>
      <description>&lt;P&gt;And did you manage to make your configuration work?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 15:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283194#M54150</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2016-12-16T15:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283195#M54151</link>
      <description>&lt;P&gt;The admin team was not available on Friday. Will make the config on Monday. I am also eagerly waiting to make the config work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 13:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283195#M54151</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2016-12-17T13:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283196#M54152</link>
      <description>&lt;P&gt;@skalliger&lt;BR /&gt;
Thank you very much. The configuration worked like a charm in the first attempt.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 13:42:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283196#M54152</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2016-12-20T13:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283197#M54153</link>
      <description>&lt;P&gt;Glad to hear that! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks for accepting the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 13:51:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283197#M54153</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2016-12-20T13:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283198#M54154</link>
      <description>&lt;P&gt;Great explanation thanks skalliger. To remain consistent with the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.3/Forwarding/Enableareceiver"&gt;documentation in v6.6&lt;/A&gt; the splunktcp stanza should contain the foreslash escape character:&lt;BR /&gt;
e.g., &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This might have been a recent change since your reply was originally posted though &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 20:34:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/283198#M54154</guid>
      <dc:creator>ademianczuk</dc:creator>
      <dc:date>2017-08-22T20:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure an Intermediate Forwarder and the inputs.conf and outputs.conf files in the Application servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/508867#M86561</link>
      <description>&lt;P&gt;This answer helped&amp;nbsp; me a lot as well, thanks.&lt;/P&gt;&lt;P&gt;I've a more requirement over this, that is I need to route data to different splunk enterprise instances based on host, how can I achieve this at Intermediate forwarder, when Intermediate forwarder is a Universal Forwarder?&lt;/P&gt;&lt;P&gt;listening on a single port, which is getting mixed data from two different hosts, I needs to send data from one host to its splunk enterprise and other hosts data to its splunk enterprise.&lt;/P&gt;&lt;P&gt;Few business and third party systems are the reasons who are creating such requirements, I knw it isn't a right practice, but then I need to, I would be really happy If i get answers at earliest&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 18:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-an-Intermediate-Forwarder-and-the-inputs-conf/m-p/508867#M86561</guid>
      <dc:creator>hectorvp</dc:creator>
      <dc:date>2020-07-13T18:30:34Z</dc:date>
    </item>
  </channel>
</rss>

