Send event data to LaunchDarkly
Configuration
Option | Description |
---|---|
LaunchDarkly client-side ID Type: string Required: True | Find and copy the client-side ID in the LaunchDarkly account settings page. |
LaunchDarkly events host name Type: string Required: False | Your LaunchDarkly events host name. If not specified, the default value of events.launchdarkly.com will be used. Most customers will not need to change this setting. |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
Terminal
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "LaunchDarkly","inputs": {"client_id": {"value": ""}},"enabled": true,"template_id": "segment-actions-launchdarkly"}'