title: Count unique values in aws cloudwatch metric
body: <p>I have a set of cloudwatch logs in json format that contain a username field. How can I write a cloudwatch metric query that counts the number of unique users per month?</p>