File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
articles/key-vault/general Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -163,13 +163,12 @@ You can set an alert to notify you about certificates which are about to expire.
163
163
164
164
1 . Go to ** Logs** and paste below query in query window
165
165
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
173
172
174
173
1 . Select **New alert rule**
175
174
You can’t perform that action at this time.
0 commit comments