@@ -168,14 +168,13 @@ AzureDiagnostics
168
168
| where OperationName =~ 'CertificateNearExpiryEventGridNotification'
169
169
| extend CertExpire = unixtime_seconds_todatetime(eventGridEventProperties_data_EXP_d)
170
170
| 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
173
172
```
174
173
175
174
1 . Select ** New alert rule**
176
175
177
176
> [ !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 )
179
178
180
179
1 . In ** Condition** tab use following configuration:
181
180
+ In ** Measurement** set ** Aggregation granularity** to ** 1 day**
@@ -184,21 +183,21 @@ AzureDiagnostics
184
183
+ In ** Alert logic** set ** Threshold value** to ** 0** and ** Frequency of evaluation** to ** 1 day** .
185
184
186
185
> [ !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 )
188
187
189
188
1 . In ** Actions** tab configure alert to send an email
190
189
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 )
193
192
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 )
196
195
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 )
199
198
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 )
202
201
1 . Select ** Review + create**
203
202
204
203
## Next steps
0 commit comments