# Hide management page from Kibana by editing source code

**URL:** https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148
**Category:** Kibana
**Created:** [February 27, 2019, 11:03am UTC](https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148 "2019-02-27T11:03:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![satyaban](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@satyaban](https://discuss.elastic.co/u/satyaban)
#### Post date: [February 27, 2019, 11:03am UTC](https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148/1 "2019-02-27T11:03:40Z")

</div>

Dear All,  
I want to disable/hide management page from left side menu of Kibana portal .  
Though Xpack security is not part of Basic License so is there any way to achieve same by any other means ?  
Can we achieve same by editing source code of kibana ?

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [February 27, 2019, 6:43pm UTC](https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148/2 "2019-02-27T18:43:44Z")

</div>

hi @satyaban,

you can do this in source code, but it would be a hack of course.

The code for the management plugin is here `src/legacy/core_plugins/kibana/public/management`. You could delete this folder, and clear up references to any files in this folder.

Alternatively, you could just add some css somewhere that hides the link. Something like

```auto
.kbnGlobalNavLink__anchor[href="http://localhost:5601/app/kibana#/management?_g=()"] {
  display: none;
}

```

ymmv

---

<div class="post-metadata">

### Author: ![satyaban](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@satyaban](https://discuss.elastic.co/u/satyaban)
#### Post date: [February 28, 2019, 7:27am UTC](https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148/3 "2019-02-28T07:27:59Z")

</div>

hii,

Thanks for your quick response and I have made changes accordingly but not in management folder rather in common.style.css to hide all and able to achieve same.

Now I have below issues kindly help if possible

Due to some security limitation in our project we have to redirect out kibana base url to dashboards page directly.  
For Example : Kibana URL is [http://10.40.41.42/kibana/](http://10.40.41.42/kibana/) when I will access it should be redirected to dashboard page [http://10.40.41.42/kibana/app/kibana#/dashboards?\_g=()](http://10.40.41.42/kibana/app/kibana#/dashboards?_g=())

basically I want to add kibana#/dashboards instead of kibana#/home (currently it is redirected to home page [http://10.40.41.42/kibana/app/kibana#/home](http://10.40.41.42/kibana/app/kibana#/home))

I am tried to searching many .js file in Kibana folder to change kibana#/home link to kibana#/dashboards but didn't succeed .

Kindly suggest how to navigate to dashboard when I will type kibana Base URL instead of Home page(Default).

Note : I have tried to redirect with apache Web server but due to "#" symbol inside kibana#/home it is unable to read same (# is fragment anchor tag only processes at client side )

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 28, 2019, 7:28am UTC](https://discuss.elastic.co/t/hide-management-page-from-kibana-by-editing-source-code/170148/4 "2019-03-28T07:28:08Z")

</div>

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