# Kibana (8.4.2) visualization does not show metadata fields

**URL:** <https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279>\
**Category:** Kibana\
**Created:** [October 11, 2022, 7:16am UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279 "2022-10-11T07:16:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amirfarsi](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@amirfarsi](https://discuss.elastic.co/u/amirfarsi)\
**Post date:** [October 11, 2022, 7:16am UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279/1 "2022-10-11T07:16:42Z")

</div>

Hello friends.

We updated our ELK from 7.\* to 8.4.2, and we used from our backups to restoring visualization, dashboards, data views (index pattern) and ...

We had problems that were fixed, except for the following :  
I have a document in Elasticsearch that **has all metadata fields (\_index, \_id, \_score, \_source)** but **I can't use \_id in my visualizations (But I could before)**

These are some screen snip of my problem description:

- Lens  
 ![2](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9f39d5e648e9c3c479d17c25bbb1bf4ca0073ed.png)
- Data view  
 ![3](https://us1.discourse-cdn.com/elastic/original/3X/0/1/01ad98676333760268e6c35b0c344525f04a36ba.png)

How can I fix this problem ?

Thanks.

---

<div class="post-metadata">

**Author:** ![amirfarsi](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@amirfarsi](https://discuss.elastic.co/u/amirfarsi)\
**Post date:** [October 11, 2022, 7:19am UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279/2 "2022-10-11T07:19:14Z")

</div>

@Badger can you help us ?

---

<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:** [October 11, 2022, 12:31pm UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279/3 "2022-10-11T12:31:13Z")

</div>

This has been a breaking change in 8.0:

> **[Elasticsearch breaking changes | Elastic Installation and Upgrade Guide \[8.0\]...](https://www.elastic.co/guide/en/elastic-stack/8.0/elasticsearch-breaking-changes.html)**

> **Details**  
> Previously, it was possible to aggregate and sort on the built-in `_id` field by loading an expensive data structure called fielddata. This was deprecated in 7.6 and is now disallowed by default in 8.0.

> **Impact**  
> Aggregating and sorting on `_id` should be avoided. As an alternative, the `_id` field’s contents can be duplicated into another field with docvalues enabled (note that this does not apply to auto-generated IDs).

---

<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:** [October 11, 2022, 12:32pm UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279/4 "2022-10-11T12:32:07Z")

</div>

Can you clarify what you are trying to achieve? Which kind of information do you want to get out of the `_id`?

---

<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:** [November 8, 2022, 12:32pm UTC](https://discuss.elastic.co/t/kibana-8-4-2-visualization-does-not-show-metadata-fields/316279/5 "2022-11-08T12:32:44Z")

</div>

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