Project

General

Profile

Support #2499

Disable proxy for individual inputs

Added by grant strachan about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/07/2019
Due date:
% Done:

0%


Description

Hi,

I just wanted to get some clarification. When it comes to the "configuration" parameter under the web_ping input stanza, can it be used to specify no proxy or can I configure a proxy under website_monitoring.conf that will no interfere with the connection?

FYI, currently on 2.7.6 from splunkbase. Should I grab it direct from your site?

Example website_monitoring.conf:
[default] <--------- pretending to be the default proxy
proxy_port = 3128
proxy_server = nonexistant.com
proxy_type = http
thread_limit = 200

[no_proxy] < ----- to be used for addresses that don't need the proxy
proxy_port =
proxy_server =
proxy_type = http
thread_limit = 200

Example inputs.conf:
[web_ping://google_com] < ----- uses [default] proxy config
interval = 1m
title = www.google.com
url = http://www.google.com
user_agent = Splunk Website Monitoring (+https://splunkbase.splunk.com/app/1493/)

[web_ping://splunk Local] < ----- uses [no_proxy] proxy config
interval = 1m
title = splunk Local
url = http://localhost:8000
user_agent = Splunk Website Monitoring (+https://splunkbase.splunk.com/app/1493/)
configuration = no_proxy

I just seem to get "Connection timed out" at this stage.

I'd also be looking to get a tick box on the input "Create input" panel to choose whether on or to set the proxy ( only based on these two options ). I'm happy to do a little bit of work here, once I get my head around the splunkjs stuff. Any hints would be appreciated :)

Also available in: Atom PDF