OptionHTTP_PROXY_HOST
Description Configures the HTTP proxy host used by connections from LogScale
Introduced Version1.0.0

It's possible to configure LogScale to access the Internet through an HTTP proxy server. LogScale will use the proxy for sending alert notifications and communicating with S3.

The format of the value should be a hostname, not a URL:

ini
HTTP_PROXY_HOST=proxy.myorganisation.com

Using a URL or protocol prefix is invalid:

Invalid Example for Demonstration - DO NOT USE
ini
HTTP_PROXY_HOST=https://proxy.myorganisation.com:80

To configure other parameters, use the other environment variables.

For using a proxy for HTTP traffic, LogScale has a few options related to host and authentication. Use the HTTP_PROXY_HOST option to set an HTTP proxy for sending alert notifications. This can be useful if LogScale is not allowed direct access to the internet. You can see in the options below, that these options would be set to your host URL or IP address, TCP port number used, and the user name and password for proxy authentication:

ini
HTTP_PROXY_HOST=proxy.myorganisation.com
HTTP_PROXY_PORT=3129
HTTP_PROXY_USERNAME=you
HTTP_PROXY_PASSWORD=your-secret-password
# HTTP_PROXY_ALLOW_NOTIFIERS_NOT_USE=true

This last option is to allow alert notifiers not to use, to exempt them from using the HTTP proxy. Its default value is false.