GCP Alert Monitoring Policy Alignment Period Support For Week

I am using Terraform to deploy google resources. The plugin version is 3.70.0. Due to some constraints I am not able to update version right now.
I need to setup alert (using log based metrics) and alert should analyse data over a week.
I see the alignment period only support maximum 1 day 1 hour.

Is there a way to analyse data of a week?
Also if not is there a way to analyse on a particular day of week?

0 1 147
1 REPLY 1

Hi @shubhamyedage,

Welcome to the Google Cloud Community!

You can try routing your logs to BigQuery. Once in BigQuery, you can run complex queries over your log data, analyzing it over any time period you wish, including weekly. You can then set up a process to query this data regularly and trigger alerts based on the query results. 

You may review this documentation for more information.

I hope this helps. Thank you. 😃