Import saved objects

Import dashboards/visualizations from NDJSON

curl -X POST http://kibana:5601/api/saved_objects/_import?overwrite=true -H 'kbn-xsrf: true' -F file=@export.ndjson

tool
kibana15 commands
tags
kibana

More kibana commands

  • 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

all 15 kibana commands