# What role do I enable for kibana dashboard CSV download?

**URL:** <https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [October 12, 2021, 3:01pm UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520 "2021-10-12T15:01:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueren](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@blueren](https://discuss.elastic.co/u/blueren)\
**Post date:** [October 12, 2021, 3:01pm UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/1 "2021-10-12T15:01:48Z")

</div>

I have the exact issue as mentioned in [this other thread](https://discuss.elastic.co/t/kibana-7-4-2-user-with-dashboard-only-access-unable-to-download-csv-option/225197) but unfortunately I'm unable to get it working based on the responses provided there.

I have a custom role with a "read" access on dashboard. The user is unable to save as csv. And whenever the action is performed, I see a forbidden message on the chrome console.

`xpack.reporting.roles.enabled: true` This isn't of use now as it's mentioned that it has been depricated in 7.14.0

What exactly do I need to do to get reporting privileges in kibana roles as I don't see any specific role for reporting.

---

<div class="post-metadata">

**Author:** ![blueren](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@blueren](https://discuss.elastic.co/u/blueren)\
**Post date:** [October 13, 2021, 9:59am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/2 "2021-10-13T09:59:44Z")

</div>

Um.. anyone?

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [October 18, 2021, 9:37am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/3 "2021-10-18T09:37:57Z")

</div>

> [@blueren](#):
>
> What exactly do I need to do to get reporting privileges in kibana roles as I don't see any specific role for reporting.

Have you tried to follow these steps: [Configure reporting in Kibana | Kibana Guide [7.14] | Elastic](https://www.elastic.co/guide/en/kibana/7.14/secure-reporting.html#grant-user-access)?

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![blueren](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@blueren](https://discuss.elastic.co/u/blueren)\
**Post date:** [October 18, 2021, 10:27am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/4 "2021-10-18T10:27:13Z")

</div>

I did go through it,

I've added the below line in kibana.yml and saved:

```auto
xpack.reporting.roles.enabled: true

```

However, I still don't see the reporting section under analytics as mentioned in point 4 of the link that you've shared.

It is also mentined in the subsequent paragraph -

> If the **Reporting** option is unavailable, contact your administrator, or [enable the option in kibana.yml](https://www.elastic.co/guide/en/kibana/7.14/reporting-settings-kb.html#reporting-advanced-settings).

However, in the "enable the option in kibana.yml" link, it has been mentioned that the configuration is depricated as of 7.14.

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [October 18, 2021, 10:29am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/5 "2021-10-18T10:29:51Z")

</div>

> [@blueren](#):
>
> ```auto
> xpack.reporting.roles.enabled: true
> 
> ```
> 
> However, I still don't see the reporting section under analytics as mentioned in point 4 of the link that you've shared.

I believe you're meant to disable, not enable `reporting.roles` (the legacy authorization mechanism). So it should be:

```auto
xpack.reporting.roles.enabled: false

```

---

<div class="post-metadata">

**Author:** ![blueren](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@blueren](https://discuss.elastic.co/u/blueren)\
**Post date:** [October 18, 2021, 11:09am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/6 "2021-10-18T11:09:18Z")

</div>

I have an iframe whichcontains a table. I use an anonymous user login to enable the seamless view of that dashboard inside the iframe.

On the table, when the user clicks on the three dots and tries to export as csv, a forbidden message is displayed and the csv fails. This is what I'm trying to solve. So I need to enable reporting role on the anonymous user's role.

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [October 18, 2021, 11:36am UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/7 "2021-10-18T11:36:23Z")

</div>

> [@blueren](#):
>
> This is what I'm trying to solve. So I need to enable reporting role on the anonymous user's role.

Right, the steps are exactly the same [Configure reporting in Kibana | Kibana Guide [7.14] | Elastic](https://www.elastic.co/guide/en/kibana/7.14/secure-reporting.html#grant-user-access). You just need to do it for your anonymous service account.

Keep in mind that report generation can be a heavy task, and if you make it available to any user on the internet (hopefully not) they can easily DDoS your Kibana instance.

Anyway, what type of [credentials](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#anonymous-authentication) you use to enable anonymous access? What roles does anonymous service account have?

---

<div class="post-metadata">

**Author:** ![nate\_d](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nate_d/32/77076_2.png) [@nate\_d](https://discuss.elastic.co/u/nate_d)\
**Post date:** [October 28, 2021, 2:17pm UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/8 "2021-10-28T14:17:26Z")

</div>

I'm having the exact same issue.  
I followed the steps given here - [Configure reporting in Kibana | Kibana Guide [7.15] | Elastic](https://www.elastic.co/guide/en/kibana/current/secure-reporting.html#grant-user-access)  
which then redirects me here - [Reporting settings in Kibana | Kibana Guide [7.15] | Elastic](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-advanced-settings)

I've added this to my `kibana.yml` file

```auto
xpack.reporting.enabled: true
xpack.reporting.roles.enabled: false

```

But i'm still unable to see the Reporting option under Analytics in the Kibana Privileges

This is what I see

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

---

<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:** [November 25, 2021, 2:17pm UTC](https://discuss.elastic.co/t/what-role-do-i-enable-for-kibana-dashboard-csv-download/286520/9 "2021-11-25T14:17:45Z")

</div>

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