Kibana context root?


(Sunil Chaudhari) #1

Hello,
We are trying to redirect to Kibana through webseal. I just upgraded to KIbana 4.5.3.

Wehn I hit the url http://:5601 it goes to http://:5601/app/kibana

Can anybody tell me where does it takes this /app/kibana/ from? Webseal is not able to find this context root.
When we hit direct url by hostname and port, it works.

br,
Sunil.


(Tyler Smalley) #2

The option you are looking for is server.basePath, which you can set in config/kibana.yml.

server.basePath: Enables you to specify a path to mount Kibana at if you are running behind a proxy.


(Sunil Chaudhari) #3

Hello,

My nginx configuration is

server{
    listen     8001;
    server_name  kibana-test4;

location / {
        proxy_pass http://127.0.0.1:5601/;
        #proxy_redirect http://127.0.0.1:5601/ /kiban4/;
  }
}

When I hit url http://hostName:5601 then ti goes to http://hostName:5601/app/kibana/
When I hit url http://hostName:8001 then ti goes to http://hostName:5601/8001/app/kibana

Both cases are OK. However I want /central-logging to be the context root in nGinx config.
I want URL to be http://hostName:8001/central-logging

br,
Sunil


(system) #4