AWS Simple Notification Service (SNS)
This Guide Integrates:
✅ Logs | ✖️ Metrics | ✖️ Traces |
Note: Cloud-only feature. The self-hosted open source version of HyperDX does not support this integration.
Setup HyperDX SNS Integration
Create Amazon SNS Topic
- Sign in to the Amazon SNS console (opens in a new tab)
- On the navigation panel, choose Topics and click
Create topic
- Select
Standard
topic type and putHyperDX
in the 'Name' field
Subscribe the HyperDX HTTP endpoint to the Amazon SNS topic
- In the AWS Management Console, locate and select the 'HyperDX' topic that you created in the previous step
- Under the 'Subscriptions' tab, click on the 'Create subscription' button
- From the 'Protocol' dropdown menu, select HTTPS as the desired protocol for the subscription
- In the 'Endpoint' field, enter the following URL:
https://in-binary.hyperdx.io?hdx_platform=aws-sns&hdx_token=<YOUR_API_KEY_HERE>
- In the 'Delivery policy (HTTP/S)' section, uncheck the
Use the default delivery policy
option - In the 'Content-Type' field, enter
application/json
to specify the content type of the delivered messages - Click the 'Create subscription' button to create the subscription for the HyperDX topic
Confirm Subscription
- Open your web browser and navigate to to HyperDX (opens in a new tab)
- Ensure that you can view the log line sent from AWS in the HyperDX interface
- Locate the '>' icon on the left side of the log entry and click on it to expand the log details
- Within the 'Parsed Properties', identify the
SubscribeURL
field. Copy the entire URL associated with it - Open a new tab in your web browser and paste the copied
SubscribeURL
into the browser's address bar - Press the "Enter" key to navigate to the pasted URL. This action will complete the subscription process
- Within the SNS console, navigate to the HyperDX topic that you subscribed to
- Verify that the subscription status displays as 'Confirmed'
Test HyperDX SNS Topic (Optional)
- Open a web browser and go to the HyperDX SNS Topic page in the AWS Management Console
- Locate and click the 'Publish Message' button located at the top right corner of the page
- In the 'Subject' and 'Body' fields, enter random text that you want to include in the message
- Click the 'Publish Message' button to send the message to the HyperDX SNS Topic
- Wait for the log line to appear in the Hyperdx (opens in a new tab) log monitoring interface. This may take a few minutes depending on the system's processing time
Steps to Forward Amazon Simple Email Service (SES) Events to HyperDX via SNS
Create Configuration Set
- Open a web browser and navigate to the SES Configuration Sets page in the AWS Management Console
- Click on the 'Create set' button to create a new configuration set
- Once the configuration set is created, click on 'Event destinations' and then 'Add destination'
- Select the specific SES events that you want to forward to HyperDX and click 'next'
- In the 'Destination options' section, choose 'Amazon SNS' as the destination type
- In the 'Name' field, enter 'HyperDX' to identify the SNS destination for these events
- Select the 'HyperDX' SNS topic from the available options and click 'next'
- Click 'Add destination' to add the SNS destination to the configuration set
Add Configuration Set to Verified Identities
- Go to the SES Verified Identities page in the AWS Management Console
- Choose the specific identity that you want to configure for forwarding events
- Under the 'Configuration set' tab, click 'Edit' to modify the configuration settings
- Assign the configuration set you created in the previous step to the selected identity
Read more about AWS SNS here: https://docs.aws.amazon.com/sns/latest/dg/welcome.html (opens in a new tab)