# How to hide inspect option from the visualization

**URL:** https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223
**Category:** Kibana
**Created:** [December 21, 2020, 7:25am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223 "2020-12-21T07:25:28Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![anjali28](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anjali28](https://discuss.elastic.co/u/anjali28)
#### Post date: [December 21, 2020, 7:25am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/1 "2020-12-21T07:25:28Z")

</div>

-I have created a dashboard in default space.  
-Created a role with read only permission and given access the role to a user.  
-When i login from user , i see the dashboard in read only mode but if we can hide the "OPTIONS" button "INSPECT" button from the visualization ?

Image attached:

 ![inspect](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cf58f3297865c17896bab4e97b796156e8c398ce.png)

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [December 21, 2020, 8:13am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/2 "2020-12-21T08:13:03Z")

</div>

It's not possible to hide the inspect button. Can you elaborate on why you want to hide it?

---

<div class="post-metadata">

### Author: ![anjali28](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anjali28](https://discuss.elastic.co/u/anjali28)
#### Post date: [December 21, 2020, 8:29am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/3 "2020-12-21T08:29:50Z")

</div>

If a user login into kibana. We have given role permission to only read the dashboard but we still see the inspect button in the visualization.

Can you please tell me if a user has dashboard read only access, then the user will not able to request anything from the inspect button right?  
Also i want to know what is the use of inspect button?

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [December 21, 2020, 9:24am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/4 "2020-12-21T09:24:52Z")

</div>

"Inspect" just shows the underlying data and requests - it doesn't allow to edit the visualization: [https://www.elastic.co/guide/en/kibana/7.10/explore-dashboard-data.html#viewing-detailed-information](https://www.elastic.co/guide/en/kibana/7.10/explore-dashboard-data.html#viewing-detailed-information)

---

<div class="post-metadata">

### Author: ![anjali28](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anjali28](https://discuss.elastic.co/u/anjali28)
#### Post date: [December 21, 2020, 9:54am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/5 "2020-12-21T09:54:30Z")

</div>

Thanks for the answer, here is another problem we are facing:  
We are using the embedded code to view the dashboard into another platform and there we have to hide the inspect option from the visualization.

Can you tell me how we can achieve?

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [December 21, 2020, 11:26am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/6 "2020-12-21T11:26:01Z")

</div>

As I mentioned above, it's not possible to hide the inspect button. Why do you need to hide it if the dashboard is embedded in another visualization?

---

<div class="post-metadata">

### Author: ![anjali28](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anjali28](https://discuss.elastic.co/u/anjali28)
#### Post date: [December 22, 2020, 6:40am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/7 "2020-12-22T06:40:18Z")

</div>

We have developed Kibana visualization and prepared dashboard using those visualization. Next we have used share option of dashboard ("Share \> Embedded Code") to generate embedded code.  
This iframe based code is used in our product. The end user are suppose to see the dashboard from Kibana with-in iFrame. When this visualization gets rendered in iframe in our product, the end user (who are not aware of from where these dashboards are coming) are able to see the three dot icons.

The end user see those 3 dot icon and feels there are some addition options for them which is confusing so we want to remove the 3 dot icon from embedded dashboard.

your response will be appreciated.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [December 22, 2020, 8:54am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/8 "2020-12-22T08:54:04Z")

</div>

That makes a lot of sense, thanks for explaining for use case. As mentioned, this is not easily possible at the moment, but as it's a very useful feature, feel free to create a feature request in the Kibana Github repository: [https://github.com/elastic/kibana/issues/new?template=Feature\_request.md](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)

You mentioned you developed a Kibana visualization - does this mean you wrote your own Kibana visualization plugin? If that's the case you could use a similar custom plugin to apply some CSS to the page to hide the three dots if the page is rendered in an iframe. This is not a supported solution, but I worry it's the best solution to get it running right now.

Also, I haven't done so already, maybe give [Kibana Canvas](https://www.elastic.co/guide/en/kibana/current/canvas.html) a look - it gives you more control over the visual aspects, but it depends on your specific case whether it's a viable replacement.

---

<div class="post-metadata">

### Author: ![anjali28](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anjali28](https://discuss.elastic.co/u/anjali28)
#### Post date: [December 22, 2020, 11:15am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/9 "2020-12-22T11:15:32Z")

</div>

we have not developed any custom plugin

---

<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: [January 19, 2021, 11:15am UTC](https://discuss.elastic.co/t/how-to-hide-inspect-option-from-the-visualization/259223/10 "2021-01-19T11:15:36Z")

</div>

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