<?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 setup universal forwarder on linux in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97459#M20310</link>
    <description>&lt;P&gt;Have you looked at &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/Deployanixdfmanually"&gt;Deploy a *nix universal forwarder manually&lt;/A&gt; in the Distributed Deployment Manual?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2013 21:43:51 GMT</pubDate>
    <dc:creator>ChrisG</dc:creator>
    <dc:date>2013-07-16T21:43:51Z</dc:date>
    <item>
      <title>How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97458#M20309</link>
      <description>&lt;P&gt;Step by step setup for universal forwarder.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 21:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97458#M20309</guid>
      <dc:creator>bhavya_shah</dc:creator>
      <dc:date>2013-07-16T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97459#M20310</link>
      <description>&lt;P&gt;Have you looked at &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/Deployanixdfmanually"&gt;Deploy a *nix universal forwarder manually&lt;/A&gt; in the Distributed Deployment Manual?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 21:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97459#M20310</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2013-07-16T21:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97460#M20311</link>
      <description>&lt;P&gt;For the universal forwarder:&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///log1/log2/log3]&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
index = default&lt;BR /&gt;
disabled = false&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;BR /&gt;
ignoreOlderThan = 1d&lt;BR /&gt;
host_segment = 4&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;If you are defining index = syslog instead of default for your input on your UF you need to have a index called syslog on your indexer. For that make sure to edit index.conf on indexer. &lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/outputs.conf&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup=syslog_index&lt;BR /&gt;
disabled = false&lt;/P&gt;

&lt;P&gt;Forward the internal indexes as well as the non-internal ones&lt;BR /&gt;
forwardedindex.0.whitelist = .&lt;BR /&gt;
forwardedindex.1.whitelist = _.&lt;/P&gt;

&lt;P&gt;[tcpout:syslog_index]&lt;BR /&gt;
server=splunkserver:9997&lt;/P&gt;

&lt;P&gt;Definitely make sure that firewall is open to port 9997&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/limits.conf&lt;/P&gt;

&lt;P&gt;maxKBps = 0&lt;/P&gt;

&lt;P&gt;On the splunk indexer:&lt;/P&gt;

&lt;P&gt;From the UI make sure to add the port:&lt;/P&gt;

&lt;P&gt;Manager -&amp;gt; Forwarding and receiving -&amp;gt; Receive data&lt;/P&gt;

&lt;P&gt;Add 9997.&lt;/P&gt;

&lt;P&gt;Thats it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 21:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97460#M20311</guid>
      <dc:creator>bhavya_shah</dc:creator>
      <dc:date>2013-07-16T21:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97461#M20312</link>
      <description>&lt;P&gt;Configure a Splunk Forwarder on Linux (Debian and ubundu)&lt;/P&gt;

&lt;P&gt;Step 1: Download Splunk Universal Forwarder&lt;BR /&gt;
    &lt;A href="http://www.splunk.com/download/universalforwarder" target="_blank"&gt;http://www.splunk.com/download/universalforwarder&lt;/A&gt;&lt;BR /&gt;
 (.deb file and 64bit package if applicable)&lt;/P&gt;

&lt;P&gt;Step 2: Install Forwarder&lt;BR /&gt;
    Command:    sudo dpkg –i /path/filename.deb&lt;BR /&gt;
            sudo apt-get install –f&lt;BR /&gt;
        Agree the licence for splunk forwarder&lt;/P&gt;

&lt;P&gt;Step 3: Enable boot-start/init script&lt;BR /&gt;
Command:     /opt/splunkforwarder/bin/splunk enable boot-start &lt;/P&gt;

&lt;P&gt;Step 4: Configure Forwarder connection to Index Server&lt;BR /&gt;
Command:    /opt/splunkforwarder/bin/splunk add forward-server host.domain:9997 &lt;BR /&gt;
(Where host.domain is the fully qualified address or IP of the index and 9997 is the receiving port you create on the Indexer)&lt;/P&gt;

&lt;P&gt;Step 5: Enter username and password&lt;BR /&gt;
    Default :   Username: admin &lt;BR /&gt;
            Password: changeme&lt;/P&gt;

&lt;P&gt;Step 6: Test Forwarder connection&lt;BR /&gt;
Command:    /opt/splunkforwarder/bin/splunk list forward-server&lt;BR /&gt;
                (Lists the active and inactive forwards of splunk forwarder)&lt;/P&gt;

&lt;P&gt;Step 7: Add Data&lt;BR /&gt;
Command:    /opt/splunkforwarder/bin/splunk add monitor /path/ -index main -sourcetype name &lt;BR /&gt;
(Where /path/ is the path to application logs on the host that you want to bring into Splunk, and the name you want to associate with that type of data)&lt;BR /&gt;
 This will create a file: inputs.conf in /opt/splunkforwarder/etc/apps/ splunkforwarder/default/ &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  Or edit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;input.conf  (/opt/splunkforwarder/etc/apps/ splunkforwarder/default/)&lt;BR /&gt;
[monitor:///path/]&lt;BR /&gt;&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
index = default&lt;BR /&gt;
disabled = false&lt;BR /&gt;
(Where /path/ is the path of the .log file on the host)&lt;BR /&gt;
Output.conf  (/opt/splunkforwarder/etc/system/local /)&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup=syslog_index&lt;BR /&gt;
disabled = false&lt;BR /&gt;
[tcpout:syslog_index]&lt;BR /&gt;
server=splunkserver:9997&lt;BR /&gt;
[tcpout-server :// splunkserver:9997 ]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97461#M20312</guid>
      <dc:creator>dhyanmohandas</dc:creator>
      <dc:date>2020-09-29T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97462#M20313</link>
      <description>&lt;P&gt;I downvoted this post because link no longer available&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 11:29:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97462#M20313</guid>
      <dc:creator>attilatar</dc:creator>
      <dc:date>2017-07-05T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup universal forwarder on linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97463#M20314</link>
      <description>&lt;P&gt;This is a great guidance. My follow up question is what stanza I need to add in inputs.conf to send any application logs along with the syslog to a Splunk HF?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-setup-universal-forwarder-on-linux/m-p/97463#M20314</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-02-20T19:31:38Z</dc:date>
    </item>
  </channel>
</rss>

