SQS Source

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


Panther supports configuring Amazon Simple Queue Service (SQS) as a Data Transport to pull events from your queue into your Panther account.
The steps below enable you to set up an 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):
A diagram shows how data flows from a customer application into Panther, using the SQS Data Transport. The flow is as follows: customer AWS application(s) like Lambda, S3, SNS, etc., SQS (which also takes in Allowed AWS ARNs), Panther application, parse & normalize, real-time detections, Long term retention in Snowflake, Alerts generated, and Alert destination

How to set up an SQS log source in Panther

  1. 1.
    In the left-hand navigation bar of your Panther Console, click Configure > Log Sources.
  2. 2.
    In the upper right corner, click Create New.
  3. 3.
    Click the Custom Log Formats tile.
  4. 4.
    In the AWS SQS Queue tile on the slide-out panel, click Start.
  5. 5.
    On the "Configure your source" 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
    The configure page of the new SQS setup flow is shown. There are fields for Name, Log Types, Allowed AWS Principals, Allowed Source ARNs, and Logs Stream Type
  6. 6.
    Click Setup. You will be directed to a success screen:
    The success screen reads, "Everything looks good! Panther will now automatically pull & process logs from your account"
    • You can optionally enable one or more Detection Packs.
    • If you have not done so already, click Attach or Infer Schemas to attach one or more schemas to the source.
    • 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.
      The "Trigger an alert when no events are processed" toggle is set to YES. The "How long should Panther wait before it sends you an alert that no events have been processed" setting is set to 1 Day
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.
This page displays Data Metrics such as data processed, events processed, and data processed by log type. To view this data, click on a log source.

View Collected Logs

After log sources are configured, you can search your data using the Search tool or Data Explorer.