cloudflare / cloudflare-gcp

Google Cloud Function to push json files from GC Storage to Big Query
Apache License 2.0
84 stars 49 forks source link

Function always logs "No new logs at 20230224T1151" #122

Closed agis closed 1 year ago

agis commented 1 year ago

My Cloud Function always logs the following, and I don't see any data in BigQuery:

Function execution started
No new logs at 20230224T1154
Function execution took 147 ms, finished with status: 'ok'

The environment variables of the function are these:

BUCKET_NAME: foo
DATASET: foo_logs
DIRECTORY:
SCHEMA: schema-http.json
TABLE: foo_table

In my bucket, there are date folders under root. For example, a URL of an object:

gs://foo/20230224/20230224T115739Z_20230224T115809Z_d787849b.log.gz

I've seen #89 and #90 but I believe I've done what solutions are suggested in those issues. I'm suspecting a permissions-related issue, but I don't see any such errors in the Cloud Function's logs.

Any ideas? Thanks in advance.

agis commented 1 year ago

Nevermind, this was a false alarm.