I login to splunk.com
Select the download button
select the version of Splunk I'd like to download and copy the url
When i paste it into my linux terminal session... wget runs fine but what it pulls down seems to be a part of a style sheet and not the tgz file I'm expecting.
What's happening?
We've got ampersands in the URL and they'll confuse wget.
Don't worry... we've sorted it out for you.
Instead of just right clicking on the download link... start the download so that you jump to the next page (and then stop the download at your leisure).
Now you're on the "Thank you for Downloading Splunk" page.
On the right hand side is a help block - it contains the url in case your download didn't start and you would have preferred it to...
And it also contains the url for wget all ready for you to cut and paste.
The ampsersands have all been escaped and ready for wget (so it won't work in the browser)
Enjoy.
If you want to automate this and getting the "latest" files:
wget --content-disposition 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version...'
platform=linux
platform=macos
product=universalforwarder
product=splunk
MacOS:
architecture=x86
Windows
platform=windows
filename=.msi
Feel free to guess the other options.
Holger
wget -O splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version...'
Why is there no standard repository for Splunk and the Universal Forwarder? It would be so much simpler to add a repository to APT's or Synaptic's list of sources, so that Splunk could be upgraded like anything else that is installed.
Is there no option to automate download of the latest release? Come on!
I am seeking the same thing. A way to automate the download of the latest release for both Windows and Linus. Does this not exist?
Or you might try:
'http://download.splunk.com/releases/<version>/<product>/<platform>/<product>...'
> curl 'http://download.splunk.com/releases/6.0.1/universalforwarder/linux/splunkforwarder-6.0.1-189883-linu...' -s| md5
92b2dbca6b9abb200c32c6d29b5c3a31
> curl 'http://download.splunk.com/releases/6.0.1/universalforwarder/linux/splunkforwarder-6.0.1-189883-linu...'
MD5(splunkforwarder-6.0.1-189883-linux-2.6-x86_64.rpm)= 92b2dbca6b9abb200c32c6d29b5c3a31
downloaded splunk using wget command....its running but I couldn't available to open on web page.
I had checked all firewall connections.
thanks for Curl as AWS doesn't have wget by default
We've got ampersands in the URL and they'll confuse wget.
Don't worry... we've sorted it out for you.
Instead of just right clicking on the download link... start the download so that you jump to the next page (and then stop the download at your leisure).
Now you're on the "Thank you for Downloading Splunk" page.
On the right hand side is a help block - it contains the url in case your download didn't start and you would have preferred it to...
And it also contains the url for wget all ready for you to cut and paste.
The ampsersands have all been escaped and ready for wget (so it won't work in the browser)
Enjoy.
Thank you
So as of right now, this no longer works:
root@server:~/installed# wget --content-disposition 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version...'
--2021-10-20 10:04:55-- https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version...
Resolving www.splunk.com (www.splunk.com)... 23.66.127.147, 23.66.127.135
Connecting to www.splunk.com (www.splunk.com)|23.66.127.147|:443... connected.
HTTP request sent, awaiting response... 503 Service Unavailable
2021-10-20 10:04:55 ERROR 503: Service Unavailable.
C'mon Splunk. it's 2021 put this stuff into a repo for once!