-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Logs UI alerting] Creating a new alert #61493
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Thanks for providing the nice mock-ups! Could we clarify the conditions a bit? I'll re-state them to check whether I guessed correctly and ask a few questions I couldn't guess:
General questions:
|
Metrics alerts allow you to choose between > and >= so we could do the same here. (You can also choose <, <=, or if a value is between two values, but I'm not sure if that would make sense for logs) |
The questions above were more meant to tease out what the intended specs for this feature are. Ultimately implementing a query to satisfy those specs of probably not difficult. |
I just updated the issue description according to the latest alert conditions and added mockups. |
Describe the feature:
As a user, I would like to define the following alerts:
When <COMPARISON:more_than|less_than> <N:integer> log entries with <FIELD:keyword> <COMPARISON:equals|not_equals> <VALUE:string> occur within the last <T:duration>
When <COMPARISON:more_than|less_than> <N:integer> log entries with <FIELD:keyword|number> <COMPARISON:equals|not_equals> <VALUE:string|number> and <FIELD:keyword|number> <COMPARISON:equals|not_equals> <VALUE:string|number> occur within the last <T:duration>
When <COMPARISON:more_than|less_than> <N:integer> log entries with <FIELD:text> <COMPARISON:match|match_phrase> <VALUE:string> occur within the last <T:duration>
Changes in the UI
Alerts button in the Stream tab. For now, it should be hidden on the other tabs, as there are no alerts specific to categories.
The alerts button triggers a popover menu with two options
Create alert
andManage alerts
--> this should look and work in the same way as it does in Metrics, APM and Uptime
the
Manage alerts
button links to the Central alert managementthe
Create alert
button triggers the Alert flyout.we have to handle the
Alert condition
partThis is an example how this could look like:
Please be aware, this mockup is not perfect, it's a guideline, use our shared components.
--> Again, this is very similar to the Metrics application
Video showing the creation user flow
--> the successful/not successful creation should trigger a toast message.
Design issue
The text was updated successfully, but these errors were encountered: