How to list out dashboard uid's


we have used kibana api to export dashboard right

curl -XGET http://localhost:5601/api/kibana/dashboards/export?dashboard=d25f3e20-041d-11e8-af22-05a1f7ea412f > dashboard_export.json

d25f3e20-041d-11e8-af22-05a1f7ea412f this is dashboard uid
how can i list out all the uid's of dashboards present in my cluster?


can anyone help on the above task?
Thanks in advance

(Marius Dragomir) #3

You can go through all the objects in your .kibana index and see which ones have the type dashboard. There's no specific command to list all of them.
If I had to do it I would do it like this:

  1. create a .kibana* index pattern.
  2. filter only the dashboards from it.
  3. add the uid field to the table in discover, i tihnk it's called _id or something like that in 6.x.
  4. generate a CSV report on it so i can have it exported in an easy to parse format.
    but this is for the case where you have way too many dashboards to do manually.


Thank you

(system) #5

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