Quantcast
Viewing all articles
Browse latest Browse all 4737

Elastic Search and Kibana - Pass URL to Docker

Hello,

We have a elastic search deployment with kibana. The ELK stack has its own frontend proxy server based on Docker. HTTPS data is served from the Docker proxy based on the URL. Both of the URLs point to the same server and port, but one URL is for the dashboard and the other URL is for Kibana.

https://7685eebcb8a24cdf897012b51dcab3a1.ece.domain.abc:9243 - dashboard
https://6cf30b202fb74ceb96c0d2b1d2a27645.ece.domain.abc:9243 - kibana

If we use IP addresses in the configuration, then Docker does not know what site to send. I tried to add the URL (and not the IP) into configuration but it gives the following error:

Apr 23 09:18:21 ece-lb1.domain.abc haproxy-systemd-wrapper[5335]: [ALERT] 113/091821 (5336) : parsing [/etc/haproxy/haproxy.cfg:59] : ‘server ece01-dashboard’ : invalid address: ‘https://7685eebcb8a24cdf897012b51dcab3a1.ece.domain.abc’ in ‘https://7685eebcb8a24cdf897012b51dcab3a1.ece.domain.abc:9243

How can i pass the URL to the docker server when making the SSL connection?

frontend ece_front
mode http
bind 10.33.1.101:9243 ssl crt /etc/haproxy/certs/ece.pem
stats uri /haproxy?stats
default_backend ece_back

backend ece_back
mode http
balance roundrobin
option ssl-hello-chk
server ece01-dashboard https://7685eebcb8a24cdf897012b51dcab3a1.ece.domain.abc:9243 ssl crt /etc/haproxy/certs/ece.pem

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>