# Looking for a json samples to configure csv share reporting

**URL:** <https://discuss.elastic.co/t/looking-for-a-json-samples-to-configure-csv-share-reporting/354753>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [March 5, 2024, 4:16pm UTC](https://discuss.elastic.co/t/looking-for-a-json-samples-to-configure-csv-share-reporting/354753 "2024-03-05T16:16:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmurilo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nmurilo/32/128244_2.png) [@nmurilo](https://discuss.elastic.co/u/nmurilo)\
**Post date:** [March 5, 2024, 4:16pm UTC](https://discuss.elastic.co/t/looking-for-a-json-samples-to-configure-csv-share-reporting/354753/1 "2024-03-05T16:16:44Z")

</div>

According to the documentation: [Reporting settings in Kibana | Kibana Guide [8.12] | Elastic](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-advanced-settings) I have to add "xpack.reporting.roles.enabled: false" on kibana yaml file.  
But I already have a xpack definition on json file and I got that error: " our changes cannot be applied  
Kibana - Cannot currently specify user settings using YAML and JSON simultaneously, please choose one".  
But I didn't find any sample or documentation how to do it.  
I'm running a cloud version highest license.  
Any hints?  
Thanks.

---

<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:** [March 19, 2024, 5:34pm UTC](https://discuss.elastic.co/t/looking-for-a-json-samples-to-configure-csv-share-reporting/354753/2 "2024-03-19T17:34:31Z")

</div>

> [@nmurilo](#):
>
> But I already have a xpack definition on json file and I got that error: " our changes cannot be applied  
> Kibana - Cannot currently specify user settings using YAML and JSON simultaneously, please choose one".

I didn't know it was possible to specify User Settings as JSON. Anyway, if you want to apply the `xpack.reporting.roles.enabled` setting as JSON as well, that would come out to:

```json
{
  "xpack": {
    "reporting": {
      "roles": {
        "enabled": false
      }
    }
  }
}

```

---

<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:** [April 16, 2024, 5:34pm UTC](https://discuss.elastic.co/t/looking-for-a-json-samples-to-configure-csv-share-reporting/354753/3 "2024-04-16T17:34:56Z")

</div>

Closed on April 16, 2024, 5:34pm UTC

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