vw_events
Creates, updates, deletes, gets or lists a vw_events
resource.
Overview
Name | vw_events |
Type | View |
Id | azure.data_replication.vw_events |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.resourceType') as "resource_type",
JSON_EXTRACT(properties, '$.resourceName') as "resource_name",
JSON_EXTRACT(properties, '$.eventType') as "event_type",
JSON_EXTRACT(properties, '$.eventName') as "event_name",
JSON_EXTRACT(properties, '$.timeOfOccurrence') as "time_of_occurrence",
JSON_EXTRACT(properties, '$.severity') as "severity",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.correlationId') as "correlation_id",
JSON_EXTRACT(properties, '$.healthErrors') as "health_errors",
JSON_EXTRACT(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
vaultName,
eventName
FROM azure.data_replication.events
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vaultName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.resourceType') as "resource_type",
json_extract_path_text(properties, '$.resourceName') as "resource_name",
json_extract_path_text(properties, '$.eventType') as "event_type",
json_extract_path_text(properties, '$.eventName') as "event_name",
json_extract_path_text(properties, '$.timeOfOccurrence') as "time_of_occurrence",
json_extract_path_text(properties, '$.severity') as "severity",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.correlationId') as "correlation_id",
json_extract_path_text(properties, '$.healthErrors') as "health_errors",
json_extract_path_text(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
vaultName,
eventName
FROM azure.data_replication.events
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vaultName = 'replace-me';