Export dashboard

Export a Kibana dashboard with all dependencies

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

tool
kibana15 commands
tags
kibana

More kibana commands

  • 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

  • kubernetes.pod.name: web-* AND kubernetes.namespace: prod

    Filter by nested Kubernetes metadata fields

all 15 kibana commands