Cloudwatch metric gauge on weekly base

0

Within CloudWatch dashboard, I have a gauge metric which shows the sum of a custom metric (custom metric represents the number of log entries over time). The number of log entries is very consistent per day (lets assume 8).

I'd like to only include/show data since the last Friday. So on a friday, gauge should drop to 0. When I configure to show the last 7 days, it shows every day nearly the same number (8 * 7 = 56).

Expected example:

Day of weekexpected gauge number
Friday (0:00)0
Friday (23:59)8
Saturday16
Sunday24
Monday32
Tuesday40
Wednesday48
Thursday56
Friday (0:00)0
Friday (23:59)8
Saturday16
......

I tried with MATH "if", but there is no NOW() function. Does someone have an idea how to achieve this?

Max
질문됨 2년 전74회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠