JShinigami
JShinigami

Reputation: 8025

GCP Logging Sink not exporting

Problem: I have created a BigQuery sink within GCP Logging, but no data gets exported into the BigQuery table.

I can see the created sink within the "Logs Router" tab within GCP Logging. In addition I can see the corresponding dataset and table within BigQuery. I have also checked if the corresponding Service Account has sufficient permissions. It has "BigQuery Data Editor" permissions.

I have already tried to delete the sink and create a new one. This did not help. In addition I have compared my sink settings with other working sinks from other GCP projects, but it is the same setup.

Last but not least I had a look into GCP Monitoring. There I can see the event "LoggingSinkConfigErrorV2". But I do not know the meaning of this event and also my Google search was not successful.

Event error

EDIT 01.09.2020:

GCP Logging

EDIT 01.09.2020:

GCP Advanced Logging

Upvotes: 0

Views: 4317

Answers (2)

Carlo C.
Carlo C.

Reputation: 79

You should check if the Billing of the GCP project that contains the BigQuery is OK.

Upvotes: 1

Tokci
Tokci

Reputation: 1280

Assuming you created sink right.

Important thing to note is --> Once you create sink, any NEW logs after creating sink will be exported to GCP and old logs will NOT export.

So once you create sink ,make sure you do some activity to get new logs generated.

Upvotes: 2

Related Questions