Admin Manual

 


Use Splunk Web

Specify a proxy server

Specify a proxy server

If Splunk Web is located behind a proxy server, you might have problems with Splunk Web links that attempt to access the Splunk website. For example, some Manager pages link directly to the download site for Splunk apps.

To get around this problem, you need to set the HTTP_PROXY environment variable. For permanent results, you can specify the setting in the splunk-launch.conf configuration file, located in $SPLUNK_HOME/etc/ on *nix systems and %SPLUNK_HOME%\etc\ on Windows.

In splunk-launch.conf, add this attribute/value pair:

HTTP_PROXY = <IP address or host name>:<port number> 

For example:

HTTP_PROXY = 10.1.8.11:8787

Important: If your proxy server only handles HTTPS requests, you must use the following attribute/value pair:

HTTPS_PROXY = <IP address or host name>:<port number>

For example:

HTTPS_PROXY = 10.1.8.11:8888

This documentation applies to the following versions of Splunk: 4.1 , 4.1.1 , 4.1.2 , 4.1.3 , 4.1.4 , 4.1.5 , 4.1.6 , 4.1.7 , 4.1.8 , 4.2 , 4.2.1 , 4.2.2 , 4.2.3 , 4.2.4 , 4.2.5 , 4.3 , 4.3.1 , 4.3.2 , 4.3.3 , 4.3.4 , 4.3.5 , 4.3.6 , 5.0 , 5.0.1 , 5.0.2 View the Article History for its revisions.


Comments

For proxy authentication, check out this topic:

http://docs.splunk.com/Documentation/Splunk/latest/Security/HowSplunkSSOworks

Hope that helps!

Jworthington splunk, Splunker
March 8, 2013

is there a way to set proxy authentication as well?

S sarva
March 7, 2013

Not sure about the correctness of this page and comments - I didn't have any luck with these settings.

What I think they should be (and what works, both through splunk and from within the bash shell) is:
http_proxy=http://:
(note the http:// prefixing the IP address and no spaces)
I also added the same value for https, so:
https_proxy=http://:
Not sure what setting an environment variable to "= :" does, but it in a shell it says "Error parsing proxy url :: Scheme missing" so I'm thinking this isn't right either

I was testing with curl https://splunkbase.splunk.com

Securekeydotcom
January 11, 2013

Some times adding the http_proxy parameter may not be enough for access to the splunk base app sites through the UI as the it uses https:// url by default.

Adding this parameter fixes the issue.

https_proxy = :

Jdastmalchi splunk, Splunker
September 18, 2012

You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!