Is there a way to configure the Slack Alerts App to use a web proxy? The search head is in a data center where internet access is restricted unless it goes through a web proxy. The only settings I have found in Splunk are for sending all Splunkd communications through a proxy which is not ideal. The search head is running on windows server 2012R2 so I did attempt to set the windows proxy but it does not seem like Splunk picks up on that for 80/443 connections. Anyone know how to get this working?
I fixed the issue for my slack alerts by adding the lines below in slack.py (splunk\etc\apps\slack_alerts\bin\slack.py)
proxy = 'http://:@:'
os.environ['http_proxy'] = proxy
os.environ['HTTP_PROXY'] = proxy
os.environ['https_proxy'] = proxy
os.environ['HTTPS_PROXY'] = proxy