Refine your search:

Splunk's web GUI makes a few external calls out, e.g. to load the list of available apps from Splunkbase.

If my corporate network has a proxy server, how can I configure Splunk Web to use that proxy server for its remote calls?

I'm running Splunk Web on Windows Server 2008, if that's important to the answer.

asked 09 Mar '10, 02:08

Justin%20Grant's gravatar image

Justin Grant
1.5k6740
accept rate: 50%


One Answer:

If you set the environment variable http_proxy, splunkweb and splunkd should obey it, and definitely do in at least some cases. I haven't looked to see if all cases obey it correctly. I don't know if we've officially committed to supporting HTTP proxies, so unsure if any lapses would be bugs or feature requests.

In any event, on UNIX, this is as simple as adding

http_proxy=http://some.host.example.com:3452

to splunk-launch.conf

On windows, because of the way splunkd launches as a service, I'm uncertain, but in the very least you can create a global environment variable named http_proxy with the value as desired.

link

answered 09 Mar '10, 23:34

jrodman's gravatar image

jrodman ♦
5.8k2515
accept rate: 42%

Quite a while later -- I see that in urllib.py, that it will always sniff for http_proxy (with case smashed) unless no_proxy is set to defeat this.

(05 Oct '10, 01:03) jrodman ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×311
×303
×104
×29
×28

Asked: 09 Mar '10, 02:08

Seen: 1,232 times

Last updated: 09 Mar '10, 23:34

Copyright © 2005-2012 Splunk, Inc. All rights reserved.