Symptom
The Notifications tab of a saved search in Cribl Search displays an empty form, although the notification was configured earlier and keeps sending emails.
- The Send Notification to field is blank and marked with an error icon.
- The condition is blank, and the To, Subject, and Include results fields are missing.
- Reloading the browser does not help, and every saved search with a notification is affected.
Environment
- Cribl Search, versions 4.19.1 and later 4.19.x
- Saved search with a scheduled notification, opened from the saved searches list
Resolution
Upgrade to the fixed version. If you cannot upgrade yet, use the alternative below to change recipients.
- Upgrade Cribl Search to version 4.20.0 or later.
- Navigate to the saved search and open the Notifications tab.
- Verify that the recipients, subject, and condition appear as configured.
Alternative if you cannot upgrade yet: change recipients with the REST API. This is a last resort, because the UI cannot edit the notification in the affected versions.
- Send a
GETrequest to/api/v1/m/<your group>/search/saved/<saved search ID>. - Copy the complete notification object from
schedule.notifications.itemsin the response. - Edit the recipient list in
targetConfigs[0].conf.emailRecipient.to. - Keep the notification
idunchanged. - Send a
PATCHrequest with the complete edited object to/api/v1/m/<your group>/search/saved/<saved search ID>/notifications/<notification ID>. - Send the
GETrequest again to verify the new recipients.
Note: The PATCH request replaces the whole notification. A partial body removes settings such as the subject and Include results. A changed id creates a second notification and sends duplicate emails.
Note: Do not click Save on the blank Notifications tab. The stored notification is not deleted, but the save fails with the error Entity with ID already exists.
Cause
This is a confirmed regression. The saved searches list loads an abbreviated copy of each saved search that omits the notification details.
The editor opens from that abbreviated copy, so it shows a default empty row instead of the stored notification. The stored notification and email delivery are not affected.
Additional Information
The regression first appears in version 4.19.1, and the fix is included in version 4.20.0. See Search Notifications in Cribl Docs.
