Hi all!
I have one problem. I am just trying to insert new Kibana dashboard (or copy of existing dashboard) using comandline. I send PUT request to elasticsearch .kibana index. That request stores JSON file in body with similar structure like those dashboards which i have been created in Kibana UI. BUT, if we will check given JSON file in JSON validator, it tells, thath JSON isn`t correct, because, for example, panelJSON varibale have incorrect structure: "panelsJSON": "[{"xxx":"yyy"}]". It turns out that JSON file is inside JSON. So validator bawl about " ". So i cannot send similar JSON file to .kibana index. Can someone help with this problem?
up...
Have you tried escaping the inner quotation marks with a backslash (\) character?
Thanks a lot for idea! It works!