Skip to content

Commit 1db705e

Browse files
authored
Fix numbering
1 parent 39ff399 commit 1db705e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/key-vault/general/alert.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,12 @@ You can set an alert to notify you about certificates which are about to expire.
163163

164164
1. Go to **Logs** and paste below query in query window
165165

166-
```json
167-
AzureDiagnostics
168-
| where OperationName =~ 'CertificateNearExpiryEventGridNotification'
169-
| extend CertExpire = unixtime_seconds_todatetime(eventGridEventProperties_data_EXP_d)
170-
| extend DaysTillExpire = datetime_diff("Day", now(), CertExpire)
171-
| project ResourceId, CertName = eventGridEventProperties_subject_s, DaysTillExpire, CertExpire
172-
```
166+
```json
167+
AzureDiagnostics
168+
| where OperationName =~ 'CertificateNearExpiryEventGridNotification'
169+
| extend CertExpire = unixtime_seconds_todatetime(eventGridEventProperties_data_EXP_d)
170+
| extend DaysTillExpire = datetime_diff("Day", now(), CertExpire)
171+
| project ResourceId, CertName = eventGridEventProperties_subject_s, DaysTillExpire, CertExpire
173172

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

0 commit comments

Comments
 (0)