Log cpu and memory utilisation from a linux server to graylogserver

How to log cpu and memory utilisation from a linux server to graylogserver

You could use Metricbeat for that.