Azure Cosmos DB

Azure Cosmos DB

Alpha release

This source is currently in alpha. The interface and available tables may change.

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Azure Cosmos DB to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync the containers of an Azure Cosmos DB for NoSQL database into the PostHog Data warehouse. Each container becomes a table, and incremental syncs use the _ts system property Cosmos stamps on every write.

Enter the account endpoint (https://<account>.documents.azure.com), a read-only or read-write key from the account's Keys page, and the database to sync. Only the NoSQL API is supported.

Configuration

OptionTypeRequired
Account endpointtextYes
Account keypasswordYes
DatabasetextYes

Linking Azure Cosmos DB to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Azure Cosmos DB
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

The tables available from this source are discovered from your account when you connect it, so the exact list depends on your data. Once connected, you can pick which tables to sync from the sources tab.