elastic / elastic/logstash

Inconsistent use of Java proxy environment variable vs config

Open
#3,932 0 comments 1 reaction 0 assignees View on GitHub
discuss
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Some plugins utilise a configuration parameter for http communication through a proxy. For example, the Elasticsearch output plugin and http output plugin both utilise the "proxy" config parameters.

They do not respect java environment variables e.g.

export LS_JAVA_OPTS=-Dhttp.proxyHost=localhost

However, other components e.g. the plugin script, seem to respect and utilise this.

Request for behaviour to be standardised.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.