Export field format

Hi all.

So I can see similar ticket 80178 without solution.
I have a field that is a number and I format that using Kibana to show it as a Duration.
But I'm unable to find where exactly is Kibana storing that information.

I can't find it in _mappings, _settings or as a content of the .kibana index. It is also not exported as json from Export everything. However when I delete .kibana index and recreate it by restarting kibana the field format in kibana ui is gone so it has to be somewhere in .kibana index, but where? Which api could I call?
I found this https://github.com/elastic/kibana/issues/12756 as well but I have nothing in fieldFormatMap.
I want to have this predefined for out stock installation in docker so it doesn't have to be setup at every installation.


take a look at this file, it creates initial index for our tests, with some field formats defined:


let me know if this helps

1 Like

Field formats are stored on the index pattern saved object. Unfortunately, index patterns are not exported by Export everything. There is an open issue about including index patterns in saved object exports.

You can view the index pattern saved objects by going to Dev tools and running

GET .kibana/_search
  "query": { 
    "bool": { 
      "must": [
        { "match": { "type":   "index-pattern" }}

You can use the dashboard export API to export all saved objects associated to a dashboard.

1 Like

I was trying to fetch it using { "query": { "match_all": {} } } :zipper_mouth_face:

Thanks @Nathan_Reese amd @ppisljar !

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