Get current number of fields in index

I'd like to see how close I am to reaching the limit of fields in my index (currently set to 1000). In Kibana, my index pattern says the index has a total of 76 fields. However, on the discover tab, I have over 500 fields to choose from. How can I determine how many fields count towards the limit?

Hm, to be honest I'm not sure how Kibana is deriving those values. But you can check the current set of fields by using the Get Mapping API:

GET /my_index/_mapping

You'll have to parse the response and count the number of fields, but that gives you all the information needed.

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