Automated way of getting iframe for dashboard url

I couldn't find solution when searching through existing questions in the forums. So, posting it here.
I have seen a manual way of going to kibana and getting a iframe url for some of the dashboards. Is there any way, we can get the url in a automated way once kibana is spin up?
Any help on the approach is appreciated.

Thanks.

hi @eyesmoker1,

There's no documented way, but consider querying Elasticsearch directly.

Query the .kibana index pattern for any stored dashboards, and reverse-engineer the <iframe> urls from the ids.

e.g.:
GET localhost:9200/.kibana/_search?q=type:dashboard

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