Created
October 30, 2019 10:24
-
-
Save dyipon/70bdc47c60c87864bb6f90bab0730f7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backup: | |
curl -X POST "localhost:5601/api/saved_objects/_export" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d' | |
{ | |
"type": "visualization" | |
} | |
' \ | |
-o kibana.visualization.ndjson | |
restore: | |
curl -X POST "localhost:5601/api/saved_objects/_import" -H "kbn-xsrf: true" --form file=@kibana.visualization.20191030_111406.ndjson | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment