BigQuery Data Export
Data Export is an add-on feature
Data Export is available as an add-on to select plans. To learn more, read about our pricing. To add Data Export to your plan, contact Sales.
Overview
This topic explains how to create and test a BigQuery destination for Data Export. BigQuery is a cloud-based data processing and analysis platform that lets you work with large sets of data. By exporting your LaunchDarkly experiment data to the same BigQuery warehouse as your other data, you can build custom reports in BigQuery to answer product behavior questions.
Create a Google Cloud service account
To begin, we recommend that you use a Google Cloud service account to provide LaunchDarkly’s export service account access to your BigQuery warehouse.
To create the service account:
- Follow the Google Cloud instructions to create a service account.
- When you create the account, grant it the BigQuery User role.
Then, find your LaunchDarkly export service account email address and grant it access to your newly created Google Cloud service account.
- In LaunchDarkly, navigate to the Integrations page and find “BigQuery Data Export.”
- Click Add integration. The “Create a destination” panel appears.
- Copy the Export service account email address and save it for use in the next step.
- In Google Cloud, follow the instructions to grant LaunchDarkly’s export service account access to your newly created Google Cloud service account.
- When you grant access, assign the Service Account User and Service Account Token Creator roles.
Create staging bucket
Next, create a Google Cloud storage bucket for staging data, and grant your service account access to it.
To do this:
- Create a Google Cloud storage bucket.
- When you create the bucket, choose a region that matches the location of your destination dataset in BigQuery.
- Return to the service account you created above, and grant it access to the bucket.
- When you grant access, assign the Storage Admin role.
Configure the BigQuery Data Export integration
Finally, in LaunchDarkly, configure the BigQuery Data Export integration.
To do this:
- In LaunchDarkly, navigate to the Integrations page and find “BigQuery Data Export.”
- Click Add integration. The “Create a destination” panel appears.
- Give the integration a human-readable Name.
- Select a Project and environment to export data from.
- Enter the BigQuery Project ID.
- Enter the GCS bucket name.
- Enter the GCS bucket region.
- Enter the Destination service account email.
- Enter the name of the BigQuery Schema the service account created.
- Click Test connection to ensure your configuration is correct.
- After reading the Integration Terms and Conditions, check the I have read and agree to the Integration Terms and Conditions checkbox.
- Click Save destination. The new destination appears in the list of destinations.
Your BigQuery Data Export integration is now complete.
To view the different event kinds for BigQuery Data Export destinations, read Warehouse Data Export schema reference.