Hi
I do have the following custom query and want to create a Data Table visualization from it:
GET applications_*/_search
{ "size" : "0",
"aggregations": {
"by_size": {
"terms": {
"field": "Size"
},
"aggregations": {
"distinct_appl":
{
"cardinality": { "field" : "applname.keyword" }
},
"without_a_server_name" :
{
"missing" : { "field" : "server_name" }
},
"unique_server_name" :
{
"cardinality" : { "field" : "server_name" }
}
}
}
}
}
The output should be :
Size, #distinct_apps, #without_a_server_name,#unique_server_name
How can I get this visualized?
Regards Hans