# Wrong Total on listed fields in an index pattern

**URL:** <https://discuss.elastic.co/t/wrong-total-on-listed-fields-in-an-index-pattern/276684>\
**Category:** Kibana\
**Created:** [June 22, 2021, 5:29pm UTC](https://discuss.elastic.co/t/wrong-total-on-listed-fields-in-an-index-pattern/276684 "2021-06-22T17:29:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [June 22, 2021, 5:29pm UTC](https://discuss.elastic.co/t/wrong-total-on-listed-fields-in-an-index-pattern/276684/1 "2021-06-22T17:29:12Z")

</div>

Hi all,  
I have an index pattern with list format data as below:

```auto
linkedGPO's
{
  "name": "Password and lockout policy",
  "enabled": true,
  "enforced": false
},
{
  "name": "Screen Saver Lockout Policy",
  "enabled": true,
  "enforced": true
},
{
  "name": "Autodiscover Fix",
  "enabled": true,
  "enforced": false
},
{
  "name": "Lockout Settings",
  "enabled": true,
  "enforced": false
}

```

I am not getting correct data for count  
For example if i take count of linkedGPO's.enabled:true,  
then only first value of list is considered and get wrong total as below.  
As you can see, total is different from enabled and disabled GPO's.

 ![Screenshot 2021-06-22 at 10.56.16 PM](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b2128e25af28c761ec91fc582c1dca8c786b90b.png)

Dont know how to work with Listed Fields as sometimes, only 1st value is considered.

---

<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:** [July 20, 2021, 5:30pm UTC](https://discuss.elastic.co/t/wrong-total-on-listed-fields-in-an-index-pattern/276684/2 "2021-07-20T17:30:13Z")

</div>

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