MetricName $Variable Cloudwatch for all 4XX Error

Hello everybody,

I’m facing to a big headache with MetricName Flag in Cloudwatch. I need to split all 4XX Error in top-down windows Graph. i.e. 400, 401, 402…, but at this time in MetricName i found only Count, 4XXError and 5XXError. It’s possible to configure a new MetricName?

Thanks in advance.