Reputation: 8025
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.
EDIT 01.09.2020:
EDIT 01.09.2020:
Upvotes: 0
Views: 4317
Reputation: 79
You should check if the Billing of the GCP project that contains the BigQuery is OK.
Upvotes: 1
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