# Dashboard Stack Setup

**URL:** <https://discuss.elastic.co/t/dashboard-stack-setup/227701>\
**Category:** Kibana\
**Created:** [April 12, 2020, 8:06pm UTC](https://discuss.elastic.co/t/dashboard-stack-setup/227701 "2020-04-12T20:06:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xennn](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@xennn](https://discuss.elastic.co/u/xennn)\
**Post date:** [April 12, 2020, 8:06pm UTC](https://discuss.elastic.co/t/dashboard-stack-setup/227701/1 "2020-04-12T20:06:13Z")

</div>

Hi there,

I have a stack installation. My file beat forwards the beats to my logstash.  
But i have a problem i cant use the dashboard command for setup the dashboards.  
I found a way in documentation to use the api for this.But i get a error.

`{"objects":[{"id":"a1da8500-f739-11e9-9f4d-5dd1f9c9e483","type":"dashboard","error":{"message":"failed to parse field [dashboard.panelsJSON] of type [text] in document with id 'dashboard:a1da8500-f739-11e9-9f4d-5dd1f9c9e483'. Preview of field's value:`

Over the GUI i get a error message:

Sorry, there was an error

Saved objects file format is invalid and cannot be imported.

How i can solve this?  
What is the best practice for this setup with a stack and dont use all services on one server.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 13, 2020, 5:12am UTC](https://discuss.elastic.co/t/dashboard-stack-setup/227701/2 "2020-04-13T05:12:11Z")

</div>

HI

There might be something wrong with the beats config or the the JSON itself . Would [Find Saved Objects API](https://www.elastic.co/guide/en/kibana/6.3/saved-objects-api-find.html) do the job for you?

For example:

```auto
 $ curl 'http://localhost:5601/api/saved_objects/_find?type=index-pattern&per_page

```

[https://www.elastic.co/guide/en/kibana/7.6/saved-objects-api.html#saved-objects-api](https://www.elastic.co/guide/en/kibana/7.6/saved-objects-api.html#saved-objects-api)

Thanks  
Rashmi

---

<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:** [May 11, 2020, 5:12am UTC](https://discuss.elastic.co/t/dashboard-stack-setup/227701/3 "2020-05-11T05:12:16Z")

</div>

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