Is your feature request related to a problem? Please describe.
We currently use Grafana for Metricbeat data visualisations, because it allows nested (group by)aggregations. This is very useful for some types of metrics, as it allows to show in 1 graph the min, max, avg and current cpu usage of a combination of host.name, process.name and process.id. It would be awesome if this would some day become possible in Kibana.
Describe the solution you'd like
Allow nest terms aggregations in tsvb, so we don't need to use Grafana anymore. To visualise the same amount of info, we would need like 3 graphs in Kibana vs 1 graph in Grafana..
Describe alternatives you've considered
Tried with all possible visualisations in Kibana, but never succeed to visualise nested metric aggregations with a legend containing avg, min, max and current.
Additional context


Is your feature request related to a problem? Please describe.
We currently use Grafana for Metricbeat data visualisations, because it allows nested (group by)aggregations. This is very useful for some types of metrics, as it allows to show in 1 graph the min, max, avg and current cpu usage of a combination of
host.name,process.nameandprocess.id. It would be awesome if this would some day become possible in Kibana.Describe the solution you'd like
Allow nest terms aggregations in tsvb, so we don't need to use Grafana anymore. To visualise the same amount of info, we would need like 3 graphs in Kibana vs 1 graph in Grafana..
Describe alternatives you've considered
Tried with all possible visualisations in Kibana, but never succeed to visualise nested metric aggregations with a legend containing avg, min, max and current.
Additional context