Hi,
In Kibana I have created 5 dashboards. I want to get their 'Embed this dashboard' iframe url.
I tried querying via the Sense plugin and have the following JSON:
GET /.kibana/_search
{
"query": {
"match": {
"_type": "url"
}
}
}
This returns only 1 url for a single dashboard which I deleted from my index:
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 1,
"hits": [
{
"_index": ".kibana",
"_type": "url",
"_id": "09dd62a2c2e9fd7f27600d8a29603663",
"_score": 1,
"_source": {
"url": "/app/kibana#/dashboard/Dashboard-for-DigitalYYYY?embed=true&_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now%2FM,mode:quick,to:now%2FM))&_a=(filters:!(),options:(darkTheme:!f),panels:!((col:1,id:Data-Table-for-Publisher-DigitalSpy,panelIndex:1,row:1,size_x:3,size_y:2,type:visualization),(col:4,id:Histogram-for-Publisher-DigitalSpy,panelIndex:2,row:1,size_x:3,size_y:2,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'*')),title:'DigitalSpy%20Dashboard',uiState:())",
"accessCount": 0,
"createDate": "2016-03-24T09:53:43.865Z",
"accessDate": "2016-03-24T09:53:43.865Z"
}
}
]
}
}
Is this JSON limited to a single record? How can I improve my Sense JSON to fetch ALL of the 'Embed this dashboard' urls for ALL of my existing dashboards?
Many thanks