<?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 Can I download splunkforwarder by using curl ? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242512#M3761</link>
    <description>&lt;P&gt;Can I download splunkforwarder by using curl instead of wget?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;-- Hiroshi&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jun 2020 23:09:36 GMT</pubDate>
    <dc:creator>okug</dc:creator>
    <dc:date>2020-06-15T23:09:36Z</dc:date>
    <item>
      <title>Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242512#M3761</link>
      <description>&lt;P&gt;Can I download splunkforwarder by using curl instead of wget?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;-- Hiroshi&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 23:09:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242512#M3761</guid>
      <dc:creator>okug</dc:creator>
      <dc:date>2020-06-15T23:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242513#M3762</link>
      <description>&lt;P&gt;Hi Hiroshi,&lt;/P&gt;

&lt;P&gt;of course you can.&lt;/P&gt;

&lt;P&gt;Assuming you want to download splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb - you can simply copy paste the wget link that is shown on the download page.&lt;/P&gt;

&lt;P&gt;The wget looks like: wget -O splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb '&lt;A href="http://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&amp;amp;platform=linux&amp;amp;version=6.3.3&amp;amp;product=universalforwarder&amp;amp;filename=splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb&amp;amp;wget=true"&gt;http://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&amp;amp;platform=linux&amp;amp;version=6.3.3&amp;amp;product=universalforwarder&amp;amp;filename=splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb&amp;amp;wget=true&lt;/A&gt;'&lt;/P&gt;

&lt;P&gt;Just change the &lt;CODE&gt;wget -O&lt;/CODE&gt; to &lt;CODE&gt;curl -L -o&lt;/CODE&gt;&lt;BR /&gt;
The final command should look like&lt;BR /&gt;
curl -L -o splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb '&lt;A href="http://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&amp;amp;platform=linux&amp;amp;version=6.3.3&amp;amp;product=universalforwarder&amp;amp;filename=splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb&amp;amp;wget=true"&gt;http://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&amp;amp;platform=linux&amp;amp;version=6.3.3&amp;amp;product=universalforwarder&amp;amp;filename=splunkforwarder-6.3.3-f44afce176d0-linux-2.6-amd64.deb&amp;amp;wget=true&lt;/A&gt;'&lt;/P&gt;

&lt;P&gt;That's all.&lt;/P&gt;

&lt;P&gt;BR&lt;BR /&gt;
Oliver&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242513#M3762</guid>
      <dc:creator>ohoppe</dc:creator>
      <dc:date>2016-03-15T16:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242514#M3763</link>
      <description>&lt;P&gt;Great! I tried without -L option.&lt;BR /&gt;
Thanks Oliver!&lt;/P&gt;

&lt;P&gt;-- Hiroshi&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242514#M3763</guid>
      <dc:creator>okug</dc:creator>
      <dc:date>2016-03-15T16:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242515#M3764</link>
      <description>&lt;P&gt;Please accept my answer.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:51:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242515#M3764</guid>
      <dc:creator>ohoppe</dc:creator>
      <dc:date>2016-03-15T16:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242516#M3765</link>
      <description>&lt;P&gt;Just updated or copy-paste purposes&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;product="splunk"       # values can be : splunk , universalforwarder
version="6.6.3"        # Splunk product Version
hash="e21ee54bc796"    # specific per Version
arch="amd64"           # values can be : x86_64 (redhat, tgz), amd64 (ubuntu), x64 (Windows)
os="linux"             # values can be : linux, windows
pkg="deb"              # Values can be : tgz, rpm, deb, msi

if [ $pkg = "tgz" ]; then
   filename="${product}-${version}-${hash}-Linux-${arch}.${pkg}"
elif [ $os = "windows" ]; then
   filename="${product}-${version}-${hash}-${arch}-release.${pkg}"
else 
   filename="${product}-${version}-${hash}-${os}-2.6-${arch}.${pkg}"
fi

md5File="${filename}.md5"
echo $filename         # Verify this is correct

wget "https://download.splunk.com/products/splunk/releases/${version}/${os}/${md5File}"
wget "https://download.splunk.com/products/splunk/releases/${version}/${os}/${filename}"


# OR
curl -o "$md5File" "https://download.splunk.com/products/splunk/releases/${version}/${os}/${md5File}"
curl -o "$md5File" "https://download.splunk.com/products/splunk/releases/${version}/${os}/${filename}"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Oct 2017 15:20:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242516#M3765</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-10-13T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can I download splunkforwarder by using curl ?</title>
      <link>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242517#M3766</link>
      <description>&lt;P&gt;wget &lt;A href="https://download.splunk.com/products/splunk/releases/6.6.3/linux/splunkforwarder-6.6.3-e21ee54bc796-linux-2.6-x86_64.rpm"&gt;https://download.splunk.com/products/splunk/releases/6.6.3/linux/splunkforwarder-6.6.3-e21ee54bc796-linux-2.6-x86_64.rpm&lt;/A&gt;&lt;BR /&gt;
--2017-10-24 16:44:47--  &lt;A href="https://download.splunk.com/products/splunk/releases/6.6.3/linux/splunkforwarder-6.6.3-e21ee54bc796-linux-2.6-x86_64.rpm"&gt;https://download.splunk.com/products/splunk/releases/6.6.3/linux/splunkforwarder-6.6.3-e21ee54bc796-linux-2.6-x86_64.rpm&lt;/A&gt;&lt;BR /&gt;
Resolving download.splunk.com (download.splunk.com)... 13.33.151.73, 13.33.151.8, 13.33.151.155, ...&lt;BR /&gt;
Connecting to download.splunk.com (download.splunk.com)|13.33.151.73|:443... connected.&lt;BR /&gt;
HTTP request sent, awaiting response... 404 Not Found&lt;BR /&gt;
2017-10-24 16:44:47 ERROR 404: Not Found.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 23:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Can-I-download-splunkforwarder-by-using-curl/m-p/242517#M3766</guid>
      <dc:creator>bishopolis</dc:creator>
      <dc:date>2017-10-24T23:45:54Z</dc:date>
    </item>
  </channel>
</rss>

