@ -116,7 +116,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
"topic",
"topic",
"url",
"url",
"service",
"service",
"send_empty",
"policy",
"enabled",
"enabled",
)
)
help_texts={
help_texts={
@ -130,7 +130,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
"interval":"How often to run the search. On demand evaluates messages as they are received, without running a scheduled search. The remaining options schedule a search of the database with the window below.",
"interval":"How often to run the search. On demand evaluates messages as they are received, without running a scheduled search. The remaining options schedule a search of the database with the window below.",
"window":"Time window to search: 1d, 1h, 1m, 1s, etc.",
"window":"Time window to search: 1d, 1h, 1m, 1s, etc.",
"amount":"Amount of matches to be returned for scheduled queries. Cannot be used with on-demand queries.",
"amount":"Amount of matches to be returned for scheduled queries. Cannot be used with on-demand queries.",
"send_empty":"Send a notification if no matches are found.",
field=models.CharField(choices=[('default','Only trigger for matched events'),('change','Trigger only if no results found when they were last run'),('always','Always trigger regardless of whether results are found')],default='default',max_length=255),