# Indices:data/read/esq privilege usage

**URL:** <https://forum.search-guard.com/t/indices-data-read-esq-privilege-usage/5055>\
**Category:** Search Guard\
**Created:** [November 26, 2026, 5:28pm UTC](https://forum.search-guard.com/t/indices-data-read-esq-privilege-usage/5055 "2026-11-26T17:28:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbacchella](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@fbacchella](https://forum.search-guard.com/u/fbacchella)\
**Post date:** [November 26, 2026, 5:28pm UTC](https://forum.search-guard.com/t/indices-data-read-esq-privilege-usage/5055/1 "2026-11-26T17:28:47Z")

</div>

I’m trying to play with ES|QL and getting very inconsistent results.

In the log, I’m seeing Required Privileges: [indices:data/read/esql] Status: INSUFFICIENT in the logs

To have a quick look, I download the latest code from git and search the code and searched for this privilege in the logs and found only one occurrence, in the file security/src/main/resources/static\_config/static\_roles.yml.

Is that privilege correctly tested ?
