# Is there a way to log role definition changes when using the Kibana UI?

**URL:** https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970
**Category:** Kibana
**Created:** [July 20, 2017, 3:01pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970 "2017-07-20T15:01:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jcrichfield](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jcrichfield](https://discuss.elastic.co/u/jcrichfield)
#### Post date: [July 20, 2017, 3:01pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/1 "2017-07-20T15:01:40Z")

</div>

Is there a way to log role definition changes when using the Kibana UI? Want to see what API calls Kibana is sending to Elasticsearch when I define roles.

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [July 21, 2017, 4:37am UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/2 "2017-07-21T04:37:45Z")

</div>

Hey Jamaal, you should be able to set `logging.verbose: true` and `elasticsearch.logQueries: true` in your config, which will log the queries in a copy/pasteable format.

Thanks,  
CJ

---

<div class="post-metadata">

### Author: ![jcrichfield](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jcrichfield](https://discuss.elastic.co/u/jcrichfield)
#### Post date: [July 21, 2017, 2:20pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/3 "2017-07-21T14:20:53Z")

</div>

Thank you I will give this a try. Do these entries go in elasticsearch.yml or the kibana.yml ?

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [July 21, 2017, 5:01pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/4 "2017-07-21T17:01:35Z")

</div>

Sure thing! They can go in the kibana.yml.

---

<div class="post-metadata">

### Author: ![jcrichfield](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jcrichfield](https://discuss.elastic.co/u/jcrichfield)
#### Post date: [July 21, 2017, 6:09pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/5 "2017-07-21T18:09:24Z")

</div>

Thank you.

---

<div class="post-metadata">

### Author: ![jcrichfield](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jcrichfield](https://discuss.elastic.co/u/jcrichfield)
#### Post date: [July 24, 2017, 1:18pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/6 "2017-07-24T13:18:28Z")

</div>

@cjcenizal Those settings didn't seem to give me what I needed. Might try to frame my question in a different forum post. Thanks for your help. 😀

---

<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: [August 21, 2017, 1:19pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-role-definition-changes-when-using-the-kibana-ui/93970/7 "2017-08-21T13:19:11Z")

</div>

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