<?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 set up forwarding on linux-to-linux in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98437#M20562</link>
    <description>&lt;P&gt;No firewall between forwarder A and indexer B. Both are Red Hat 2.6...&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/outputs.conf on A (which has universal forwarder): &lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup = default-autolb-group&lt;/P&gt;

&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;
server = 152.190.138.158:9997&lt;/P&gt;

&lt;P&gt;[tcpout-server://152.190.138.158:9997]   &amp;lt;&amp;lt;&amp;lt; This is my indexer&lt;/P&gt;

&lt;P&gt;On the indexer I have "manager -&amp;gt; Forwarding and receiving -&amp;gt; receive data" set to 9997&lt;/P&gt;

&lt;P&gt;Are "/var/logs" natively set to be sent to the indexer? Or does this have to be configured?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2013 14:04:41 GMT</pubDate>
    <dc:creator>hokie1999</dc:creator>
    <dc:date>2013-01-24T14:04:41Z</dc:date>
    <item>
      <title>How set up forwarding on linux-to-linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98437#M20562</link>
      <description>&lt;P&gt;No firewall between forwarder A and indexer B. Both are Red Hat 2.6...&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/outputs.conf on A (which has universal forwarder): &lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup = default-autolb-group&lt;/P&gt;

&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;
server = 152.190.138.158:9997&lt;/P&gt;

&lt;P&gt;[tcpout-server://152.190.138.158:9997]   &amp;lt;&amp;lt;&amp;lt; This is my indexer&lt;/P&gt;

&lt;P&gt;On the indexer I have "manager -&amp;gt; Forwarding and receiving -&amp;gt; receive data" set to 9997&lt;/P&gt;

&lt;P&gt;Are "/var/logs" natively set to be sent to the indexer? Or does this have to be configured?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 14:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98437#M20562</guid>
      <dc:creator>hokie1999</dc:creator>
      <dc:date>2013-01-24T14:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How set up forwarding on linux-to-linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98438#M20563</link>
      <description>&lt;P&gt;The answer to this question, thanks to Ed Elisio, is to configure &lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf &lt;/P&gt;

&lt;P&gt;on the forwarding device to be something like this if you're interested in /var/log stuff:&lt;/P&gt;

&lt;P&gt;[splunktcp]&lt;BR /&gt;
route=has_key:tautology:parsingQueue;absent_key:tautology:parsingQueue&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME/var/log/splunk/splunkd.log]&lt;BR /&gt;
_TCP_ROUTING = *&lt;BR /&gt;
index = _internal&lt;/P&gt;

&lt;P&gt;[monitor:///var/log]             &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;  added this&lt;/P&gt;

&lt;P&gt;Restart the universal forwarder, too.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98438#M20563</guid>
      <dc:creator>hokie1999</dc:creator>
      <dc:date>2020-09-28T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How set up forwarding on linux-to-linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98439#M20564</link>
      <description>&lt;P&gt;hokie1999,&lt;/P&gt;

&lt;P&gt;One thing to note here.  You edited your default inputs.conf.  This is generally considered bad practice.  If you were to update your universal forwarder to a newer version, the update process would revert your change back to, as the name implies, the default.&lt;/P&gt;

&lt;P&gt;Right at the top of the default/inputs.conf (as well as other default/*.conf files) there is a warning stating not to edit the file.&lt;/P&gt;

&lt;P&gt;You need to make this change in the local inputs.conf.  In /opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/, there should be a local directory.  In it, there may or may not be a inputs.conf file.  If there is, great, make your changes there.  If there isn't, just copy the inputs.conf from the default directory into the local directory.  Then make your changes to the inputs.conf in the local directory.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 15:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-set-up-forwarding-on-linux-to-linux/m-p/98439#M20564</guid>
      <dc:creator>mloven_splunk</dc:creator>
      <dc:date>2013-01-24T15:32:18Z</dc:date>
    </item>
  </channel>
</rss>

