Dashboard Stack Setup

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.

HI

There might be something wrong with the beats config or the the JSON itself . Would Find Saved Objects API do the job for you?

For example:

 $ 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

Thanks
Rashmi

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