Tailscale

Tailscale

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 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

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
devices

Devices (nodes) in the tailnet, including connectivity details, routes, and key expiry.

Full refresh
users

Users of the tailnet, including their role, status, and device count.

Full refresh
keys

Active auth keys and API access tokens in the tailnet, with their capabilities and expiry.

Full refresh
configuration_audit_logs

Only syncs the last 90 days (Tailscale's audit log retention)

Append only, Full refresheventTime