Microsoft Azure (Azure Monitor / Log Analytics)

Microsoft Azure (Azure Monitor / Log Analytics)

Beta
Beta release

This source is currently in beta. It works end to end, but you may still hit rough edges. Let us know if you do.

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 Microsoft Azure (Azure Monitor / Log Analytics) to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync tables from an Azure Monitor Log Analytics workspace into the PostHog Data warehouse. Each table becomes a warehouse table, synced incrementally on the time Azure ingested each record, so records that arrive late still sync.

Register an app in Microsoft Entra ID, create a client secret for it, and give its service principal the Log Analytics Reader role on the workspace. Then enter the directory (tenant) ID, the application (client) ID, the secret value, and the workspace ID from the workspace's Overview page.

List the tables to sync, one per line, for example AppRequests or MyEvents_CL. Leave the list empty to offer every table that received data in the last 30 days.

Configuration

OptionTypeRequired
Directory (tenant) IDtextYes
Application (client) IDtextYes
Client secretpasswordYes
Workspace IDtextYes
TablestextareaNo

Linking Microsoft Azure (Azure Monitor / Log Analytics) to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Microsoft Azure (Azure Monitor / Log Analytics)
  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.