# Kibana Discover field statistics not showing

**URL:** https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466
**Category:** Kibana
**Tags:** discover
**Created:** [June 7, 2023, 6:44pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466 "2023-06-07T18:44:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![joshuachough](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joshuachough](https://discuss.elastic.co/u/joshuachough)
#### Post date: [June 7, 2023, 6:44pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/1 "2023-06-07T18:44:33Z")

</div>

I have some data I am trying to get statistics on (e.g. what percentage of documents have a description?). However, the field statistics are not showing, even when I hit refresh...

 ![Screenshot 2023-06-07 at 14.37.41](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b47f8ff9c6b5adc702f9659d02ed4079989e7e4.png)

When I click on one of the fields, it shows me some of the distinct values, but not all...

Is there a way to fix this?

---

<div class="post-metadata">

### Author: ![kaismax](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kaismax](https://discuss.elastic.co/u/kaismax)
#### Post date: [June 7, 2023, 7:19pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/2 "2023-06-07T19:19:23Z")

</div>

can you share the mapping for your index

---

<div class="post-metadata">

### Author: ![joshuachough](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joshuachough](https://discuss.elastic.co/u/joshuachough)
#### Post date: [June 7, 2023, 7:35pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/3 "2023-06-07T19:35:10Z")

</div>

```auto
{
  "experts": {
    "mappings": {
      "properties": {
        "country": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "description": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "fullName": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "id": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "infoFromLinkedin": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "internal_tags": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "medical_specialties": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "organization": {
          "properties": {
            "_id": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            },
            "altNames": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            },
            "name": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            },
            "type": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            }
          }
        },
        "projects": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "status": {
          "type": "keyword"
        },
        "technology_tags": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "title": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

### Author: ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)
#### Post date: [June 8, 2023, 9:09am UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/4 "2023-06-08T09:09:28Z")

</div>

Hi @joshuachough and welcome to the community!

Field Statistics can be provided for aggregatable fields like fields with `keyword` type. In your case looks like mostly `text` fields are selected.

There are 2 options for you to try:

1. deselect all currently selected fields (for example by pressing New link in the top nav)
2. select aggregatable fields too (for example, add `country.keyword` field via "+" from the sidebar field popover)

---

<div class="post-metadata">

### Author: ![Quynh\_Nguyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quynh_nguyen/32/97817_2.png) [@Quynh\_Nguyen](https://discuss.elastic.co/u/Quynh_Nguyen)
#### Post date: [June 22, 2023, 3:19pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/5 "2023-06-22T15:19:07Z")

</div>

Hi Joshua. I've created an enhancement request here [[ML] Shows some stats for non-aggregatable fields in Field statistics · Issue #160280 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/160280) for this issue.

---

<div class="post-metadata">

### Author: ![joshuachough](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joshuachough](https://discuss.elastic.co/u/joshuachough)
#### Post date: [June 22, 2023, 9:03pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/6 "2023-06-22T21:03:09Z")

</div>

Thank you! That works!

---

<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, 2023, 9:03pm UTC](https://discuss.elastic.co/t/kibana-discover-field-statistics-not-showing/335466/7 "2023-07-20T21:03:55Z")

</div>

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