Linking Gcore as a source

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

Contents

The Gcore connector syncs your CDN data – resources, origin groups, SSL certificates, and hourly request and traffic statistics – into PostHog.

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 Gcore.
  3. Create an API token in the Gcore Customer Portal under API tokens. Give the token permission to read CDN data.
  4. Back in PostHog, enter your token in the API token field 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 Gcore data in PostHog.

Available tables

TableDescriptionSync method
resourcesCDN resources and their delivery domains, status, origins, and configurationIncremental
origin_groupsOrigin groups that supply content to CDN resourcesFull refresh
ssl_certificatesCertificates used for secure CDN delivery, including domains and validity periodsFull refresh
cdn_requestsHourly counts of requests to CDN edge servers, grouped by resourceIncremental
cdn_trafficHourly traffic from CDN servers to clients, grouped by resourceIncremental

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

Statistics tables (cdn_requests and cdn_traffic) contain hourly values for completed hours, with up to 365 days of history. By default, incremental syncs look back two days to refresh recent values.

Configuration

OptionTypeRequired
API tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
resources

CDN resources and their delivery domains, status, origins, and configuration.

Incremental, Full refreshupdated—
origin_groups

Origin groups that supply content to CDN resources.

Full refresh——
ssl_certificates

Certificates used for secure CDN delivery, including their domains and validity periods.

Full refresh——
cdn_requests

Hourly counts of requests to CDN edge servers, grouped by resource.

Incremental, Full refreshtimestamp—
cdn_traffic

Hourly traffic from CDN servers to clients, grouped by resource.

Incremental, Full refreshtimestamp—
cdn_logs

Individual requests to CDN edge servers. Gcore keeps these logs for three days.

Append only, Full refreshtimestamp—
cdn_daily_statistics

Daily traffic, response, and cache statistics, grouped by resource and edge server region.

Incremental, Full refreshdate—
activity_logs

Requests made to the CDN API, such as changes to CDN resources and cache purges.

Incremental, Full refreshrequested_at—
purge_statuses

Cache purge requests and their results.

Incremental, Full refreshcreated—

Still have questions?

Was this page useful?