<p dir="auto">Given <a href="https://github.com/elastic/elasticsearch/issues/8449" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/8449/hovercard">we track filter cache use</a>, is there anyway we can provide stats around what filter caches are in use and what that use looks like?</p>
<p dir="auto">Would be nice to provide something similar to fielddata memory breakdown in the node stats so we can see the top consumers of the filter cache (eg. list the type of filter in the cache, and for each type, list the field names and count + size info) without having to log and review queries or examine a heap dump.</p>