# Log/Debug Full RBAC Query in Elasticsearch

**URL:** https://discuss.elastic.co/t/log-debug-full-rbac-query-in-elasticsearch/212838
**Category:** Elasticsearch
**Created:** [December 23, 2019, 11:30am UTC](https://discuss.elastic.co/t/log-debug-full-rbac-query-in-elasticsearch/212838 "2019-12-23T11:30:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![leewadhams](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leewadhams/32/7197_2.png) [@leewadhams](https://discuss.elastic.co/u/leewadhams)
#### Post date: [December 23, 2019, 11:30am UTC](https://discuss.elastic.co/t/log-debug-full-rbac-query-in-elasticsearch/212838/1 "2019-12-23T11:30:38Z")

</div>

Hi,

We're trying to use RBAC to limit access to an index for a given user. Is there a way to view the full query that gets generated when a user submits a query?

Lee

---

<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: [January 20, 2020, 11:30am UTC](https://discuss.elastic.co/t/log-debug-full-rbac-query-in-elasticsearch/212838/2 "2020-01-20T11:30:41Z")

</div>

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