pkaramol
pkaramol

Reputation: 19312

Elasticsearch indices not respecting template nor mapping

I have the following fields in my custom template:

"srcBytes": {"type": "integer"},
"dstBytes": {"type": "integer"},

What is more, when retrieving the mapping for the specific index, this seems to be applied:

GET my_index-raw-data-2019.02.11/_mapping



      },
      "srcBytes": {
        "type": "integer"
      },
        "dstBytes": {
        "type": "integer"

Then why kibana keeps showing these fields as t?

enter image description here

enter image description here

Upvotes: 1

Views: 56

Answers (1)

Val
Val

Reputation: 217254

You probably simply need to refresh your index pattern in Kibana so it picks up the latest mappings from your underlying index.

Upvotes: 2

Related Questions