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
- Log in to your PostHog instance
- Click 'Apps' on the left-hand tool bar
- Search for 'Replicator'
- Select the app, press 'Install' and follow the on-screen instructions
- See events come into another PostHog instance, identically to the originals
Configuration
Option | Description |
---|---|
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.