# Getting "stats\[n\] does not support wildcards" for \_stats ES API

**URL:** <https://discuss.elastic.co/t/getting-stats-n-does-not-support-wildcards-for-stats-es-api/349135>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** elastic-stack-security\
**Created:** [December 12, 2023, 10:50am UTC](https://discuss.elastic.co/t/getting-stats-n-does-not-support-wildcards-for-stats-es-api/349135 "2023-12-12T10:50:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Oleg2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oleg2/32/125215_2.png) [@Oleg2](https://discuss.elastic.co/u/Oleg2)\
**Post date:** [December 28, 2023, 12:24am UTC](https://discuss.elastic.co/t/getting-stats-n-does-not-support-wildcards-for-stats-es-api/349135/7 "2023-12-28T00:24:12Z")

</div>

@shweta.c commenting about your post from 2022: [ES 7.17 | Exponentially growing query cache](https://discuss.elastic.co/t/es-7-17-exponentially-growing-query-cache/298784)

The issue was fixed in this PR [Make LRUQueryCache respect Accountable queries on eviction and consisten… by gtroitskiy · Pull Request #12614 · apache/lucene · GitHub](https://github.com/apache/lucene/pull/12614)

---

_[View the full topic](https://discuss.elastic.co/t/getting-stats-n-does-not-support-wildcards-for-stats-es-api/349135)._
