Copy objects between spaces
Copy a dashboard to another Kibana Space
curl -X POST http://kibana:5601/api/spaces/_copy_saved_objects -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"spaces":["staging"],"objects":[{"type":"dashboard","id":"my-dash"}],"overwrite":true}'
More kibana commands
-
curl -s 'http://kibana:5601/api/saved_objects/_export' -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"type":"dashboard","includeReferencesDeep":true}' -o dashboard.ndjsonExport a Kibana dashboard with all dependencies
-
curl -X POST 'http://kibana:5601/api/saved_objects/_import' -H 'kbn-xsrf: true' --form file=@dashboard.ndjsonImport a previously exported dashboard
-
status: 404 AND method: GETKibana Query Language — filter logs by field values
-
response_time > 500 AND @timestamp > now-1hFilter events in the last hour with slow responses
-
message: *OOMKilled*Wildcard match in a field value