Skip to main content

Insights Production Queries

These are self-contained BigQuery SQL queries that you can run directly against your glean_customer_event table to reproduce the metrics shown in the Glean Insights dashboard.

Before running:

  1. Replace <glean_customer_event_table> with your company's actual table name (e.g., your_project.glean_customer_event.glean_customer_event_external)
  2. Adjust the start_date and end_date DECLARE values as needed

User Activity & Engagement

Assistant

Agents

Chat Datasources

Shortcuts