vw_diagnostic_settings
Creates, updates, deletes, gets or lists a vw_diagnostic_settings
resource.
Overview
Name | vw_diagnostic_settings |
Type | View |
Id | azure.monitor.vw_diagnostic_settings |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.storageAccountId') as "storage_account_id",
JSON_EXTRACT(properties, '$.serviceBusRuleId') as "service_bus_rule_id",
JSON_EXTRACT(properties, '$.eventHubAuthorizationRuleId') as "event_hub_authorization_rule_id",
JSON_EXTRACT(properties, '$.eventHubName') as "event_hub_name",
JSON_EXTRACT(properties, '$.metrics') as "metrics",
JSON_EXTRACT(properties, '$.logs') as "logs",
JSON_EXTRACT(properties, '$.workspaceId') as "workspace_id",
JSON_EXTRACT(properties, '$.marketplacePartnerId') as "marketplace_partner_id",
JSON_EXTRACT(properties, '$.logAnalyticsDestinationType') as "log_analytics_destination_type",
resourceUri,
name
FROM azure.monitor.diagnostic_settings
WHERE resourceUri = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
json_extract_path_text(properties, '$.storageAccountId') as "storage_account_id",
json_extract_path_text(properties, '$.serviceBusRuleId') as "service_bus_rule_id",
json_extract_path_text(properties, '$.eventHubAuthorizationRuleId') as "event_hub_authorization_rule_id",
json_extract_path_text(properties, '$.eventHubName') as "event_hub_name",
json_extract_path_text(properties, '$.metrics') as "metrics",
json_extract_path_text(properties, '$.logs') as "logs",
json_extract_path_text(properties, '$.workspaceId') as "workspace_id",
json_extract_path_text(properties, '$.marketplacePartnerId') as "marketplace_partner_id",
json_extract_path_text(properties, '$.logAnalyticsDestinationType') as "log_analytics_destination_type",
resourceUri,
name
FROM azure.monitor.diagnostic_settings
WHERE resourceUri = 'replace-me';