Project

General

Profile

Using multiple proxies » History » Version 1

Version 1/2 - Next » - Current version
Luke Murphey, 03/19/2014 04:01 PM


Using multiple proxies

Website Monitoring has the ability to use separate proxy servers for each input. This can be useful when you want to test the performance of the proxy server itself. To enable this configuration, you will need to edit the conf files directly on the file-system (changing the settings via the user interface it not yet supported). Below are instructions:

Step one: define proxies

First, you will need to define your proxy servers in the website_monitoring.conf. Start by creating or editing the file in $SPLUNK_HOME/etc/apps/website_monitoring/local/website_monitoring.conf. Then, define a stanza for each proxy server. See the spec file for the fields that are supported. Below is an example:

[proxy_california]
proxy_server=ca.proxy.acme.com
proxy_port=8080
proxy_type=http

[proxy_illinois]
proxy_server=il.proxy.acme.com
proxy_port=8080
proxy_type=http

Step two: define inputs

You will now need to make your inputs and define which proxy configuration the input will use. Start by creating or editing the file in $SPLUNK_HOME/etc/apps/website_monitoring/local/inputs.conf. You will do this by adding a field named "configuration" set to the value of the configuration you want the input to use. Below is an example:

[web_ping://ca_proxy]
interval = 15m
title = SomeWebsite
url = http://SomeWebsite.com
configuration=proxy_california

[web_ping://no_proxy]
interval = 15m
title = SomeWebsite
url = http://SomeWebsite.net
configuration=proxy_illinois

If you want, you can first make the inputs using the user interface, and then add the configuration information to the inputs afterwards.

After you done editing the file, restart Splunk to make sure the changes get recognized.

Step three: verify configuration

After you have restarted Splunk, verify