Hide Forgot
Description of problem: When application Kibana is behind a F5 big ip with parameter 'X-Forwarded-For = enabled', kibana fails trying to connect to elasticsearch Version-Release number of selected component (if applicable): 3.3.0 How reproducible: Unconfirmed Steps to Reproduce: 1. Set up OpenShift cluster using F-5 as internal loadbalancer 2. Set up logging cluster Actual results: Kibana: Unknown error while connecting to Elasticsearch Error: Unknown error while connecting to Elasticsearch Error: UnknownHostException[No trusted proxies] Expected results: Logging cluster to work
Troubleshooting section added to logging installation regarding resolving this issue. Verified in https://bugzilla.redhat.com/show_bug.cgi?id=1401688
Could we have used 'searchguard.dynamic.http.xff.enabled: false' instead? See https://github.com/floragunncom/search-guard-docs/blob/master/proxy.md.
@Peter IIRC, unfortunately we needed to have it set to 'true' as part of picking up user information from the proxy header. https://github.com/openshift/origin-aggregated-logging/blob/master/elasticsearch/sgconfig/sg_config.yml