title: CloudWatch metric filter custom metrics
body: <p>I created custom metric based on this documentation using CloudWatch Metric Filter. However, the error count data points are not accumulated. All the data points are shown as a straight line on the graph. </p>
  
  <p><a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CountOccurrencesExample.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CountOccurrencesExample.html</a></p>
  
  <p><a href="https://i.stack.imgur.com/Vr006.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vr006.png" alt="enter image description here"></a></p>