Copy objects between spaces kibana
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
all 15 commands →
Export dashboard
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.ndjson
Import dashboard
curl -X POST 'http://kibana:5601/api/saved_objects/_import' -H 'kbn-xsrf: true' --form file=@dashboard.ndjson
KQL: filter by field value
status: 404 AND method: GET
KQL: range query
response_time > 500 AND @timestamp > now-1h
KQL: wildcard search
message: *OOMKilled*