Hi @stephenb
I don't see Rank by Custom option when attempting to add row. Is it due to v7.17.0? In this case, is there any alternative?
I'm still confused, where should this query be used (besides verifying the results on Dev Tools) to create the table visualizer.
GET discuss-duration/_search
{
"size": 0,
"aggs": {
"workflow": {
"terms": {
"field": "workflow"
},
"aggs": {
"ids": {
"terms": {
"field": "id",
"order": { "max_id": "desc" },
"size": 1
},
"aggs": {
"max_id": {
"max": {
"field": "id"
}
},
"sum_duration": {
"sum": {
"field": "duration"
}
}
}
}
}
}
}
}