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
More kibana commands
-
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
-
kubernetes.pod.name: web-* AND kubernetes.namespace: prodFilter by nested Kubernetes metadata fields