SQS Source

Onboarding AWS SQS Logs as a Data Transport log source in the Panther Console

Overview

The steps below enable you to set up an Amazon Simple Queue Service (SQS) source and give you permissions to send data to that queue. Panther pulls events from that queue and allows you to write rules and run queries on the processed data.

SQS has a max message size of 256KB. If you expect to send messages bigger than this, consider using an S3 source instead.

See the diagram below to understand how data flows from your application(s) into Panther using SQS (in SaaS):

How to onboard SQS logs into Panther

  1. In the left-hand navigation bar of your Panther Console, click Configure > Log Sources.

  2. In the upper right corner, click Create New.

  3. Click the Custom Log Formats tile.

  4. In the AWS SQS Queue tile on the slide-out panel, click Start.

  5. On the Configure page, fill in the fields as follows:

    • Name: Enter a descriptive name for your source.

    • Log Types: From the drop-down, select all log types that you wish to monitor.

    • Allowed AWS Principals: List all ARNs of the AWS principals that will be allowed to publish messages to your SQS queue.

    • Allowed Source ARNs: List all ARNs of the AWS resources (SNS topics, S3 buckets, etc.) that can publish messages to your SQS queue.

      • Note: If none of Allowed AWS Principal ARNs and Allowed Source ARNs properties are set, only Principals of the AWS account where Panther is deployed will be able to publish messages to the queue.

    • Logs Stream Type: Select one of the following stream types:

      • JSON

      • JSON Array

      • Lines

  6. Click Setup. You will be directed to a success screen:

    • You can optionally enable one or more Detection Packs.

    • The Trigger an alert when no events are processed setting defaults to YES. We recommend leaving this enabled, as you will be alerted if data stops flowing from the log source after a certain period of time. The timeframe is configurable, with a default of 24 hours.

To view your newly created source, click View Log Source.

  • Manage your AWS SQS source here for data and events processed, overall health, source schemas, alarm configuration, etc.

View Collected Logs

After SQS log sources are configured, you can search your data in Data Explorer. For more information and for example queries, please see the Data Explorer documentation.

Last updated

Change request #1924: [don't merge until ~Oct] Notion Logs (Beta)