Reduce metricbeat storage data

Hi,

I'm collecting 2 days of metricbeat data on my servers, its 20go per day, i let the default configuration and i need it this way to get precise real time information,

But i also want to get information on my last 6 months, i only need an average of the data, for example, there is many information each second, i just need an average for an hour,

I saw some documentation about transform and average actions, but i'm not enough experienced to start such work, is there an easy way to make this job ? is there already some articles or posts about that ?

Regards

You likely want Rolling up historical data | Elasticsearch Reference [7.11] | Elastic, it should contain everything you need to get going but shout out if you get stuck or have questions :slight_smile: