Skip to content

Commit fd012ca

Browse files
committed
update README.md
1 parent b363672 commit fd012ca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ module "log-analytics" {
6565
log_analytics_workspace_sku = "PerGB2018"
6666
resource_group_name = module.resource_group.resource_group_name
6767
log_analytics_workspace_location = module.resource_group.resource_group_location
68+
69+
#### enable diagnostic setting
70+
diagnostic_setting_enable = false
71+
log_analytics_workspace_id = module.log-analytics.workspace_id
6872
}
6973
```
7074

@@ -77,23 +81,34 @@ module "log-analytics" {
7781

7882
| Name | Description | Type | Default | Required |
7983
|------|-------------|------|---------|:--------:|
84+
| Metric\_enable | Is this Diagnostic Metric enabled? Defaults to true. | `bool` | `true` | no |
85+
| category | The name of a Diagnostic Log Category Group for this Resource. | `string` | `null` | no |
8086
| create\_log\_analytics\_workspace | The Flag for Module Enable or Disabled if it will false it will take `existing_log_analytics_workspace`. | `bool` | `false` | no |
8187
| daily\_quota\_gb | The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted. | `string` | `"-1"` | no |
88+
| days | The number of days for which this Retention Policy should apply. | `number` | `"90"` | no |
89+
| diagnostic\_setting\_enable | n/a | `bool` | `false` | no |
8290
| email\_receiver | One or more email\_receiver blocks as defined below. | `list(any)` | `[]` | no |
8391
| enabled | Set to false to prevent the module from creating any resources. | `bool` | `true` | no |
8492
| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no |
93+
| eventhub\_authorization\_rule\_id | Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. | `string` | `null` | no |
94+
| eventhub\_name | Specifies the name of the Event Hub where Diagnostics Data should be sent. | `string` | `null` | no |
8595
| internet\_ingestion\_enabled | Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to true. | `bool` | `true` | no |
8696
| internet\_query\_enabled | Should the Log Analytics Workspace support querying over the Public Internet? Defaults to true. | `bool` | `true` | no |
8797
| label\_order | Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] . | `list(any)` | `[]` | no |
98+
| log\_analytics\_destination\_type | Possible values are AzureDiagnostics and Dedicated, default to AzureDiagnostics. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table. | `string` | `"AzureDiagnostics"` | no |
99+
| log\_analytics\_workspace\_id | n/a | `string` | `null` | no |
88100
| log\_analytics\_workspace\_location | Location of the Workspace | `string` | `"West Us"` | no |
89101
| log\_analytics\_workspace\_name | Name of the Log Analytics Workspace | `string` | `"loganalytics"` | no |
90102
| log\_analytics\_workspace\_sku | pecifies the Sku of the Log Analytics Workspace. Possible values are Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, and PerGB2018 (new Sku as of 2018-04-03). Defaults to PerGB2018 | `string` | `"PerGB2018"` | no |
103+
| log\_enabled | Is this Diagnostic Log enabled? Defaults to true. | `string` | `true` | no |
91104
| managedby | ManagedBy, eg ''. | `string` | `""` | no |
92105
| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no |
93106
| repository | Terraform current module repo | `string` | `""` | no |
94107
| resource\_group\_name | Resource group of deployment | `string` | `""` | no |
95108
| retention\_in\_days | The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730. | `number` | `null` | no |
109+
| retention\_policy\_enabled | Is this Retention Policy enabled? | `bool` | `false` | no |
96110
| scheduled\_query\_rules\_alert | Manages an AlertingAction Scheduled Query Rules resource within Azure Monitor. | `any` | `{}` | no |
111+
| storage\_account\_id | The ID of the Storage Account where logs should be sent. | `string` | `null` | no |
97112
| tags | A map of tags to add to all resources | `map(string)` | `{}` | no |
98113

99114
## Outputs

0 commit comments

Comments
 (0)