I am facing the issue with ES on the error "Limit of total fields ". I have three different environments and have never faced such issue and its always same kind of data gets indexed. We spinned up new environment and this started causing the error mentioned above.
Even before hitting the limit of 1000, I am seeing the issue. I have a document which barely has 400 fields. How is ES calculating the 1000 fields?
For everyone out there, if you are trying to figure "Is my index actually exceeding 1000 fields limit?"
Grab the whole mappings of index and find how many times "type" is repeated. In my "type" is found more than 1000 times. Hence gives me clarity why it gives that error.
I have fetched the index settings and like said, barely 400 fields.