# Where are the canvas stored?

**URL:** <https://discuss.elastic.co/t/where-are-the-canvas-stored/253170>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [October 23, 2020, 6:36pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170 "2020-10-23T18:36:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Fernando\_Palm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_fernando_palm/32/77804_2.png) [@Carlos\_Fernando\_Palm](https://discuss.elastic.co/u/Carlos_Fernando_Palm)\
**Post date:** [October 23, 2020, 6:36pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/1 "2020-10-23T18:36:54Z")

</div>

Hello. I am using kibana to create some canvas which will store a couple visualizations. Now this is being done via docker-compose. I would like to know the location inside the container filesystem where the canvas I just created is stored. This to use docker to make sure everyone creating the same container from the yml file has access to the canvas. That is, just by running docker compose this particular canvas is added to kibana-elasticsearch.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 25, 2020, 7:46pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/2 "2020-10-25T19:46:05Z")

</div>

Canvas workpads are stored in the Elasticsearch instance along with your actual data in a special `.kibana` index (it's a so called "saved object"). The recommended way to automate saved object handling is to use the "saved objects API": [https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html](https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html)

---

<div class="post-metadata">

**Author:** ![Carlos\_Fernando\_Palm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_fernando_palm/32/77804_2.png) [@Carlos\_Fernando\_Palm](https://discuss.elastic.co/u/Carlos_Fernando_Palm)\
**Post date:** [October 26, 2020, 2:48pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/3 "2020-10-26T14:48:55Z")

</div>

Hello Joe, thanks for the quick reply. Is this API being used by the Kibana GUI when you first want to create a workpad and you're given the option to import it from a file? That's what I've been doing, exporting the canvas to a .json file and then when a new instance of kibana is created importing it via the graphic interface:

 ![kibanaimport](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e6b4aca7dec7c05a62a05e74cc2f9551fa1e02d4.jpeg)

---

<div class="post-metadata">

**Author:** ![Carlos\_Fernando\_Palm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_fernando_palm/32/77804_2.png) [@Carlos\_Fernando\_Palm](https://discuss.elastic.co/u/Carlos_Fernando_Palm)\
**Post date:** [October 26, 2020, 8:32pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/4 "2020-10-26T20:32:13Z")

</div>

Looks like the saved objects API does not apply to canvas:

> [@Kibana export API](https://discuss.elastic.co/t/kibana-export-api/253359):
>
> Hello, I am trying to export a canvas using this: Now the request requires a type, but when I set canvas it says {"statusCode":400,"error":"Bad Request","message":"Trying to export non-exportable type(s): \*"} There should be a list of types that can be used with the endpoint

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 27, 2020, 9:14am UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/5 "2020-10-27T09:14:00Z")

</div>

That's a good point @Carlos_Fernando_Palm - I pinged the canvas team to look into the case

---

<div class="post-metadata">

**Author:** ![Carlos\_Fernando\_Palm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_fernando_palm/32/77804_2.png) [@Carlos\_Fernando\_Palm](https://discuss.elastic.co/u/Carlos_Fernando_Palm)\
**Post date:** [October 27, 2020, 1:49pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/6 "2020-10-27T13:49:21Z")

</div>

Hello Joe. Aaron Nimocks kindly provided the solution for this. The saved objects api does apply to canvas, you just need to use canvas-workpad as the type:

> [@Kibana export API](https://discuss.elastic.co/t/kibana-export-api/253359/3):
>
> Looks like there could be more options than those. Try canvas-workpad. Guess an easy way to get them all is click on Type as I did below to see them all.

Thank you to all the elastic team members for your 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:** [November 24, 2020, 1:49pm UTC](https://discuss.elastic.co/t/where-are-the-canvas-stored/253170/7 "2020-11-24T13:49:22Z")

</div>

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