# Trying to find saved dashboard

**URL:** <https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651>\
**Category:** Elasticsearch\
**Created:** [February 26, 2021, 6:39pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651 "2021-02-26T18:39:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicks1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicks1993/32/84627_2.png) [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Post date:** [February 26, 2021, 6:39pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/1 "2021-02-26T18:39:03Z")

</div>

I was under the impression that saved objects would be saved in a .kibana/ directory or index found here  
/usr/share/elasticsearch/data/nodes/0/indices

But that is not the case, my kibana.yml is found here, I run kibana as a k8s pod

```
# Default Kibana configuration for docker target
server.name: kibana
server.host: "0"
elasticsearch.hosts: ["http://elasticsearch:9200"]
monitoring.ui.container.elasticsearch.enabled: true

```

I have kibana running as a k8s pod, and ES running as a docker image, the saving of objects and importing/exporting works, I just can't find out where they end up in the file system, any tips?

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [February 26, 2021, 8:04pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/2 "2021-02-26T20:04:24Z")

</div>

Dashboards are in `.kibana` index. You can see them by running the below.

```auto
GET .kibana/_search
{
  "_source": "dashboard.title", 
  "query": {
    "match": {
      "type": "dashboard"
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![nicks1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicks1993/32/84627_2.png) [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Post date:** [February 26, 2021, 8:20pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/3 "2021-02-26T20:20:00Z")

</div>

So I do get a result ther

```
"hits" : [
  {
    "_index" : ".kibana_1",
    "_type" : "_doc",
    "_id" : "dashboard:29f8c710-808b-11e9-b008-41e831b82af3",
    "_score" : 3.753418,
    "_source" : {
      "dashboard" : {
        "title" : "ErrorLogDashboard"
      }
    }
  }
]

```

I guess what I am asking is where is .kibana\_1? How can I find this if I wanted to mount my dashboard there at deployment time. I assumed maybe it would be in here  
/usr/share/elasticsearch/data/nodes/0/indices

but I'm not sure where else to look

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [February 26, 2021, 9:13pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/4 "2021-02-26T21:13:29Z")

</div>

Ahh understand. I have no idea where in the filesystem this is saved, sorry.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2021, 9:43pm UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/5 "2021-02-26T21:43:04Z")

</div>

Can you elaborate more on what you are trying to do here?  
You should not need to be interacting with the filesystem at all.

---

<div class="post-metadata">

**Author:** ![nicks1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicks1993/32/84627_2.png) [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Post date:** [February 27, 2021, 1:07am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/6 "2021-02-27T01:07:43Z")

</div>

Sorry, I probably made it sound more complex. I have a very simple task, I want to mount the JSON file in the ES dockerfile or Kibana K8s at deploy time so that the user does not have to navigate to the kibana dashboard and manually "import" the dashboard JSON file. When kibana is deployed I want the dashboard to already be in the filesystem.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 27, 2021, 1:08am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/7 "2021-02-27T01:08:19Z")

</div>

You need to use the API to do this, there's no way for Elasticsearch/Kibana to pull it off the filesystem.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [February 27, 2021, 1:14am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/8 "2021-02-27T01:14:28Z")

</div>

This [SO question/answer](https://stackoverflow.com/questions/58469695/docker-elasticsearch-kibana-starting-with-saved-objects) seems like what you are trying to do.

---

<div class="post-metadata">

**Author:** ![nicks1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicks1993/32/84627_2.png) [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Post date:** [February 27, 2021, 1:31am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/9 "2021-02-27T01:31:56Z")

</div>

Yeah that's pretty well it, it's just that I can't find the hidden directory ".kibana" in "/usr/share/elasticsearch/data" Otherwise I'd just mount a volume there and call it a day

I assume this is possible and a very common use case but I could be wrong. I'll wait a bit and see if anyone else managed to get this solved. I have many items in my /usr/share/elasticsearch/data/nodes/0/indices directory but no saved objects as far as I can tell

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 27, 2021, 1:33am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/10 "2021-02-27T01:33:39Z")

</div>

It's not stored in a directory with that name, that's why. We also don't support that approach.

Your other option is to take a snapshot of that index and then restore it in the new cluster.

---

<div class="post-metadata">

**Author:** ![nicks1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicks1993/32/84627_2.png) [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Post date:** [February 27, 2021, 1:35am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/11 "2021-02-27T01:35:11Z")

</div>

Ah interesting, that's good to know. I'll dig more into this on Monday, thanks for the help

---

<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:** [March 27, 2021, 1:35am UTC](https://discuss.elastic.co/t/trying-to-find-saved-dashboard/265651/12 "2021-03-27T01:35:21Z")

</div>

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