You can push your Amazon Web Services Simple Notification Service (SNS) messages to Loggly via HTTP / HTTPS endpoints. We will automatically parse the logs sent by SNS in JSON format. We offer an example showing how to send them to Loggly.
To create a new Topic you need to sign in to the AWS Management Console and open Amazon SNS Console. Create a new Topic as shown in the image below.
Click on the created topic. Click to create New Subscription, select HTTP or HTTPS in Protocol dropdown and paste the following URL and click subscribe.
- TOKEN: your customer token from the source setup page
See screenshot below.
You will be assigned a new Subscription Id and displays pending confirmation message.
You will receive a Subscription URL in a log sent by Amazon SNS service to your Loggly account. Copy the URL and confirm your subscription. See screenshot below.
Copy the URL from the confirmation log sent by SNS service and confirm your subscription in the AWS SNS Console.
You can publish a message by clicking on publish the Topic button. You can pass Subject and Message in the dialog box shown. The published message will be sent to Loggly. See screenshot below:
Search Loggly events with the tag as SNS over the past 20 minutes. It may take few minutes to index the events. If if doesn’t work, see the troubleshooting section below.
If you don’t see any data show up in the verification step, then check for these common problems.
- Wait a few minutes in case indexing needs to catch up
- Make sure you configured your customer token
- Make sure you have configured same protocol as mentioned in the Endpoint
- Search or post your own Amazon SNS logging questions in the community forum.
When the APM Integrated Experience is enabled, Loggly shares a common navigation and enhanced feature set with the other integrated experiences' products. How you navigate the product and access its features may vary from these instructions. For more information, go to the APM Integrated Experience documentation.