Hi ,
I could see in this post[1] that it will be possible to have multiple events from various metricssets such as cpu, load, memory etc written as a single event.
As mentioned in the post
Having all the related metrics in a single event also makes it easier to look at other values when one of the metrics for a service seems off.
I would like to know how this could be done.
[1] Key metricbeat features | Metricbeat Reference [8.11] | Elastic
Hi @whiletruelearn 
Metricbeat already sends events grouped in a nested JSON but it doesn't group more than one Metricset per event. This is like this by design, of course.
What docs refers to is that Metricbeat doesn't have a behavior like, for example, statsd where each single metric is sent to a collector in a different TCP or UDP request but that all related metrics in a metricset are sent together in a single TCP request.
Hope this helps