# Reporting Error: Access for Kibana -\>Share -\> CSV Report -\> Generate CSV

**URL:** <https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658>\
**Category:** Kibana\
**Created:** [January 29, 2021, 2:51pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658 "2021-01-29T14:51:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [January 29, 2021, 2:51pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/1 "2021-01-29T14:51:51Z")

</div>

Hi  
I have a user with the guest\_role which can "read" access on an index, I have also assigned a Kibana's reporting\_user role, but when the user tries to Share the content of and index using  
Share -\> CSV Report -\> Generate CSV  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8ed45b23c1ac73a2e8a5fbacc2eb3fe56eae2b5.png)

user get "Reporting error " \> Forbidden  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cd9a3996d8bb62c6dfd2b50e74dfa979fe57c1a9.png)

I saw a post about assign the reporting\_user role to the user, but it didn't solve my problem

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 29, 2021, 3:15pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/2 "2021-01-29T15:15:59Z")

</div>

Try giving the user `read` and `write` access.

\*\* I just tested and only `read` should work...

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 29, 2021, 3:21pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/3 "2021-01-29T15:21:28Z")

</div>

Here is what I tested to work with 7.10.

Sounds like that is what you have but can you match and verify?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/4/549572a47a5cf9eb981dc494b78b11db204f7952.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/843de78afc090331efda6bd1606ae7538dafcf43.png)

---

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [January 29, 2021, 3:26pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/4 "2021-01-29T15:26:41Z")

</div>

Hi,

But it is a guest user, we don't want to give them to write any "dummy" record to our index, when learning on ElasticSearch.

I tried it again after I assigned the reporting\_user role, and I login to the "guest" account, and I can generate the report. But when my user login with the same account (logout, relogin in new tab), and he try to generate csv report, and his action failed.

Besides, we don't want to give admin role to guest user.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d22a730ce8907c00720e70d019bc5c8398212e27.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9af601837e29d79601c4f503e002848eac25e3bd.png)

---

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [February 2, 2021, 1:48pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/5 "2021-02-02T13:48:12Z")

</div>

I think it is working now.  
Need to logout, and then relogin, and then open a new tab to relogin, then it works

---

<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 2, 2021, 1:48pm UTC](https://discuss.elastic.co/t/reporting-error-access-for-kibana-share-csv-report-generate-csv/262658/6 "2021-03-02T13:48:18Z")

</div>

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