Like the previous part we access CloudWatch
The details of the syntax are as follows:
SEARCH('{AWS/EC2,InstanceId} MetricName="CPUUtilization"', 'Average', 300)
SEARCH('{CWAgent,ImageId,InstanceId,InstanceType,device,fstype,path} path="/" MetricName="disk_used_percent"', 'Average', 300)
SEARCH('"disk_used_percent"', 'Average', 300)
SEARCH('used', 'Average', 300)