# Timelion query on nested field

**URL:** <https://discuss.elastic.co/t/timelion-query-on-nested-field/259396>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [December 22, 2020, 2:51pm UTC](https://discuss.elastic.co/t/timelion-query-on-nested-field/259396 "2020-12-22T14:51:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fran6ssl](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@fran6ssl](https://discuss.elastic.co/u/fran6ssl)\
**Post date:** [December 22, 2020, 2:51pm UTC](https://discuss.elastic.co/t/timelion-query-on-nested-field/259396/1 "2020-12-22T14:51:19Z")

</div>

Hi,

I have an index temple that defines a nested field as follows :

```auto
"equipments": {
          "type": "nested",
          "properties": {
            "label": {
              "type": "keyword"
            },
            "reference": {
              "type": "keyword"
            }
          }
        }

```

I have tried this but it does not seem to work .  
`.es(index=myindex,q='equipments.reference:1454546463' )`

I just need to check that there is at least one "equipment" with the given reference  
Any suggestion ?

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [December 30, 2020, 5:16pm UTC](https://discuss.elastic.co/t/timelion-query-on-nested-field/259396/2 "2020-12-30T17:16:33Z")

</div>

Nested fields [are currently only partially supported in Kibana](https://github.com/elastic/kibana/issues/1084#issuecomment-585178079), and are [not yet supported in Visualizations](https://github.com/elastic/kibana/issues/58175), so unfortunately there isn't a way to accomplish this in Timelion[0]. I'd encourage you to subscribe to the linked issues for future updates if you're interested in following along.

* * *

[0] Or at least, none that I'm aware of. Others feel free to chime in if I've missed something.

---

<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 27, 2021, 5:16pm UTC](https://discuss.elastic.co/t/timelion-query-on-nested-field/259396/3 "2021-01-27T17:16:33Z")

</div>

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