How to find all fields that don't have values?

I have an index that has around a thousand fields and several million documents. Many of the fields are empty.

How can I query the index to find out which fields do not have values?

See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html#find-docs-null-values

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