<?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: Newbie Universal forwarding. Is there a full example to forward a simple file or directory? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115825#M24210</link>
    <description>&lt;P&gt;Dear group ,&lt;/P&gt;

&lt;P&gt;my remote splunkforwader is able to connect splunk server , but still i don't see any index details about that splunkforwader &lt;/P&gt;

&lt;P&gt;plz help me out &lt;/P&gt;

&lt;P&gt;details:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add monitor /home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz -index reportlogfiles -sourcetype reportslog&lt;/P&gt;

&lt;P&gt;Added monitor of '/home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz'.&lt;/P&gt;

&lt;P&gt;rahul@rahul-desktop:/opt/splunkforwarder/bin$ sudo /opt/splunkforwarder/bin/splunk list monitor&lt;BR /&gt;
$SPLUNK_HOME/var/log/splunk/splunkd.log&lt;BR /&gt;
   /home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz'&lt;/P&gt;

&lt;P&gt;sudo /opt/splunkforwarder/bin/splunk list forward-server&lt;/P&gt;

&lt;P&gt;Active forwards:&lt;BR /&gt;
    localhost:9997&lt;BR /&gt;
Configured but inactive forwards:&lt;BR /&gt;
    None&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 12:16:12 GMT</pubDate>
    <dc:creator>patelrahul40</dc:creator>
    <dc:date>2015-12-18T12:16:12Z</dc:date>
    <item>
      <title>Newbie Universal forwarding. Is there a full example to forward a simple file or directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115823#M24208</link>
      <description>&lt;P&gt;Dear Group:&lt;/P&gt;

&lt;P&gt;Splunk Universal Forwarder 6.0 (build 182037)&lt;/P&gt;

&lt;P&gt;I have my splunk indexer working on one machine "vm251.foo.com:8000".&lt;BR /&gt;
I have installed universal forwarder on another machine "vm252.foo.com".&lt;BR /&gt;
I have enabled receiving on "vm251" on port 9997.&lt;BR /&gt;
I have enabled forwarding on vm252 as follows: sudo /opt/splunkforwarder/bin/splunk add forward-server vm251.foo.com:8000 -auth admin:mypwd&lt;BR /&gt;
I can list my forwarding as follows: sudo /opt/splunkforwarder/bin/splunk list forward-server&lt;BR /&gt;
Active forwards:&lt;BR /&gt;
    None&lt;BR /&gt;
Configured but inactive forwards:&lt;BR /&gt;
    vm251.foo.com:8000&lt;BR /&gt;
I have added a directory to monitor as follows:&lt;BR /&gt;
sudo /opt/splunkforwarder/bin/splunk add monitor /var/log&lt;BR /&gt;
I can list my monitors as follows: sudo /opt/splunkforwarder/bin/splunk list monitor and I see /var/log as a monitored directory.&lt;/P&gt;

&lt;P&gt;PROBLEM: My forwarder does not seem to be forwarding anything. I have monitored port 9997 using tcpdump and see nothing. What am I doing wrong? I cannot find anything in the docs to help me. Maybe I am looking at the wrong docs.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115823#M24208</guid>
      <dc:creator>leopapadopoulos</dc:creator>
      <dc:date>2013-10-25T17:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Universal forwarding. Is there a full example to forward a simple file or directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115824#M24209</link>
      <description>&lt;P&gt;Dear Group:&lt;/P&gt;

&lt;P&gt;Of course as soon as I asked the question, I figured it out. Looks like I have to forward to port 9997 not 8000 and it started working. I assumed port 8000 would negotiate to 9997, but I was wrong.&lt;/P&gt;

&lt;P&gt;I simply changed my forward to port 9997 all is good now.&lt;/P&gt;

&lt;P&gt;Funny how writing out a question makes you see it in a different light. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Leo P.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115824#M24209</guid>
      <dc:creator>leopapadopoulos</dc:creator>
      <dc:date>2013-10-25T17:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Universal forwarding. Is there a full example to forward a simple file or directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115825#M24210</link>
      <description>&lt;P&gt;Dear group ,&lt;/P&gt;

&lt;P&gt;my remote splunkforwader is able to connect splunk server , but still i don't see any index details about that splunkforwader &lt;/P&gt;

&lt;P&gt;plz help me out &lt;/P&gt;

&lt;P&gt;details:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add monitor /home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz -index reportlogfiles -sourcetype reportslog&lt;/P&gt;

&lt;P&gt;Added monitor of '/home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz'.&lt;/P&gt;

&lt;P&gt;rahul@rahul-desktop:/opt/splunkforwarder/bin$ sudo /opt/splunkforwarder/bin/splunk list monitor&lt;BR /&gt;
$SPLUNK_HOME/var/log/splunk/splunkd.log&lt;BR /&gt;
   /home/rahul/logdata/log/reportslog/report.log.one.2015-06-10.gz'&lt;/P&gt;

&lt;P&gt;sudo /opt/splunkforwarder/bin/splunk list forward-server&lt;/P&gt;

&lt;P&gt;Active forwards:&lt;BR /&gt;
    localhost:9997&lt;BR /&gt;
Configured but inactive forwards:&lt;BR /&gt;
    None&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 12:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Newbie-Universal-forwarding-Is-there-a-full-example-to-forward-a/m-p/115825#M24210</guid>
      <dc:creator>patelrahul40</dc:creator>
      <dc:date>2015-12-18T12:16:12Z</dc:date>
    </item>
  </channel>
</rss>

