Elasticsearch/Kibana Unknown Deployment

Hi, I am using elasticsearch cloud and I've been provided a long URL of kibana i.e. -
https://5e765d3c21d84e8f8d6bd362d8bf6564.us-central1.gcp.cloud.es.io:9243

I have configured the DNS routing in my GCP cloudDNS for the URL forexample -
arp-es.xyz.com:9243

But when I open the URL i.e xyz.com it gives me "Unknown Deployment" error. The kibana is working fine on the long URL mentioned above, but somehow it is not routing to the short URL ie- arp-es.xyz.com (Was working before but after upgrading to elasticsearch 7.0.0 it is not working)

So for that I want to configure Nginx proxy which will forward the traffic from the long URL to the short one. Please help me how to configure it to forward the traffic.

In nginx conf file (in your case arp-es.xyz.com.conf)

server{
        listen          *:80;
        server_name     arp-es.xyz.com;
        location ~*  ^/dashboard/(.*){
                rewrite ^ https://5e765d3c21d84e8f8d6bd362d8bf6564.us-central1.gcp.cloud.es.io:9243 permanent;
        }
}

then access it with https://arp-es.xyz.com/dashboard/

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.