Hi there,
I'm new to Kibana and I'm trying to make a metric visualization (for now) based on a query dsl. The query is something like this:
GET idx/_search
{
"aggs": {
"top_tags": {
"terms": {
"field": "anObjectUUID"
},
"aggs": {
"top_sales_hits": {
"top_hits": {
"sort": [
{ "timestamp": "order": "desc" }
}
],
"size" : 1
}
}
}
}
}
}
Basically I want to get the most recent image of an object and then filter on top of that in the visualizations.
Thank you in advance.
Cheers
