How to change app/kibana in kibana 6.8 URL to different name like app/devCustom

I want to change the name of app/kibana in kibana app.

I have tried to cahnge the title and id in kibana plugin of src/legacy/core_plugin/kibana folder.
but nothing got changed.

Please help me with steps or idea of changing the kibana app name

Thanks and Regards,

Hi @devesh37,

you can try to change the kibanaBaseUrl variable in src/legacy/core_plugins/kibana/index.js, but be aware that this could break all sorts of things.

Out of curiosity - whats your use case for changing this URL?

Hi,
Sorry for late reply.

My use case is , i donot want to show app/kibana in browser URL "http://localhost:5601/app/kibana#/discover?"

Instead i want to show "http://localhost:5601/app/devCustom#/discover?" in browser url,
or hiding the "http://localhost:5601/app/kibana#" part from URL of browser. anything from above two is ok.

I have tried

  1. solution given by you to change the kibanaBaseUrl variable in src/legacy/core_plugins/kibana/index.js :- but it breaks lots of url in

  2. try to configure nginx reverse proxy to hide "http://localhost:5601/app/kibana#" part of url.
    :- unable to get right combination of nginx configration

Please help @flash1293 .. thanks in advance.

thanks and regards,
devesh kumar

Hi @devesh37,

I was interested in why you want to hide app/kibana in the url - do you not like the looks of it or is there a deeper reason?

The second solution won't work because this navigation is done in the hash part of the URL and is not sent to the server at all - so it has to be done client side.

The first solution is the way to go, I'm afraid you have to go through all of the places that break one by one - it's just that doing this is nothing that's supported by Kibana which means the code is not structured in a way to make it easy.