Sends events to a BigQuery database on ingestion.
- Visit 'Plugins' in PostHog
- Find this plugin from the repository or install
https://github.com/PostHog/bigquery-plugin
- Configure the plugin
- Upload your Google Cloud key
.json
file. (How to get the file.) - Enter your Dataset ID
- Enter your Table ID
- Upload your Google Cloud key
- Watch events roll into BigQuery
There's a very rare case when duplicate events appear in Bigquery. This happens due to network errors, where the export seems to have failed, yet it actually reaches Bigquery.
While this shouldn't happen, if you find duplicate events in Bigquery, follow these official docs on Bigquery to manually remove the duplicates.