Hi all!
I am trying to make this sub aggregation turn into a Vega-lite bar visualization in Kibana:
GET index_do/_search
{
"size" : 0,
"aggs": {
"sube": {
"terms": {
"field": "iName.keyword"
},
"aggs":{
"transacoec": {
"terms": {
"field": "mo.keyword"
}
}
}
}
}
}
This query runs in dev tools and return the correct buckets. Then I put it in vega and I can't run with the "facet" option.