kibana commands
15 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 15 shown
-
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
-
kubernetes.pod.name: web-* AND kubernetes.namespace: prodFilter by nested Kubernetes metadata fields
-
curl -X POST http://kibana:5601/api/saved_objects/index-pattern -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"attributes":{"title":"logs-*","timeFieldName":"@timestamp"}}'Register a new index pattern via Kibana REST API
-
curl -X POST http://kibana:5601/api/saved_objects/_export -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"type":["dashboard","visualization"],"includeReferencesDeep":true}' -o export.ndjsonExport dashboards and visualizations to NDJSON
-
curl -X POST http://kibana:5601/api/saved_objects/_import?overwrite=true -H 'kbn-xsrf: true' -F file=@export.ndjsonImport dashboards/visualizations from NDJSON
-
curl -s http://kibana:5601/api/status | jq '{status: .status.overall.level, version: .version.number}'Overall health status and Kibana version
-
curl -s http://kibana:5601/api/saved_objects/_find?type=index-pattern | jq '.saved_objects[].attributes.title'Show all registered index patterns
-
GET logs-*/_search { "query": {"match": {"level": "error"}}, "size": 10 }Run Elasticsearch queries directly in Kibana Dev Tools
-
curl -X DELETE http://kibana:5601/api/saved_objects/config/7.17.0 -H 'kbn-xsrf: true'Reset Kibana config object (triggers re-init on reload)
-
curl -s http://kibana:5601/api/spaces/space | jq '.[].id'List all Kibana Spaces by ID
-
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}'Copy a dashboard to another Kibana Space
no commands match — try a different search