How to import kibana dashboard from commandline

As of now I have to manually import the kibana dashboard. i am looking at an option to automate the process via script

You can get complete Kibana metadata from command line using cURL. Only thing you need to have is access to Elasticsearch.

Elasticsearch stores complete Kibana metadata in .kibana (default and if you want it to store in new index then you can configure it in kibana.yml). Using Elasticsearch GET API you can retrieve index-patterns, visualizations, dashboards, kibana settings etc.

Examples to get Kibana visualizations and dashboards:

curl -XGET ""
curl -XGET ""
Hope this Helps!


Thanks that worked

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.