Linking LaunchDarkly as a source

Alpha release

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

Enter your LaunchDarkly access token to pull your projects, environments, feature flags, metrics, members, and audit log into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to LaunchDarkly.
  3. Create a personal or service access token in your LaunchDarkly account settings. A token with the Reader role grants read access to every resource this source syncs. Copy the Access token.
  4. Back in PostHog, enter the access token and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using LaunchDarkly data in PostHog.

Available tables

TableDescriptionSync method
projectsProjects in your LaunchDarkly accountFull refresh
membersAccount membersFull refresh
auditlogAudit log entriesFull refresh
environmentsEnvironments, fetched per projectFull refresh
metricsMetrics, fetched per projectFull refresh
flagsFeature flags, fetched per projectFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Sync limitations

LaunchDarkly's API exposes no server-side timestamp filter on these resources, so every table is full refresh only and reloads all records on each sync.

Configuration

OptionTypeRequired
Access tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
projects

A LaunchDarkly project — a container for environments, feature flags, and metrics.

Full refresh
members

A member of the LaunchDarkly account.

Full refresh
auditlog

An entry in the LaunchDarkly audit log recording a change made in the account.

Full refresh
environments

An environment within a LaunchDarkly project (e.g. production, staging).

Full refresh
metrics

A metric used to measure the impact of feature flags and experiments.

Full refresh
flags

A LaunchDarkly feature flag and its targeting configuration across environments.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.