<?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: Cannot forward data to Splunk Server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85762#M17828</link>
    <description>&lt;P&gt;The forwarding of data from the client is now working. It just happened that I have my Splunk server as a client and have my outputs forwarded to another Splunk server. I am not 100% sure this was the cause but this was the only thing I changed before the forwarding worked.&lt;/P&gt;

&lt;P&gt;Thanks everyone for the help.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2011 07:46:38 GMT</pubDate>
    <dc:creator>triptrops</dc:creator>
    <dc:date>2011-10-05T07:46:38Z</dc:date>
    <item>
      <title>Cannot forward data to Splunk Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85758#M17824</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am a newbie on Splunk and I am trying to setup a Splunk server and a Splunk Light forwarder to forward data to it, here are the things that I did during the setup:&lt;/P&gt;

&lt;P&gt;1) I installed a full Splunk on a Linux server(Server1). Started the Splunk daemon and installed *nix app.&lt;BR /&gt;
2) I enabled a script 'df' to test if it is workin. Indeed the monitor is working.&lt;BR /&gt;
3) I then enabled the receiving by go to Manager-&amp;gt;Configure Receiving and Forwarding-&amp;gt; set port 9997 as the listening port.&lt;BR /&gt;
4) Installed another full Splunk on another Linux server (Server2). Installed the *nix app also and have it working. &lt;/P&gt;

&lt;P&gt;I then configured it to be a forwarder via the following commands:&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 server1:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My inputs.conf (/opt/splunk/etc/apps/unix/local/inputs) is liked this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [script://./bin/cpu.sh]
    [script://./bin/df.sh]
    disabled = 0
    [script://./bin/hardware.sh]
    [script://./bin/interfaces.sh]
    [script://./bin/iostat.sh]
    [script://./bin/lastlog.sh]
    [script://./bin/lsof.sh]
    [script://./bin/netstat.sh]
    [script://./bin/openPorts.sh]
    [script://./bin/package.sh]
    [script://./bin/protocol.sh]
    [script://./bin/ps.sh]
    [script://./bin/rlog.sh]
    [script://./bin/time.sh]
    [script://./bin/top.sh]
    [script://./bin/usersWithLoginPrivs.sh]
    [script://./bin/vmstat.sh]
    [script://./bin/who.sh]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My outputs.conf (/opt/splunk/etc/apps/unix/local/outputs.conf) is liked this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [tcpout]
defaultGroup = server1.domain.com_9997
disabled = false

[tcpout:server1.domain.com_9997]
server = server1.domain.com:9997

[tcpout-server://server1.domain.com:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I restarted both servers Splunk Daemon but still the server1 cannot see the data from server2.&lt;/P&gt;

&lt;P&gt;Did I miss any configurations? please advise, thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2011 04:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85758#M17824</guid>
      <dc:creator>triptrops</dc:creator>
      <dc:date>2011-10-04T04:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot forward data to Splunk Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85759#M17825</link>
      <description>&lt;P&gt;I've same problems with splunk v 4.2.3&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2011 11:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85759#M17825</guid>
      <dc:creator>tdinh</dc:creator>
      <dc:date>2011-10-04T11:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot forward data to Splunk Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85760#M17826</link>
      <description>&lt;P&gt;You should add the following line -on the client side-&lt;/P&gt;

&lt;H1&gt;splunk add monitor /var/log&lt;/H1&gt;

&lt;P&gt;where /var/log is the directory of logs files.&lt;BR /&gt;
Good luck&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85760#M17826</guid>
      <dc:creator>tdinh</dc:creator>
      <dc:date>2011-10-04T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot forward data to Splunk Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85761#M17827</link>
      <description>&lt;P&gt;You may want to check that IPTables is off or allowing TCP 9997 outbound from Server 2 and inbound to server 1.&lt;/P&gt;

&lt;P&gt;You may find a useful message in the splunkd.log on your light forwarder. Normally it will indicate if a sucessful network connection has been made. Look here: /opt/splunk/var/log/splunk/splunkd.log&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2011 19:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85761#M17827</guid>
      <dc:creator>jasonnadeau</dc:creator>
      <dc:date>2011-10-04T19:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot forward data to Splunk Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85762#M17828</link>
      <description>&lt;P&gt;The forwarding of data from the client is now working. It just happened that I have my Splunk server as a client and have my outputs forwarded to another Splunk server. I am not 100% sure this was the cause but this was the only thing I changed before the forwarding worked.&lt;/P&gt;

&lt;P&gt;Thanks everyone for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 07:46:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cannot-forward-data-to-Splunk-Server/m-p/85762#M17828</guid>
      <dc:creator>triptrops</dc:creator>
      <dc:date>2011-10-05T07:46:38Z</dc:date>
    </item>
  </channel>
</rss>

