# Kibana not showing indexed fields

**URL:** <https://discuss.elastic.co/t/kibana-not-showing-indexed-fields/33399>\
**Category:** Kibana\
**Created:** [October 30, 2015, 4:14pm UTC](https://discuss.elastic.co/t/kibana-not-showing-indexed-fields/33399 "2015-10-30T16:14:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victorcoder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/victorcoder/32/5599_2.png) [@victorcoder](https://discuss.elastic.co/u/victorcoder)\
**Post date:** [October 30, 2015, 4:14pm UTC](https://discuss.elastic.co/t/kibana-not-showing-indexed-fields/33399/1 "2015-10-30T16:14:59Z")

</div>

I've configured an index template based on the logstash one:

```
{
  "order": 3,
  "template": "nginx-*",
  "settings": {
    "index.refresh_interval": "5s"
  },
  "mappings": {
    "_default_": {
      "dynamic_templates": [
        {
          "message_field": {
            "mapping": {
              "index": "analyzed",
              "omit_norms": true,
              "type": "string"
            },
            "match_mapping_type": "string",
            "match": "message"
          }
        },
        {
          "string_fields": {
            "mapping": {
              "index": "analyzed",
              "omit_norms": true,
              "type": "string",
              "fields": {
                "raw": {
                  "ignore_above": 256,
                  "index": "not_analyzed",
                  "type": "string"
                }
              }
            },
            "match_mapping_type": "string",
            "match": "*"
          }
        }
      ],
      "_all": {
        "omit_norms": true,
        "enabled": true
      },
      "properties": {
        "geoip": {
          "dynamic": true,
          "type": "object",
          "properties": {
            "location": {
              "type": "geo_point"
            }
          }
        },
        "@version": {
          "index": "not_analyzed",
          "type": "string"
        }
      }
    }
  },
  "aliases": {}
}

```

But the fields detected in Kibana shows as not indexed except for the .raw fields:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/ad6c5bbfe466d761a1659ba4526ab8dded52a5c3.png)

And if I try to visualize based on a number aggregation it shows

![](https://us1.discourse-cdn.com/elastic/original/2X/9/9fc31af1e3b78440cc71f1b277eba3d166bdac84.png)

I tried everything, refreshing fields, removing the index template, removing index definition in Kibana and recreating it, changing index names, tweeking mappings, and lot more things.

I'm really puzzled with this.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [November 5, 2015, 5:53am UTC](https://discuss.elastic.co/t/kibana-not-showing-indexed-fields/33399/2 "2015-11-05T05:53:43Z")

</div>

I believe your number fields have to be indexed to show up in the dropdown under the Range aggregation.

---

<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 6, 2017, 2:09pm UTC](https://discuss.elastic.co/t/kibana-not-showing-indexed-fields/33399/3 "2017-07-06T14:09:53Z")

</div>


