I have the following json objects in my elasticsearch index:
{
"model": "toyota",
"color": "red",
"transmission":"auto"
}
{
"model": "toyota",
"color": "green",
"transmission":"auto"
}
{
"model": "tesla",
"color": "red",
"transmission":"auto"
}
{
"model": "tesla",
"color": "red",
"transmission":"manual"
}
I would like to create a table that counts the number of vehicles with the specified properties as follows from this data:
Is this possible?