Export Crashlytics data to BigQuery  |  Firebase Crashlytics

Export Crashlytics data to BigQuery

You can export your Firebase Crashlytics data into BigQuery. Once the data is in BigQuery, you can analyze the data using SQL queries, build data visualizations and custom dashboards, and even export the data to other services.

This page describes how to set up export of Crashlytics and (optionally) Firebase sessions data into BigQuery.

Set up export to BigQuery

  1. In the Firebase console, go to the settings Settings > Integrations page.
  2. In the BigQuery card, click Link.
  3. Follow the on-screen instructions to set up export to BigQuery, including the following options:

(Optional) Enable Firebase sessions data export
This option can also be enabled during the initial setup of export to BigQuery.

  1. In the Firebase console, go to the settings Settings > Integrations page.
  2. In the BigQuery card, click Manage.
  3. Select the Include sessions checkbox.

This action enables export of session data for all of your linked apps. If you have streaming export enabled, this will start exporting session data in realtime as well.

(Optional) Enable streaming export
Learn about the Benefits of streaming export to BigQuery later on this page. This option can also be enabled during the initial setup of export to BigQuery.

  1. In the Firebase console, go to the settings Settings > Integrations page.
  2. In the BigQuery card, click Manage.
  3. Select the Include streaming checkbox.

This action enables streaming for all of your linked apps. If you have Firebase sessions export enabled, this will enable streaming export for session data as well.

Unlink from BigQuery

Unlinking from BigQuery stops the corresponding dataset(s) in BigQuery from being populated. Be aware of the following:

You can unlink from BigQuery at the Firebase project level, at the product-level, or at the app-level for a specific product.

Here's how to unlink from BigQuery:

  1. In the Firebase console, go to the settings Settings > Integrations tab.
  2. In the BigQuery card, click Manage.
  3. Choose to unlink a specific product or to unlink specific apps for a specific product.
  4. When prompted, confirm that you want to stop exports.

What happens when you enable export?

Benefits of streaming export to BigQuery

By default, data is exported to BigQuery in a daily batch export. Additionally, you can stream your Crashlytics data and Firebase sessions in realtime with BigQuery streaming. You can use streamed data for any purpose that requires live data, such as presenting information in a live dashboard, watching a rollout live, or monitoring application problems that trigger alerts and custom workflows.

When you enable streaming export to BigQuery, you'll also have realtime tables (in addition to batch tables). Both types of tables will have the same dataset schema, but here are some important differences between batch tables and realtime tables:

Batch table Realtime table
- Data is exported once daily.
- Events are durably stored before batch writing to BigQuery.
- Data can be backfilled up to 30 days prior*.
- Data is exported in realtime.
- No backfilling is available.

The batch table is ideal for long-term analysis and identifying trends over time because we durably store events before writing them, and they can be backfilled to the table for up to 30 days*. When we write data to your realtime table, we immediately write it to BigQuery, ideal for live dashboards and custom alerts. These two tables can be combined with a stitching query to get the benefits of both.

By default, the realtime table has a partition expiration time of 30 days. To learn how to modify this, see Set the partition expiration in the BigQuery documentation.

* Backfills are supported for up to the past 30 days or for the most recent date when you enabled export to BigQuery (whichever is most recent).

Pricing and the BigQuery sandbox

If your Firebase project is on the no-cost Spark pricing plan, you can use the BigQuery sandbox, which provides no-cost trial access to BigQuery. For information about the BigQuery sandbox and its capabilities, see Using the BigQuery sandbox.

If your Firebase project is on the pay-as-you-go Blaze pricing plan, you can use all the features of BigQuery. Your use of BigQuery is subject to BigQuery pricing, which includes limited no-cost use.

What's next?