Getting Data In

Windows Splunk instance to use http proxy

ng87
Path Finder

Hi all
We have a dev instance of Splunk we are using for testing. Splunk is installed on a Windows box and the service is running under the local system account. We have been trying to get Splunk to use our HTTP proxy with no luck .Below is what we have attempted so far:

server .conf file : 
http_proxy=http://http-proxy-url:80
https_proxy=https://http-proxy-url:443

Splunk-launch.conf
http_proxy=http://http-proxy-url:80
https_proxy=https://http-proxy-url:443

None of the above have worked, when trying to browse Splunkbase from within Splunk we get the below error :
Error resolving: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.

And here have attached a couple of lines from Splunk log :

splunkd.log
06-13-2018 11:32:16.446 +0100 INFO  ProxyConfig - Failed to initialize http_proxy from server.conf for splunkd. Please make sure that the http_proxy property is set as http_proxy=http://host:port in case HTTP proxying needs to be enabled.
06-13-2018 11:32:16.446 +0100 INFO  ProxyConfig - Failed to initialize https_proxy from server.conf for splunkd. Please make sure that the https_proxy property is set as https_proxy=http://host:port in case HTTP proxying needs to be enabled.

Anyone got any ideas what we are doing wrong and how to fix ?

0 Karma
Get Updates on the Splunk Community!

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering. Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...