# Showing document fields as tooltips

**URL:** <https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [January 31, 2021, 4:47pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760 "2021-01-31T16:47:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stexxen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stexxen/32/68327_2.png) [@stexxen](https://discuss.elastic.co/u/stexxen)\
**Post date:** [January 31, 2021, 4:47pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760/1 "2021-01-31T16:47:35Z")

</div>

I'm missing something obvious here, I know I am, but I have struggled to find an answer.

I have a small index of 20 documents in ES 7.10.2 with a GeoPoint in the top level, with other fields stored as objects and nested.

I have created an index pattern, and created a layer all is good so far. I can filter by any field I require, but when I attempt to add a tooltip I am only shown the top level fields and the location

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

I'm trying to simulate section 3 from here - [Build a map to compare metrics by country or region | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/maps-getting-started.html#maps-add-elasticsearch-layer) but where the guide simple says

> 1. 
> 1. Add a tooltip field and select **agent** , **bytes** , **clientip** , **host** , **machine.os** , **request** , **response** , and **timestamp**.

It does not explain how to make those fields show, or why they wouldn't show. Am I missing something in the mapping that makes these fields appear?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 31, 2021, 7:10pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760/2 "2021-01-31T19:10:23Z")

</div>

Just click on a fields right there like `id` and then hover over on the map and it will show up.. is that not working?

EDIT : Apologies... read too fast Nested Object hmmmm will need to look that up, it may not be supported yet.

**Update :** I am seeing my sub `object` fields fine in the tool tips selector and they are showing up fine in the tool tip. Check your index / Mappings or perhaps as simple as scrolling down?

If you have them as an nested array of objects or something like that it may not show but it should show simple sub objects.

 ![Screen Shot 2021-01-31 at 11.19.43 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b483d1d635945da922500f665dcfc9ae95e2bf4c.png)

Example my mapping for this looks something like this where `details` is an `object`

```
   },
    "details" : {
      "properties" : {
        "Eqpmnt_desc" : {
          "type" : "keyword"
        },
        "GS_District" : {
          "type" : "keyword"
        },
        "GS_HostName" : {
          "type" : "keyword"
        },
        "GS_IP_AddressPrimary_V4" : {
          "type" : "ip"
        },
        "GS_LocationGeo" : {
          "type" : "geo_point"
        },
      }
    }
```

---

<div class="post-metadata">

**Author:** ![stexxen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stexxen/32/68327_2.png) [@stexxen](https://discuss.elastic.co/u/stexxen)\
**Post date:** [January 31, 2021, 8:03pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760/3 "2021-01-31T20:03:12Z")

</div>

Thanks for you reply, it led me to re-look at it. I had two problems.

1. Nested objects are not shown in tooltips. (I think your mapping would show `"type" : "nested"` if details was a nested object). So details in your mapping is just an object. (I think)
2. I was switching back and forth with nested and objects and deleting the Index, and saw no change. However I was not deleting the Index\_Pattern! Once I deleted that, recreated the mapping with objects instead of nested, and then recreated the index pattern, all the expected fields began to appear

Thanks for giving me the impetus to sort it. I was well and truely stumped earlier.

However I would says nested objects do not appear as tooltips. Thats my conclusion anyways.....

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 31, 2021, 8:07pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760/4 "2021-01-31T20:07:11Z")

</div>

Cool good to know! ... Yes I should have been clearer between `object` and `nested` I cleaned that up

Ohh and we all forget to update index patterns from time to time

---

<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:** [February 28, 2021, 8:07pm UTC](https://discuss.elastic.co/t/showing-document-fields-as-tooltips/262760/5 "2021-02-28T20:07:59Z")

</div>

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