# Can I edit the query or inspector of a metricbeat lens?

**URL:** <https://discuss.elastic.co/t/can-i-edit-the-query-or-inspector-of-a-metricbeat-lens/319567>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 22, 2022, 3:40pm UTC](https://discuss.elastic.co/t/can-i-edit-the-query-or-inspector-of-a-metricbeat-lens/319567 "2022-11-22T15:40:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![learningelastic](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Post date:** [November 22, 2022, 3:40pm UTC](https://discuss.elastic.co/t/can-i-edit-the-query-or-inspector-of-a-metricbeat-lens/319567/1 "2022-11-22T15:40:13Z")

</div>

I am learning to use MetricBeat and dashboards. I'm really enjoying it so far but I want to be able to edit one of the lens. This image below shows two lens that I really like, but I want to modify:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8a57c7ac0bb7a61e695d6374dd6df6a48058bf72.png)

So what I did was I clicked on the ellipses menu in the top right of the lens and chose `Copy to Existing Dashboard: MyFaveDashboard`. Then I went to `MyFaveDashboard` and confirmed that the lens is there. Then I click on the gear menu at the top right of the lens and clicked `Edit Visualization`, which gives me this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaa371f7345971035068f150d3c8e567fc78fc1d.png)

Notice the panel at the bottom that I circled in red --- This is a completely new User Interface component that I've never seen before while exploring the default lens options for setting up other Kibana lenses. So my first question is, **did I overlook something in the list of available lens types while working with Kibana dashboard lenses? Or is this User Interface component specific to MetricBeat only?**

Next, I clicked on the `Inspect` link at the top of the lens to see this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/0/9068bfb67cc04cfc866d2f1aaee682316651040b.png)

And my second question is, **is there a way for me to edit this query directly on the right?**

---

<div class="post-metadata">

**Author:** ![learningelastic](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Post date:** [November 22, 2022, 5:00pm UTC](https://discuss.elastic.co/t/can-i-edit-the-query-or-inspector-of-a-metricbeat-lens/319567/2 "2022-11-22T17:00:03Z")

</div>

The answer is to use the TSVB editor to see the same ui

---

<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:** [December 20, 2022, 7:00pm UTC](https://discuss.elastic.co/t/can-i-edit-the-query-or-inspector-of-a-metricbeat-lens/319567/3 "2022-12-20T19:00:28Z")

</div>

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