Tailscale

Tailscale

Connect Tailscale to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync your Tailscale devices, users, keys, and configuration audit logs into the PostHog Data warehouse.

An OAuth client is the recommended credential for recurring syncs — API access tokens expire after at most 90 days. Create one in the Tailscale admin console under Settings > OAuth clients, with read scopes for the tables you want to sync (for example devices:core:read, users:read, auth_keys:read, and logs:configuration:read).

Alternatively, generate an API access token under Settings > Keys. Leave the tailnet field blank to use the credential's default tailnet.

Configuration

OptionDescription
Authentication method
Type: select
Required: True
Tailnet
Type: text
Required: False

Your tailnet name, e.g. example.com. Leave blank to use the credential's default tailnet.

Linking Tailscale to PostHog

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

Community questions