I have a log in Stackdriver that logs every request goes into my api and failed, and I want to write a script to count on the number of times each error message appears. The pro
I found the best way to do it it's with the gcloud cli Example you can you use : gcloud beta logging read ‘’ --project ”” --format json --freshness=
gcloud cli
gcloud beta logging read ‘’ --project ”” --format json --freshness=