# What privileges/roles does a user need to be able to export CSV files from Kibana 7.1?

**URL:** <https://discuss.elastic.co/t/what-privileges-roles-does-a-user-need-to-be-able-to-export-csv-files-from-kibana-7-1/190086>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [July 11, 2019, 5:57pm UTC](https://discuss.elastic.co/t/what-privileges-roles-does-a-user-need-to-be-able-to-export-csv-files-from-kibana-7-1/190086 "2019-07-11T17:57:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![o1o1o11o1](https://avatars.discourse-cdn.com/v4/letter/o/74df32/32.png) [@o1o1o11o1](https://discuss.elastic.co/u/o1o1o11o1)\
**Post date:** [July 11, 2019, 5:57pm UTC](https://discuss.elastic.co/t/what-privileges-roles-does-a-user-need-to-be-able-to-export-csv-files-from-kibana-7-1/190086/1 "2019-07-11T17:57:56Z")

</div>

I am trying to generate a CSV report from a saved search in Kibana, but am getting this error:

```
[
  {
    "type": "security_exception",
    "reason": "action [cluster:monitor/state] is unauthorized for user [someuser]"
  }
]

```

The user has the following roles:

```
"someuser": {
    "username": "someuser",
    "roles": [
      "kibana_user",
      "read_index",
      "reporting_user",
      "monitoring_user"
    ],
    "full_name": null,
    "email": null,
    "metadata": {},
    "enabled": true
  }

```

What privileges should that user have to be able to generate CSV reports from Kibana ?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 19, 2019, 6:13pm UTC](https://discuss.elastic.co/t/what-privileges-roles-does-a-user-need-to-be-able-to-export-csv-files-from-kibana-7-1/190086/2 "2019-07-19T18:13:02Z")

</div>

Hi, how are you going about generating the CSV, and where are you seeing that error? There's a lot of chance that error is happening because of something else going on. The only way to be sure if that's the problem, is if that is given as the reason for the CSV report failing when you look at the status in **Management \> Kibana \> Reporting**

---

<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 16, 2019, 6:13pm UTC](https://discuss.elastic.co/t/what-privileges-roles-does-a-user-need-to-be-able-to-export-csv-files-from-kibana-7-1/190086/3 "2019-08-16T18:13:03Z")

</div>

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