List all index patterns

Show all registered index patterns

curl -s http://kibana:5601/api/saved_objects/_find?type=index-pattern | jq '.saved_objects[].attributes.title'

tool
kibana15 commands
tags
kibana

More kibana commands

  • 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

  • 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

all 15 kibana commands