Skip to content

Commit 39ff399

Browse files
committed
Merge branch 'AKV-Alert-Near-Expiry' of https://github.com/jlichwa/azure-docs-pr into AKV-Alert-Near-Expiry
2 parents afdff56 + 185aaaa commit 39ff399

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

articles/key-vault/general/alert.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,13 @@ AzureDiagnostics
168168
| where OperationName =~ 'CertificateNearExpiryEventGridNotification'
169169
| extend CertExpire = unixtime_seconds_todatetime(eventGridEventProperties_data_EXP_d)
170170
| extend DaysTillExpire = datetime_diff("Day", now(), CertExpire)
171-
| project ResourceId, CertName = eventGridEventProperties_subject_s,
172-
DaysTillExpire, CertExpire
171+
| project ResourceId, CertName = eventGridEventProperties_subject_s, DaysTillExpire, CertExpire
173172
```
174173

175174
1. Select **New alert rule**
176175

177176
> [!div class="mx-imgBorder"]
178-
> ![Screenshot that shows query window with selected new alert rule](../media/alert-21.png)
177+
> ![Screenshot that shows query window with selected new alert rule.](../media/alert-21.png)
179178
180179
1. In **Condition** tab use following configuration:
181180
+ In **Measurement** set **Aggregation granularity** to **1 day**
@@ -184,21 +183,21 @@ AzureDiagnostics
184183
+ In **Alert logic** set **Threshold value** to **0** and **Frequency of evaluation** to **1 day**.
185184

186185
> [!div class="mx-imgBorder"]
187-
> ![Screenshot that shows alert condition configuration](../media/alert-22.png)
186+
> ![Screenshot that shows alert condition configuration.](../media/alert-22.png)
188187
189188
1. In **Actions** tab configure alert to send an email
190189
1. Select **create action group**
191-
> [!div class="mx-imgBorder"]
192-
> ![Screenshot that shows how to create action group](../media/alert-23.png)
190+
> [!div class="mx-imgBorder"]
191+
> ![Screenshot that shows how to create action group.](../media/alert-23.png)
193192
1. Configure **Create action group**
194-
> [!div class="mx-imgBorder"]
195-
> ![Screenshot that shows how to configure action group](../media/alert-24.png)
193+
> [!div class="mx-imgBorder"]
194+
> ![Screenshot that shows how to configure action group.](../media/alert-24.png)
196195
1. Configure **Notifications** to send an email
197-
> [!div class="mx-imgBorder"]
198-
> ![Screenshot that shows how to configure notification](../media/alert-25.png)
196+
> [!div class="mx-imgBorder"]
197+
> ![Screenshot that shows how to configure notification.](../media/alert-25.png)
199198
1. Configure **Details** to trigger **Warning** alert
200-
> [!div class="mx-imgBorder"]
201-
> ![Screenshot that shows how to configure notification](../media/alert-26.png)
199+
> [!div class="mx-imgBorder"]
200+
> ![Screenshot that shows how to configure notification details.](../media/alert-26.png)
202201
1. Select **Review + create**
203202

204203
## Next steps

0 commit comments

Comments
 (0)