# How to get kibana advanced settings from API?

**URL:** <https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759>\
**Category:** Kibana\
**Created:** [June 11, 2020, 5:07pm UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759 "2020-06-11T17:07:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudosu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sudosu](https://discuss.elastic.co/u/sudosu)\
**Post date:** [June 11, 2020, 5:07pm UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/1 "2020-06-11T17:07:07Z")

</div>

Hi  
I would like to get the advanced settings in kibana from an API call.  
I tried

````auto
GET .kibana/_search 
{
  "query": {
    "term": { 
      "type": { 
        "value": "config" 
      } 
    }
  }
}```

but I am getting this under source 

    ```
"_source" : {
          "config" : {
            "buildNum" : 30896,
            "defaultIndex" : "ff959d40-b880-11e8-a6d9-e546fe2bba5f"
          },
          "type" : "config",
          "references" : [],
          "updated_at" : "2020-06-11T13:54:14.909Z"
        }

````

I am trying to retrieve the Date format, the CSV separator, Formatting locale, the darkmode and so on. But as we can see from the response above they are not there.  
Any Idea where I can find them through an API call?  
Thanks

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 16, 2020, 5:39am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/2 "2020-06-16T05:39:30Z")

</div>

Hi  
Sorry, but you can't. you can only retrieve the values you set manually, so if css separator, formatting locale, dark mode were set, you could retrieve them with your request.

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![sudosu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sudosu](https://discuss.elastic.co/u/sudosu)\
**Post date:** [June 16, 2020, 9:32am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/3 "2020-06-16T09:32:57Z")

</div>

> [@sudosu](#):
>
> call

Thanks for your reply.  
Where do I have to set them manually?

Thanks

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 16, 2020, 1:01pm UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/4 "2020-06-16T13:01:27Z")

</div>

You mean via API and not UI?

---

<div class="post-metadata">

**Author:** ![sudosu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sudosu](https://discuss.elastic.co/u/sudosu)\
**Post date:** [June 17, 2020, 8:00am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/5 "2020-06-17T08:00:52Z")

</div>

> [@matw](#):
>
> request

Both I tried on the UI and I c'ant get the settings.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 17, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/6 "2020-06-17T08:15:36Z")

</div>

Hi

Which version of Kibana are you using? here are the docs of our advanced settings:  
[https://www.elastic.co/guide/en/kibana/current/advanced-options.html](https://www.elastic.co/guide/en/kibana/current/advanced-options.html)

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![sudosu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sudosu](https://discuss.elastic.co/u/sudosu)\
**Post date:** [June 17, 2020, 8:22am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/7 "2020-06-17T08:22:04Z")

</div>

My kibana version is 7.6.1.  
After setting the csv separator, formatting locale and dark mode using the UI on the advanced setting page, I still can't get them using the request above. They are not showing up in the response.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 17, 2020, 8:28am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/8 "2020-06-17T08:28:05Z")

</div>

ok, thx, I will check this

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 17, 2020, 10:09am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/9 "2020-06-17T10:09:59Z")

</div>

This should work if you set it to a non-default value:

 ![Bildschirmfoto 2020-06-17 um 12.07.53](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66d15884e380a8974c5929286d90297762e05400.png)

---

<div class="post-metadata">

**Author:** ![sudosu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sudosu](https://discuss.elastic.co/u/sudosu)\
**Post date:** [June 18, 2020, 4:53am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/10 "2020-06-18T04:53:44Z")

</div>

ok thanks very much.

---

<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:** [July 16, 2020, 4:53am UTC](https://discuss.elastic.co/t/how-to-get-kibana-advanced-settings-from-api/236759/11 "2020-07-16T04:53:53Z")

</div>

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