I am wondering if I can update existing dashboard using UPDATE api with saved json file. I am trying to see if I can revert my old changes back on dashboard back to Kibana. I am designing a way to have version control using provided APIs from elastic (https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html)
Yes, this is why we have those APIs. Just be sure to have backups before doing it, because the JSON approach has very few safeguards to prevent the dashboard from breaking. Also keep in mind that a dashboard is usually composed of multiple visualizations, so you may need to update the dashboard and all of its visualizations and all of its index patterns at the same time. This is possible with the bulk API.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.