Skip to main content

SQS Integration

Overview

Changed in v4.3.5

Our latest AWS integration provides the easiest way to connect with Coralogix. By using a predefined Lambda function, you can seamlessly send AWS logs and events to your Coralogix subscription for detailed analysis, monitoring, and troubleshooting.

SQS configuration

NameDescriptionTypeDefaultRequired
sqs_nameThe name of the SQS queue to which you want to subscribe for retrieving messages.stringn/ayes
create_sqs_queue_policyWhether to create and manage the SQS queue policy. Set to false if you want to manage the policy yourself and preserve existing permissions.booltrueno

Configuration example

module "coralogix-shipper-Sqs" {
source = "coralogix/aws/coralogix//modules/coralogix-aws-shipper"

coralogix_region = "EU1"
integration_type = "Sqs"
api_key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
application_name = "sqs-application"
subsystem_name = "sqs-subsystem"
sqs_topic_name = "sqs-topic-name"
]
}

SQS with Custom SQS Policy

module "coralogix-shipper-sqs-custom-policy" {
source = "coralogix/aws/coralogix//modules/coralogix-aws-shipper"

coralogix_region = "EU1"
integration_type = "S3"
api_key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
application_name = "s3-sqs-custom-policy"
subsystem_name = "logs"
s3_bucket_name = "test-bucket-name"
sqs_name = "your-existing-sqs-queue"
create_sqs_queue_policy = false # Preserve existing SQS queue policy
}
NameDescriptionTypeDefaultRequired
coralogix_regionThe Coralogix location region, available options: [EU1, EU2, AP1, AP2, AP3, US1, US2, Custom]stringn/ayes
custom_domainIf using a custom domain name for your private cluster, Coralogix will send telemetry from the specified address (e.g. custom.coralogix.com). There is no need to add ingress. to the domain.stringn/ano
integration_typeThe AWS service to integrate with Coralogix. Possible values: S3, CloudTrail, VpcFlow, CloudWatch, S3Csv, SNS, SQS, Kinesis, CloudFront, MSK, Kafka, EcrScan.stringS3yes
api_keyThe Coralogix Send Your Data - API key validates your authenticity. This value can be a direct Coralogix API key or an AWS secret manager ARN containing the API key.stringn/ayes
store_api_key_in_secrets_managerEnable this to store your API key securely. Otherwise, it will remain exposed in plain text as an environment variable in the Lambda function console.booltrueno
application_nameThe name of your application. For a dynamic value, use $.my_log.field. This option is not supported since version 1.1.0 for the source codestringn\ayes
subsystem_nameThe name of your subsystem. For a dynamic value, use $.my_log.field for CloudWatch log group leave empty. This option is not supported since version 1.1.0 for the source codestringn\ayes

For additional configuration options, please refer to our main Terraform documentation.

Last updated on
Includes latestOlder versionDeprecated
On this page
Was this page helpful?