Linking Aiven as a source

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

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

The Aiven connector syncs your projects, services, and billing data from Aiven 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 Aiven.
  3. You need an API token from Aiven. Go to your Aiven profile authentication page and create a personal token. If you want to sync billing tables (billing groups, invoices, invoice lines) or organization membership tables, your token needs organization-level read access.
  4. Back in PostHog, enter the token in the API token field and click Next.
  5. Select the tables you want to sync, set the sync frequency, then click Import.

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

Available tables

TableDescriptionSync method
projectsAiven projects — the container that groups services and their billingFull refresh
organizationsAiven organizations — the top-level tenant that owns projects and billingFull refresh
servicesRunning Aiven managed services (Kafka, PostgreSQL, ClickHouse, OpenSearch, etc.)Full refresh
billing_groupsBilling groups that aggregate charges for one or more projectsFull refresh
invoicesIssued invoices for a billing groupFull refresh
invoice_linesPer-service cost breakdown on invoices, used for BI cost exportFull refresh
organization_usersMembers of an Aiven organizationFull refresh
user_groupsUser groups within an organization for grouping members and permissionsFull refresh
cloudsGlobal catalogue of Aiven cloud regions across AWS, GCP, and Azure (off by default)Full refresh

Full refresh tables reload all data on each sync.

Sync limitations

All tables use full refresh only. The Aiven API does not support pagination or server-side timestamp filters, so incremental syncing is not available.

Configuration

OptionTypeRequired
API tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
projects

An Aiven project — the container that groups services and their billing.

Full refresh
organizations

An Aiven organization — the top-level tenant that owns projects and billing.

Full refresh
services

A running Aiven managed service (Kafka, PostgreSQL, ClickHouse, OpenSearch, etc.).

Full refresh
billing_groups

A billing group that aggregates charges for one or more projects.

Full refresh
invoices

An issued invoice for a billing group.

Full refresh
organization_users

A member of an Aiven organization.

Full refresh
user_groups

A user group within an organization for grouping members and permissions.

Full refresh
invoice_lines

A single cost line on an invoice — the per-service breakdown used for BI cost export.

Full refresh
clouds

Global catalogue of Aiven cloud regions across AWS, GCP and Azure.

Full refresh

Community questions

Was this page useful?