<?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 can I input data from url in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32888#M5864</link>
    <description>&lt;P&gt;Hi Perlish,&lt;/P&gt;

&lt;P&gt;There's several ways to do this but it depends on how you have access to this file:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If you have direct access to the server, you could install a universal forwarder to monitor the file and forward it to your Splunk server.&lt;/LI&gt;
&lt;LI&gt;You could write a scripted input that would pickup the file (wget/ftp/scp?) and then load it into Splunk. Mind you that this wouldn't take care of duplicate entries so you'd have to arrange this sanity check yourself.&lt;/LI&gt;
&lt;LI&gt;If the server that has your file runs syslog (or rsyslog, or syslog-ng) you can possibly have the file sent to your Splunk server via syslog. This would require you enabling port 514 UDP/TCP (depending on the type of syslog) on your Splunk server.&lt;/LI&gt;
&lt;LI&gt;If the server that has the logfile can export the filesystem it has the logfile on, you can then mount the filesystem on your Splunk server (CIFS/SMB/NFS?) and ingest the file as if it was a local file. This will set the host variable to the local Splunk server so you might want to overwrite that with the remote server name.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;As far as I know, there's no input for Splunk to monitor a file directly over HTTP from within Splunk itself.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2013 11:09:34 GMT</pubDate>
    <dc:creator>lcrielaa</dc:creator>
    <dc:date>2013-08-13T11:09:34Z</dc:date>
    <item>
      <title>How can I input data from url</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32887#M5863</link>
      <description>&lt;P&gt;I want to input data from url,such as &lt;A href="http://my.site.com/dns_monitor.log"&gt;http://my.site.com/dns_monitor.log&lt;/A&gt;&lt;BR /&gt;
How can I make it ?&lt;BR /&gt;
Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 10:33:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32887#M5863</guid>
      <dc:creator>perlish</dc:creator>
      <dc:date>2013-08-13T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I input data from url</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32888#M5864</link>
      <description>&lt;P&gt;Hi Perlish,&lt;/P&gt;

&lt;P&gt;There's several ways to do this but it depends on how you have access to this file:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If you have direct access to the server, you could install a universal forwarder to monitor the file and forward it to your Splunk server.&lt;/LI&gt;
&lt;LI&gt;You could write a scripted input that would pickup the file (wget/ftp/scp?) and then load it into Splunk. Mind you that this wouldn't take care of duplicate entries so you'd have to arrange this sanity check yourself.&lt;/LI&gt;
&lt;LI&gt;If the server that has your file runs syslog (or rsyslog, or syslog-ng) you can possibly have the file sent to your Splunk server via syslog. This would require you enabling port 514 UDP/TCP (depending on the type of syslog) on your Splunk server.&lt;/LI&gt;
&lt;LI&gt;If the server that has the logfile can export the filesystem it has the logfile on, you can then mount the filesystem on your Splunk server (CIFS/SMB/NFS?) and ingest the file as if it was a local file. This will set the host variable to the local Splunk server so you might want to overwrite that with the remote server name.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;As far as I know, there's no input for Splunk to monitor a file directly over HTTP from within Splunk itself.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 11:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32888#M5864</guid>
      <dc:creator>lcrielaa</dc:creator>
      <dc:date>2013-08-13T11:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I input data from url</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32889#M5865</link>
      <description>&lt;P&gt;Hi Icrielaa,&lt;BR /&gt;
  I can not access the web server,I can only access the url,and I thought wget is not the best way,but it seems it's the only way to do that.I hope there's a APP to make it.&lt;BR /&gt;
  Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 09:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-input-data-from-url/m-p/32889#M5865</guid>
      <dc:creator>perlish</dc:creator>
      <dc:date>2013-08-14T09:33:35Z</dc:date>
    </item>
  </channel>
</rss>

