Dashboard import and export APIsedit

Import and export dashboards with the corresponding saved objects, such as visualizations, saved searches, and index patterns.

Do not write documents directly to the .kibana index. When you write directly to the .kibana index, the data becomes corrupted and permanently breaks future Kibana versions.