# Not opting out of the query cache; authorization is not allowed

**URL:** https://discuss.elastic.co/t/not-opting-out-of-the-query-cache-authorization-is-not-allowed/353819
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [February 21, 2024, 7:43pm UTC](https://discuss.elastic.co/t/not-opting-out-of-the-query-cache-authorization-is-not-allowed/353819 "2024-02-21T19:43:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SQIGGLES](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqiggles/32/131756_2.png) [@SQIGGLES](https://discuss.elastic.co/u/SQIGGLES)
#### Post date: [February 21, 2024, 7:43pm UTC](https://discuss.elastic.co/t/not-opting-out-of-the-query-cache-authorization-is-not-allowed/353819/1 "2024-02-21T19:43:24Z")

</div>

I'm on a 3-node basic ES cluster and receiving lots of these in the logs:

[Name of our main db] not opting out of the query cache; authorization is not allowed

I'm perusing the logs as we are troubleshooting anything that might be improved performance wise. In particular, our autocomplete results have been unimpressive.

Online and in the forum it seems like many have run across this issue but I can't find anyone who pursued it through to a solution.

Can you tell me what this is, how to remedy it and if it matters? Thanks!

I'm on 6.8 / Alma 9 / 50G jvm 200G OS RAM. Unable to update versions at this time.

Additional:

```auto
2:01:28 PM
myserver [mydb] not opting out of the query cache; authorization is not allowed 2024-02-21T06:01:29.033Z o.e.x.s.a.a. OptOutQueryCache/home/es-backup/vr-live-cluster.log log svr-es3file

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 20, 2024, 7:43pm UTC](https://discuss.elastic.co/t/not-opting-out-of-the-query-cache-authorization-is-not-allowed/353819/2 "2024-03-20T19:43:32Z")

</div>

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