You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_sumo_aws_account_id"></a> [sumo\_aws\_account\_id](#input\_sumo\_aws\_account\_id)| Please provide Sumo's AWS account ID |`string`| n/a | yes |
35
-
| <aname="input_sumologic_access_id"></a> [sumologic\_access\_id](#input\_sumologic\_access\_id)|Please provide access ID for your Sumo Account|`string`| n/a | yes |
36
-
| <aname="input_sumologic_access_key"></a> [sumologic\_access\_key](#input\_sumologic\_access\_key)|Please provide access key for your Sumo Account|`string`| n/a | yes |
| <aname="input_sumologic_organization_id"></a> [sumologic\_organization\_id](#input\_sumologic\_organization\_id)|Appears on the Account Overview page that displays information about your Sumo Logic organization. Used for IAM Role in Sumo Logic AWS Sources. |`string`| n/a | yes |
38
+
| <aname="input_sumologic_environment"></a> [sumologic\_environment](#input\_sumologic\_environment)|Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security|`string`| n/a | yes |
39
+
| <aname="input_sumologic_organization_id"></a> [sumologic\_organization\_id](#input\_sumologic\_organization\_id)|You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."<br> For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page|`string`| n/a | yes |
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
58
+
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
59
+
|[aws_serverlessapplicationrepository_application.app](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/serverlessapplicationrepository_application)| data source |
60
+
|[sumologic_caller_identity.current](https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/data-sources/caller_identity)| data source |
25
61
26
62
## Inputs
27
63
28
64
| Name | Description | Type | Default | Required |
| auto\_enable\_logs\_subscription | New - Automatically subscribes new log groups to send logs to Sumo Logic.<br> Existing - Automatically subscribes existing log groups to send logs to Sumo Logic.<br> Both - Automatically subscribes new and existing log groups.<br> None - Skips Automatic subscription. |`string`|`"Both"`| no |
31
-
| auto\_enable\_logs\_subscription\_options | filter - Enter regex for matching logGroups. Regex will check for the name. Visit https://help.sumologic.com/03Send-Data/Collect-from-Other-Data-Sources/Auto-Subscribe_AWS_Log_Groups_to_a_Lambda_Function#Configuring_parameters| <pre>object({<br> filter = string<br> })</pre> | <pre>{<br> "filter": "lambda"<br>}</pre> | no |
32
-
| collector\_details | Provide details for the Sumo Logic collector. If not provided, then defaults will be used. | <pre>object({<br> collector_name = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_name": "SumoLogic CloudWatch Logs Collector <RandomID>",<br> "description": "This collector is created using Sumo Logic terraform AWS CloudWatch Logs forwarder to collect AWS cloudwatch logs.",<br> "fields": {}<br>}</pre> | no |
33
-
| create\_collector | Provide "true" if you would like to create the Sumo Logic Collector. |`bool`| n/a | yes |
34
-
| email\_id | Email for receiving alerts. A confirmation email is sent after the deployment is complete. It can be confirmed to subscribe for alerts. |`string`|`"[email protected]"`| no |
35
-
| include\_log\_group\_info | Enable loggroup/logstream values in logs. |`bool`|`true`| no |
36
-
| log\_format | Service for Cloudwatch logs source. |`string`|`"Others"`| no |
37
-
| log\_stream\_prefix | LogStream name prefixes to filter by logStream. Please note this is separate from a logGroup. This is used only to send certain logStreams within a Cloudwatch logGroup(s). LogGroups still need to be subscribed to the created Lambda function regardless of this input value. |`list(string)`|`[]`| no |
38
-
| source\_details | Provide details for the Sumo Logic HTTP source. If not provided, then defaults will be used. | <pre>object({<br> source_name = string<br> source_category = string<br> collector_id = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_id": "",<br> "description": "This source is created using Sumo Logic terraform AWS CloudWatch Logs forwarder to collect AWS cloudwatch logs.",<br> "fields": {},<br> "source_category": "Labs/aws/cloudwatch",<br> "source_name": "CloudWatch Logs Source"<br>}</pre> | no |
39
-
| workers | Number of lambda function invocations for Cloudwatch logs source Dead Letter Queue processing. |`number`|`4`| no |
66
+
| <aname="input_app_semantic_version"></a> [app\_semantic\_version](#input\_app\_semantic\_version)| Provide the latest version of Serverless Application Repository 'sumologic-loggroup-connector'. |`string`|`"1.0.7"`| no |
67
+
| <aname="input_auto_enable_logs_subscription"></a> [auto\_enable\_logs\_subscription](#input\_auto\_enable\_logs\_subscription)| New - Automatically subscribes new log groups to send logs to Sumo Logic.<br> Existing - Automatically subscribes existing log groups to send logs to Sumo Logic.<br> Both - Automatically subscribes new and existing log groups.<br> None - Skips Automatic subscription. |`string`|`"Both"`| no |
68
+
| <aname="input_auto_enable_logs_subscription_options"></a> [auto\_enable\_logs\_subscription\_options](#input\_auto\_enable\_logs\_subscription\_options)| filter - Enter regex for matching logGroups. Regex will check for the name. Visit https://help.sumologic.com/03Send-Data/Collect-from-Other-Data-Sources/Auto-Subscribe_AWS_Log_Groups_to_a_Lambda_Function#Configuring_parameters| <pre>object({<br> filter = string<br> })</pre> | <pre>{<br> "filter": "lambda"<br>}</pre> | no |
69
+
| <aname="input_collector_details"></a> [collector\_details](#input\_collector\_details)| Provide details for the Sumo Logic collector. If not provided, then defaults will be used. | <pre>object({<br> collector_name = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_name": "SumoLogic CloudWatch Logs Collector <RandomID>",<br> "description": "This collector is created using Sumo Logic terraform AWS CloudWatch Logs forwarder to collect AWS cloudwatch logs.",<br> "fields": {}<br>}</pre> | no |
70
+
| <aname="input_create_collector"></a> [create\_collector](#input\_create\_collector)| Provide "true" if you would like to create the Sumo Logic Collector. |`bool`| n/a | yes |
71
+
| <aname="input_email_id"></a> [email\_id](#input\_email\_id)| Email for receiving alerts. A confirmation email is sent after the deployment is complete. It can be confirmed to subscribe for alerts. |`string`|`"[email protected]"`| no |
72
+
| <aname="input_include_log_group_info"></a> [include\_log\_group\_info](#input\_include\_log\_group\_info)| Enable loggroup/logstream values in logs. |`bool`|`true`| no |
73
+
| <aname="input_log_format"></a> [log\_format](#input\_log\_format)| Service for Cloudwatch logs source. |`string`|`"Others"`| no |
74
+
| <aname="input_log_stream_prefix"></a> [log\_stream\_prefix](#input\_log\_stream\_prefix)| LogStream name prefixes to filter by logStream. Please note this is separate from a logGroup. This is used only to send certain logStreams within a Cloudwatch logGroup(s). LogGroups still need to be subscribed to the created Lambda function regardless of this input value. |`list(string)`|`[]`| no |
75
+
| <aname="input_source_details"></a> [source\_details](#input\_source\_details)| Provide details for the Sumo Logic HTTP source. If not provided, then defaults will be used. | <pre>object({<br> source_name = string<br> source_category = string<br> collector_id = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_id": "",<br> "description": "This source is created using Sumo Logic terraform AWS CloudWatch Logs forwarder to collect AWS cloudwatch logs.",<br> "fields": {},<br> "source_category": "Labs/aws/cloudwatch",<br> "source_name": "CloudWatch Logs Source"<br>}</pre> | no |
76
+
| <aname="input_workers"></a> [workers](#input\_workers)| Number of lambda function invocations for Cloudwatch logs source Dead Letter Queue processing. |`number`|`4`| no |
40
77
41
78
## Outputs
42
79
43
80
| Name | Description |
44
81
|------|-------------|
45
-
| aws\_cloudwatch\_log\_group | AWS Log group created to attach to the lambda function. |
|<aname="output_aws_cloudwatch_log_group"></a> [aws\_cloudwatch\_log\_group](#output\_aws\_cloudwatch\_log\_group)| AWS Log group created to attach to the lambda function. |
0 commit comments