<?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: Forwarding with linux host to splunk in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43242#M1235</link>
    <description>&lt;P&gt;nevermind.  I figured out how to do it with just syslog.&lt;/P&gt;

&lt;H1&gt;Enable this and adopt IP to send log messages to a log server.&lt;/H1&gt;

&lt;P&gt;destination logserver { udp("10.1.1.1" port(514)); };&lt;BR /&gt;
log { source(src); destination(logserver); };&lt;/P&gt;

&lt;P&gt;Thanks anyways.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2011 01:00:30 GMT</pubDate>
    <dc:creator>ryamry</dc:creator>
    <dc:date>2011-02-15T01:00:30Z</dc:date>
    <item>
      <title>Forwarding with linux host to splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43239#M1232</link>
      <description>&lt;P&gt;Hi all-
  I have a free splunk server setup which is gathering all my syslog data from switches, etc.&lt;/P&gt;

&lt;P&gt;Im moving on to get our OS's to forward their log data to splunk.  Everything I talked of here is on linux, intalled using the RPM.&lt;/P&gt;

&lt;P&gt;I set up the splunk server to receive on port 9997.&lt;/P&gt;

&lt;P&gt;After installing it, I followed the docs and ran the following on the remote host:&lt;/P&gt;

&lt;P&gt;cd /opt/splunk/etc&lt;/P&gt;

&lt;P&gt;mv splunk-forwarder.license splunk.license&lt;/P&gt;

&lt;P&gt;cd /opt/splunk/bin&lt;/P&gt;

&lt;P&gt;./splunk start&lt;/P&gt;

&lt;P&gt;./splunk enable app SplunkLightForwarder&lt;/P&gt;

&lt;P&gt;./splunk restart&lt;/P&gt;

&lt;P&gt;./splunk add forward-server :9997&lt;/P&gt;

&lt;P&gt;./splunk restart&lt;/P&gt;

&lt;P&gt;However I dont have anything showing on the splunk server for that host. This is a server where lots gets dumped to /var/log/messages so there should be something showing in the splunk server for it.  Im pretty green on splunk right now and am probably missing something easy but cant find it - Ive searched lots before posting.  Id appreciate any help.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2011 05:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43239#M1232</guid>
      <dc:creator>ryamry</dc:creator>
      <dc:date>2011-02-12T05:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding with linux host to splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43240#M1233</link>
      <description>&lt;P&gt;If those are all your steps, it doesn't look like you configured your forwarder to collect any data, so it may not have anything to forward.  I recommend configuring your forwarder as a full Splunk, initially, until you can confirm that it is collecting data.  Once the data is right, use &lt;STRONG&gt;Manager--&amp;gt;Forwarding/Receiving&lt;/STRONG&gt; to configure forwarding.  You can even convert to a Lightweight Forwarder (LWF) in the UI.&lt;/P&gt;

&lt;P&gt;Here are some additional notes that you might find helpful, in terms of getting some valuable data from a Linux host and configuring forwarding:
&lt;A href="http://answers.splunk.com/questions/11579/splunk-for-nix/11581#11581" rel="nofollow"&gt;http://answers.splunk.com/questions/11579/splunk-for-nix/11581#11581&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you need to convert your LWF back into a full Splunk to get it configured, stop Splunk and restore your free demo license.  You can use the following command to turn a LWF into a full Splunk:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk disable app SplunkLightForwarder
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;HTH&lt;BR /&gt;
ron&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2011 06:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43240#M1233</guid>
      <dc:creator>Ron_Naken</dc:creator>
      <dc:date>2011-02-12T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding with linux host to splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43241#M1234</link>
      <description>&lt;P&gt;I dont want all the info that is taken with the *nix app.  All I want to be forwarded is the log data.  Is there a simple command I can run from the cli to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2011 23:38:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43241#M1234</guid>
      <dc:creator>ryamry</dc:creator>
      <dc:date>2011-02-14T23:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding with linux host to splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43242#M1235</link>
      <description>&lt;P&gt;nevermind.  I figured out how to do it with just syslog.&lt;/P&gt;

&lt;H1&gt;Enable this and adopt IP to send log messages to a log server.&lt;/H1&gt;

&lt;P&gt;destination logserver { udp("10.1.1.1" port(514)); };&lt;BR /&gt;
log { source(src); destination(logserver); };&lt;/P&gt;

&lt;P&gt;Thanks anyways.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 01:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43242#M1235</guid>
      <dc:creator>ryamry</dc:creator>
      <dc:date>2011-02-15T01:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding with linux host to splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43243#M1236</link>
      <description>&lt;P&gt;Hi ryamry&lt;/P&gt;

&lt;P&gt;I am also stucked on the same situation as yours. Can you advise me on what you did?&lt;BR /&gt;
I am not also seeing the host on the splunk server.&lt;/P&gt;

&lt;P&gt;here is what my setup went:&lt;/P&gt;

&lt;P&gt;1) install full splunk on &lt;STRONG&gt;server1&lt;/STRONG&gt;. Installed *nix app and verified that it is collecting data.&lt;/P&gt;

&lt;P&gt;2) install full splunk on &lt;STRONG&gt;server2&lt;/STRONG&gt;. Installed *nix app and verified that it is collecting data.&lt;/P&gt;

&lt;P&gt;3) configure receiving on splunk &lt;STRONG&gt;server1&lt;/STRONG&gt; to port &lt;STRONG&gt;9997&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;4) Enabled forwarding on &lt;STRONG&gt;server2&lt;/STRONG&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**cd /opt/splunk/bin
./splunk start
./splunk enable app SplunkLightForwarder
./splunk restart
./splunk add forward-server :9997
./splunk restart**
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;5) Opened splunk &lt;STRONG&gt;server1&lt;/STRONG&gt; web but did not see &lt;STRONG&gt;server2&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Please advise, I appreciate your help thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2011 01:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Forwarding-with-linux-host-to-splunk/m-p/43243#M1236</guid>
      <dc:creator>triptrops</dc:creator>
      <dc:date>2011-09-15T01:59:02Z</dc:date>
    </item>
  </channel>
</rss>

