Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This policy deploys a diagnostic setting using a category group to route logs to a Log Analytics workspace for SQL managed instances (microsoft.sql/managedinstances).
Use the filters above each column to filter and limit table data. Advanced searches can be performed by using the following operators: <, <=, >, >=, =, *, !, {, }, ||,&&, [empty], [nonempty], rgx: Learn more
"description": "Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This policy deploys a diagnostic setting using a category group to route logs to a Log Analytics workspace for SQL managed instances (microsoft.sql/managedinstances).",
6
"metadata": {
7
"category": "Monitoring",
8
- "version": "1.0.0"
9
},
10
"parameters": {
11
"effect": {
12
"type": "String",
@@ -85,8 +85,9 @@
85
"then": {
86
"effect": "[parameters('effect')]",
87
"details": {
88
"type": "Microsoft.Insights/diagnosticSettings",
89
"existenceCondition": {
90
"allOf": [
91
{
92
"count": {
4
"mode": "Indexed",
5
"description": "Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This policy deploys a diagnostic setting using a category group to route logs to a Log Analytics workspace for SQL managed instances (microsoft.sql/managedinstances).",
displayName: "Enable logging by category group for SQL managed instances (microsoft.sql/managedinstances) to Log Analytics",
policyType: "BuiltIn",
mode: "Indexed",
description: "Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This policy deploys a diagnostic setting using a category group to route logs to a Log Analytics workspace for SQL managed instances (microsoft.sql/managedinstances).",