Import dashboards

Import dashboards that you exported before

curl -X POST 'http://kibana:5601/api/saved_objects/_import' -H 'kbn-xsrf: true' --form file=@dashboard.ndjson

tool
kibana15 commands
tags
kibana

More kibana commands

  • status: 404 AND method: GET

    Kibana Query Language: filter logs by field values

  • response_time > 500 AND @timestamp > now-1h

    Find slow responses (over 500) from the last hour

  • message: *OOMKilled*

    Find a word anywhere in a field value with wildcards

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

    Filter by Kubernetes metadata fields such as pod name and namespace

  • 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"}}'

    Add a new index pattern with the Kibana REST API

all 15 kibana commands