diff --git a/aws-observability-terraform/source-module/README.md b/aws-observability-terraform/source-module/README.md
index 46fba312..cf742ee8 100644
--- a/aws-observability-terraform/source-module/README.md
+++ b/aws-observability-terraform/source-module/README.md
@@ -71,7 +71,7 @@
| [auto\_enable\_access\_logs](#input\_auto\_enable\_access\_logs) | Enable Application Load Balancer (ALB) Access logging.
You have the following options:
New - Automatically enables access logging for newly created ALB resources to collect logs for ALB resources. This does not affect ALB resources already collecting logs.
Existing - Automatically enables access logging for existing ALB resources to collect logs for ALB resources.
Both - Automatically enables access logging for new and existing ALB resources.
None - Skips Automatic access Logging enable for ALB resources. | `string` | `"Both"` | no |
| [auto\_enable\_classic\_lb\_access\_logs](#input\_auto\_enable\_classic\_lb\_access\_logs) | Enable Classic Load Balancer (CLB) Access logging.
You have the following options:
New - Automatically enables access logging for newly created CLB resources to collect logs for CLB resources. This does not affect CLB resources already collecting logs.
Existing - Automatically enables access logging for existing CLB resources to collect logs for CLB resources.
Both - Automatically enables access logging for new and existing CLB resources.
None - Skips Automatic access Logging enable for CLB resources. | `string` | `"Both"` | no |
| [auto\_enable\_logs\_subscription](#input\_auto\_enable\_logs\_subscription) | Subscribe log groups to Sumo Logic Lambda Forwarder.
You have the following options:
New - Automatically subscribes new log groups to send logs to Sumo Logic.
Existing - Automatically subscribes existing log groups to send logs to Sumo Logic.
Both - Automatically subscribes new and existing log groups.
None - Skips Automatic subscription. | `string` | `"Both"` | no |
-| [auto\_enable\_logs\_subscription\_options](#input\_auto\_enable\_logs\_subscription\_options) | filter - Enter regex for matching CloudWatch Log groups name. Regex will check for the Log groups name. Visit https://help.sumologic.com/03Send-Data/Collect-from-Other-Data-Sources/Auto-Subscribe_AWS_Log_Groups_to_a_Lambda_Function#Configuring_parameters |
object({|
filter = string
})
{| no | +| [auto\_enable\_logs\_subscription\_options](#input\_auto\_enable\_logs\_subscription\_options) | filter - Enter regex for matching logGroups. Regex will check for the name.
"filter": "apigateway|lambda|rds"
}
object({|
filter = string
tags_filter = string
})
{| no | | [aws\_account\_alias](#input\_aws\_account\_alias) | Provide the Name/Alias for the AWS environment from which you are collecting data. This name will appear in the Sumo Logic Explorer View, metrics, and logs.
"filter": "lambda"
"tags_filter" = ""
}
object({|
source_name = string
source_category = string
description = string
bucket_details = object({
create_bucket = bool
bucket_name = string
path_expression = string
force_destroy_bucket = bool
})
fields = map(string)
})
{| no | diff --git a/aws-observability-terraform/source-module/main.tf b/aws-observability-terraform/source-module/main.tf index c6912d52..2f69a56d 100644 --- a/aws-observability-terraform/source-module/main.tf +++ b/aws-observability-terraform/source-module/main.tf @@ -230,9 +230,10 @@ module "cloudwatch_logs_lambda_log_forwarder_module" { } auto_enable_logs_subscription = var.auto_enable_logs_subscription - app_semantic_version = "1.0.12" + app_semantic_version = "1.0.14" auto_enable_logs_subscription_options = { filter = var.auto_enable_logs_subscription_options.filter + tags_filter = var.auto_enable_logs_subscription_options.tags_filter } } @@ -259,9 +260,10 @@ module "kinesis_firehose_for_logs_module" { } auto_enable_logs_subscription = var.auto_enable_logs_subscription - app_semantic_version = "1.0.12" + app_semantic_version = "1.0.14" auto_enable_logs_subscription_options = { filter = var.auto_enable_logs_subscription_options.filter + tags_filter = var.auto_enable_logs_subscription_options.tags_filter } } diff --git a/aws-observability-terraform/source-module/variables.tf b/aws-observability-terraform/source-module/variables.tf index 45dd2f08..d082e086 100644 --- a/aws-observability-terraform/source-module/variables.tf +++ b/aws-observability-terraform/source-module/variables.tf @@ -499,12 +499,18 @@ variable "auto_enable_logs_subscription" { variable "auto_enable_logs_subscription_options" { type = object({ filter = string + tags_filter = string }) + description = <
"bucket_details": {
"bucket_name": "aws-observability-random-id",
"create_bucket": true,
"force_destroy_bucket": true,
"path_expression": "*classicloadbalancing/AWSLogs//elasticloadbalancing/ /*"
},
"description": "This source is created using Sumo Logic terraform AWS Observability module to collect AWS Classic LoadBalancer logs.",
"fields": {},
"source_category": "aws/observability/clb/logs",
"source_name": "Classic lb Logs (Region)"
}