Send event data to Acoustic
Configuration
Option | Description |
---|---|
Customer Prefix Type: string Required: True | Use your Acoustic Org name but replace any spaces with an underscore, eg., AcmeCustomer_Prod |
S3 Bucket Access Point Alias Type: string Required: True | The Alias of the Access Point created for your access to the S3 Bucket. |
S3 Access Key Type: string Required: True | S3 Access Key for the S3 bucket. |
S3 Secret Type: string Required: True | S3 Secret credential for the S3 bucket. |
S3 Region Type: string Required: True | Should always be us-east-1 unless directed by Acoustic otherwise. |
Version: Type: string Required: False | Last-Modified: 02.01.2024 10.30.43 |
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": "Acoustic","inputs": {"fileNamePrefix": {"value": ""},"s3_bucket_accesspoint_alias": {"value": ""},"s3_access_key": {"value": ""},"s3_secret": {"value": ""},"s3_region": {"value": ""}},"enabled": true,"template_id": "segment-actions-acoustic"}'