Event Replicator

Last updated:

|Edit this page

The Replicator app copies events from one PostHog instance to another, at the moment they are ingested. No changes are made to the events by this app if it runs in isolation.

If this app is deployed in a chain then any changes made to the event data before the Replicator runs will also be copied to the new instance. Otherwise, no changes will be copied.

Note: If you want to export previous ingested (old) events, use batch exports.

Requirements

The Replicator app requires two instances of PostHog running either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later. The source instance needs to subscribe to the data pipeline add-on.

Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!

Both versions of PostHog should ideally be running the same version.

Using the Replicator app

  1. Log in to your PostHog instance
  2. Click 'Apps' on the left-hand tool bar
  3. Search for 'Replicator'
  4. Select the app, press 'Install' and follow the on-screen instructions
  5. See events come into another PostHog instance, identically to the originals

Configuration

OptionDescription
Host
Type: string
Required: True
E.g. posthog.yourcompany.com
Project API Key
Type: string
Required: True
Grab it from e.g. https://posthog.yourcompany.com/project/settings
Replication
Type: string
Required: False
How many times should each event be sent
Events to ignore
Type: string
Required: False
Comma-separated list of events to ignore, e.g. $pageleave, purchase
Disable Geo IP?
Type: choice
Required: False
Add $disable_geoip so that the receiving PostHog instance doesn't try to resolve the IP address.

FAQ

Is the source code for this app available?

PostHog is open-source and so are all apps on the platform. The source code for the Replicator is available on GitHub.

Who created this app?

We'd like to thank PostHog team members Yakko Majuri and Michael Matloka for creating the Replicator app.

Who maintains this app?

This app is maintained by PostHog. If you have issues with the app not functioning as intended, please let us know!

What if I have feedback on this app?

We love feature requests and feedback! Please tell us what you think! to tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum, or drop us a message.

Questions?

Was this page useful?

Next article

n8n

This n8n app enables you to automate PostHog workflows and create workflows using other services, using n8n. Getting started The n8n app is an API integration. You will need a PostHog Personal API key , which must be authenticated with n8n in order to connect n8n and get started. For more information, please check n8n's integration documentation . Requirements This requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later. Not running 1.30.0? Find…

Read next article