# CSV Export Permission Issue for Kibana Users (Non-Superuser) in Elasticsearch 8.6.1

**URL:** <https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627>\
**Category:** Kibana\
**Created:** [November 7, 2023, 2:35pm UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627 "2023-11-07T14:35:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Behnam.R](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Behnam.R](https://discuss.elastic.co/u/Behnam.R)\
**Post date:** [November 7, 2023, 2:35pm UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627/1 "2023-11-07T14:35:32Z")

</div>

I have installed Elasticsearch with an active license, but I am encountering an issue when trying to export data to CSV while logged in as either the `kibana-viewer` or `kibana-full` user. Notably, exporting works fine when I use the `elastic` superuser account. I've attempted to create a new role with the configurations shown in the screenshot provided.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d8621019365b1f9699fb76e226d9b454a18a33a6.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f50cf343b448dc617f8e6e3bb8ed50e675df8b1.png)

but I still cannot export the data. Different settings either result in an empty CSV file or an error message stating, "CSV download failed. We couldn't generate your CSV at this time." Could someone please guide me on how to define the correct role and assign it to a new user so that exporting data into CSV becomes possible?

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [November 17, 2023, 8:39pm UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627/2 "2023-11-17T20:39:14Z")

</div>

Hello @Behnam.R,

Pls check the Kibana privileges…

 ![IMG_2079](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2bba5d516b6cec5505c2bb817159896045e9796.png)

This is a good guide: [Configure reporting in Kibana | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/secure-reporting.html#grant-user-access)

---

<div class="post-metadata">

**Author:** ![Behnam.R](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Behnam.R](https://discuss.elastic.co/u/Behnam.R)\
**Post date:** [November 19, 2023, 12:02am UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627/3 "2023-11-19T00:02:25Z")

</div>

@Priscilla_Parodi Thanks a lot for the help, it works perfectly now.

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [November 20, 2023, 5:46pm UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627/4 "2023-11-20T17:46:21Z")

</div>

Great! You're welcome.

---

<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:** [December 18, 2023, 5:46pm UTC](https://discuss.elastic.co/t/csv-export-permission-issue-for-kibana-users-non-superuser-in-elasticsearch-8-6-1/346627/5 "2023-12-18T17:46:52Z")

</div>

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