I search Kibana REST API.
In saved_objects API, there is no data or query information just VIZ params.
I'm testing with "kibana_sample_data_flights" sample data.
In Kibana Dashboard, I can get Request Parameters through card inspector tab.
{
"aggs": {
"2": {
"terms": {
"field": "Carrier",
"order": {
"_count": "desc"
},
"size": 5
}
}
},
"size": 0,
"_source": {
"excludes":
},
"stored_fields": [
"*"
],
"script_fields": {
"hour_of_day": {
"script": {
"source": "doc['timestamp'].value.hourOfDay",
"lang": "painless"
}
}
},
"docvalue_fields": [
{
"field": "timestamp",
"format": "date_time"
}
],
"query": {
"bool": {
"must": [
{
"range": {
"timestamp": {
"format": "strict_date_optional_time",
"gte": "2019-09-14T15:48:04.875Z",
"lte": "2019-09-15T15:48:04.875Z"
}
}
}
],
"filter": [
{
"match_all": {}
},
{
"match_all": {}
}
],
"should": ,
"must_not":
}
}
}
How can I this information from Kibana REST API?