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}'

tool
kibana15 commands
tags
kibana

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.ndjson

    Export a Kibana dashboard with all dependencies

  • curl -X POST 'http://kibana:5601/api/saved_objects/_import' -H 'kbn-xsrf: true' --form file=@dashboard.ndjson

    Import a previously exported dashboard

  • status: 404 AND method: GET

    Kibana Query Language — filter logs by field values

  • response_time > 500 AND @timestamp > now-1h

    Filter events in the last hour with slow responses

  • message: *OOMKilled*

    Wildcard match in a field value

all 15 kibana commands