Kibana 6 - disable logo link to home page


(Kevin Cao) #1

Hi,

Is there a way that we can disable the logo's link to home page?
Thanks,

Kevin


(Bhavya R M) #2

Hi,

You will need to modify the code for that.
Also am curious as to why would you like to disable the homepage?

Cheers,
bhavya


(Kevin Cao) #3

Couldn't find the place to change the code.
We have redirect the user to a default dashboard, but don't want them to click the logo to go back to the default homepage, from where they can add sample data... etc.


(Bhavya R M) #4

@nreese ? :slight_smile:

Thanks,
Bhavya


(Nathan Reese) #5

Kevin,

You can comment out the href in this file https://github.com/elastic/kibana/blob/master/src/ui/public/chrome/directives/global_nav/global_nav.html#L13 to disable the kibana logo from linking to the home application.


(Bhavya R M) #6

And then delete the files under optimize before restrarting Kibana. This usually gets me :slight_smile:

Thanks,
Bhavya


(Kevin Cao) #7

I changed the global_nav.html file and it didn't work.

Do you mean the files in this folder, /kiban/src/optimize?

Thanks,


(system) #8

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