Introducing a new way to review your PRs.

Read the announcement

keephq / keep

The open-source AIOps and alert management platform

View on GitHub

22 documents · Updated Nov 23, 2026

docs / alert-operations-ui

Alert operations UI

The alert operations UI gives engineers one place to find, inspect, enrich, and act on incoming alerts. It turns alert data into searchable views and tables, then connects each alert to status changes, tickets, workflows, audit history, and incidents. See the web application page for the wider UI model and workflow authoring UI for the workflow creation path.

Alert feed

The alert feed is the main work area for alert investigation. A preset selects the view, while the time range, CEL query, facet filters, sort order, and page size define the result set sent to the alert service.

The main feed moves from user intent to a server query and then to table actions:

flowchart LR
    A[Select preset] --> B[Set time range]
    B --> C[Enter CEL or choose facets]
    C --> D[Sort and page results]
    D --> E[Alert query]
    E --> F[Alert table]
    F --> G[Inspect or manage alerts]
    F --> H[Poll for new events]
    H --> E

Query and refresh behavior

The query path combines a search expression with a date condition and facet conditions. Relative and all-time views can pause live updates. An active relative view can receive new data through polling, while the UI keeps the table current when new alert fingerprints enter the visible result set. The feed also exposes an empty state that guides the user to connect a source or simulate an alert.

References: keep-ui/…/useAlertsTableData.ts• L18-35 keep-ui/…/useAlertsTableData.ts• L167-230 keep-ui/…/useAlertsTableData.ts• L236-350 keep-ui/…/alert-table-server-side.tsx• L183-239 keep-ui/…/alert-table-server-side.tsx• L541-630

Facet filtering

Facets provide guided filters beside the table. The standard alert facets cover severity, status, source, assignee, dismissal, and incident state. Engineers can add a facet for a property path discovered in the alert data, which makes provider fields and enrichment fields usable without a fixed table schema. Facet values show counts and support multi-select or exclusive selection.

References: keep-ui/…/alert-table-server-side.tsx• L341-421 keep-ui/…/alert-table-server-side.tsx• L717-735 keep-ui/…/facet-panel-server-side.tsx• L16-39 keep-ui/…/facet-panel-server-side.tsx• L86-133 keep-ui/…/add-facet-modal-with-suggestions.tsx• L17-42 keep-ui/…/alert-table-alert-facets.tsx• L164-187

Alert table

The table presents the shared alert record as a working surface rather than a read-only list. It can show core alert fields such as severity, state, source, name, description, receipt time, assignee, and extra payload data. Fields not in the known core set can become additional columns, including nested property paths. Rows support selection, grouping, expansion, and a row action menu. When grouping is active, the preset toolbar can expand or collapse all groups. A row click opens the alert detail sidebar and records the alert as viewed for that preset.

References: keep-ui/…/alert-table-tab-panel-server-side.tsx• L48-81 keep-ui/…/alert-table-utils.tsx• L242-365 keep-ui/…/alert-table-utils.tsx• L367-697 keep-ui/…/alert-table-server-side.tsx• L252-339 keep-ui/…/alerts-table-body.tsx• L102-223 keep-ui/…/alert-preset-manager.tsx• L174-190 keep-ui/…/alert-preset-manager.test.tsx• L32-98

Alert investigation

The investigation experience keeps the engineer in the feed while exposing more context on demand. A selected alert opens a side panel, while URL state can open a direct payload, enrichment, history, or provider-method view.

Alert detail sidebar

The alert detail sidebar gives a focused view of one alert and its surrounding context. Its visible fields are configurable, so an installation can show the fields that matter to its operators. Built-in fields cover service, source, description, message, labels, fingerprint, and URL. Labels appear as key-value badges when the alert has labels. Configured paths outside the built-in set can expose additional alert data through custom fields. The sidebar can also show linked incidents, an audit timeline, and related services in the service topology. It keeps the same alert actions available as the table when the action applies to the selected alert.

References: keep-ui/…/alertSidebarFields.tsx• L58-82 keep-ui/…/alertSidebarFields.tsx• L84-255 keep-ui/…/alertSidebarFields.tsx• L258-339 keep-ui/…/alertSidebarFields.test.tsx• L23-61 keep-ui/…/alert-sidebar.tsx• L32-50 keep-ui/…/alert-sidebar.tsx• L169-247 keep-ui/…/alert-timeline.tsx• L23-41 keep-ui/…/alert-timeline.tsx• L75-133

Alert payload and enrichment

The payload view shows the alert as structured JSON so an engineer can inspect the full event or focus on fields enriched by Keep. Edit mode allows changes to writable fields and preserves fields that define alert identity or source metadata. Saving applies changed values as enrichments and removes fields that the engineer deleted. The separate enrichment panel supports adding, changing, and removing custom fields.

References: keep-ui/…/ViewAlertModal.tsx• L21-46 keep-ui/…/ViewAlertModal.tsx• L114-179 keep-ui/…/ViewAlertModal.tsx• L512-592 keep-ui/…/EnrichAlertSidePanel.tsx• L24-33 keep-ui/…/EnrichAlertSidePanel.tsx• L107-141

Alert history

Alert history explains how one fingerprint changed over time. It shows the occurrence range, status activity, and fatigue information beside a history table. The history view is read-only for notes and does not offer the normal row sidebar, which keeps past occurrences separate from current alert operations.

References: keep-ui/…/alert-history-modal.tsx• L127-156 keep-ui/…/alert-history-modal.tsx• L21-117 keep-ui/…/alert-history-charts.tsx• L26-91 keep-ui/…/alert-table-server-side.tsx• L311-315

Alert management

Alert management actions are available at both row level and bulk level. They change the alert record or start work in another system, then refresh the alert and preset views so the operator can continue from current state.

Row actions

The row menu supports investigation and response actions. An engineer can view the payload, expand the row, open the source alert, open a playbook, add a note, view or assign a ticket, run a workflow, inspect history, enrich the alert, self-assign it, call an enabled provider method, dismiss or restore it, change status, and correlate it to an incident. Provider actions appear only when the installed provider exposes the needed method and scopes.

References: keep-ui/…/alert-menu.tsx• L218-405 keep-ui/…/alert-menu.tsx• L462-555 keep-ui/…/alert-assign-ticket-modal.tsx• L58-76 keep-ui/…/alert-method-modal.tsx• L164-197

Bulk actions

Selection turns the table into a batch response tool. The operator can clear the selection, change status, dismiss alerts, save the selected alert names as a new preset, associate the alerts with an incident, or ask AI to propose incident groupings. Status changes can include a note and a choice about whether a later alert should replace the chosen status. Dismissal can be permanent or expire at a chosen time, and a dismissed single alert can be restored.

References: keep-ui/…/alert-actions.tsx• L55-95 keep-ui/…/alert-actions.tsx• L119-205 keep-ui/…/alert-change-status-modal.tsx• L77-153 keep-ui/…/alert-dismiss-modal.tsx• L81-131 keep-ui/…/alert-dismiss-modal.tsx• L144-239

Incident interactions

Incidents are the main bridge from individual alert work to grouped investigation. From the alert feed, an operator can attach selected alerts to an active incident or create a new incident. The AI path proposes groups for review, lets the operator move alerts between groups and edit the proposed incident details, then commits only the chosen groups. It processes at most 50 selected alerts at a time.

sequenceDiagram
    participant O as Operator
    participant F as Alert feed
    participant I as Incident service
    O->>F: Select alerts
    O->>F: Associate with incident or request AI grouping
    F->>I: Send fingerprints
    I-->>F: Return incident choice or suggestions
    O->>F: Confirm association or adjust suggestions
    F->>I: Save alert links or commit selected groups
    I-->>F: Refresh alert and incident views

The incident detail page uses the same alert table model for its alert list. It marks whether correlation came from AI, manual work, or topology, and it supports viewing an alert, unlinking it when allowed, splitting selected alerts, and returning to the feed with an incident filter.

References: keep-ui/…/alert-associate-incident-modal.tsx• L24-99 keep-ui/…/alert-associate-incident-modal.tsx• L105-191 keep-ui/…/alert-create-incident-ai-modal.tsx• L87-158 keep-ui/…/alert-create-incident-ai-modal.tsx• L238-299 keep-ui/…/incident-alerts.tsx• L112-165 keep-ui/…/incident-alert-actions.tsx• L21-59

Failed event review

The preset toolbar always offers a Test alerts action for sending a sample event. When processing errors exist, it also shows an error count that opens the failed-event review modal. The operator can choose an error event, inspect its source, time, raw event data, and error message, then dismiss the current error or all errors. This path is separate from normal alert status management because the event may not have produced a usable alert record.

References: keep-ui/…/alert-preset-manager.tsx• L162-205 keep-ui/…/alert-preset-manager.tsx• L230-241 keep-ui/…/alert-preset-manager.test.tsx• L100-111 keep-ui/…/alert-error-event-modal.tsx• L30-97 keep-ui/…/alert-error-event-modal.tsx• L125-220

Preset views and table settings

Presets turn a useful alert query into a named operating view. They preserve the conditions that define the view and can add operator-focused behavior such as privacy, noise handling, tags, and the alert counter mode.

Preset lifecycle

The preset manager applies the current CEL condition, creates or updates a named preset, and can delete a dynamic preset. A preset can be private to its creator, marked noisy so matching events can trigger sound, and configured to count only firing alerts or all matching alerts. Static presets are not editable. When a dynamic preset changes its name, the page refreshes preset data before it navigates to the new view. The alert count shown while editing gives a quick check of the view’s reach before it is saved.

References: keep-ui/…/alert-preset-manager.tsx• L30-51 keep-ui/…/alert-preset-manager.tsx• L65-135 keep-ui/…/create-or-update-preset-form.tsx• L123-153 keep-ui/…/create-or-update-preset-form.tsx• L155-247 keep-ui/…/preset-controls.tsx• L23-88

Query authoring

The feed accepts Common Expression Language (CEL), which is the expression language used to describe alert conditions. The input validates a condition before applying it, offers field suggestions, and provides common examples. Engineers can also build a condition with a visual rule builder or import SQL that the UI converts to CEL. A valid condition can be saved as a preset.

References: keep-ui/…/alerts-rules-builder.tsx• L123-177 keep-ui/…/alerts-rules-builder.tsx• L202-223 keep-ui/…/alerts-rules-builder.tsx• L275-347 keep-ui/…/alerts-rules-builder.tsx• L359-457

Table personalization

Table settings let each operator fit the feed to the work at hand. The settings cover visible columns, column order, header names, time and list display formats, severity colors, row density, and whether the action tray appears only on hover. Dynamic presets can sync column settings across devices, while built-in views and fallback cases use local browser state.

References: keep-ui/…/SettingsSelection.tsx• L44-109 keep-ui/…/ColumnSelection.tsx• L22-36 keep-ui/…/ColumnSelection.tsx• L151-179 keep-ui/…/alert-table-headers.tsx• L472-567 keep-ui/…/usePresetColumnState.ts• L21-39 keep-ui/…/usePresetColumnState.ts• L144-196 keep-ui/…/RowStyleSelection.tsx• L11-51 keep-ui/…/ActionTraySelection.tsx• L8-30

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the query contract aligned across CEL input, date range, facets, sorting, pagination, and the alert query result count. A change in one part can silently change the meaning of the feed.
  • Preserve the full column configuration when a dynamic preset changes one setting. The saved configuration includes visibility, order, names, time formats, and list formats.
  • Keep fingerprint-based URL actions aligned with alert loading. Payload, enrichment, history, and provider-method actions must resolve the same alert before opening their view.
  • Keep bulk actions and incident actions consistent with selection clearing and data refresh. An old selection can otherwise apply a later action to the wrong visible set.
  • Keep preset access and storage rules aligned. Private presets must remain visible only to their owner, and built-in views must not start using dynamic-preset storage by accident.
  • Keep dynamically discovered alert fields usable in both the table and facet picker. Nested property paths must retain the same meaning in both places.
  • Keep configured sidebar fields aligned with their data paths. Built-in names such as labels must remain distinct from custom paths such as labels.JobName, and absent values must stay hidden.
  • Keep grouping controls tied to the table's grouping state. The expand or collapse action must not appear when the table has no active groups.

Important failure modes

TriggerConsequenceGuard
The preset name in the URL does not match a loaded presetThe page waits for preset data, then shows a not-found stateLoad presets before rejecting the route and keep route names aligned with preset names
CEL is invalid or has no matching alertsThe table shows a CEL-specific empty state and the preset cannot be saved from the query builderApply only valid CEL and show the query error before saving
A dynamic preset column update sends only one part of its configurationOther column choices can disappear after the updateSend the complete column configuration for backend-backed presets
A configured sidebar path is treated as a built-in field or a missing value is shownThe sidebar can show the wrong field or empty contentKeep built-in field names separate from custom paths and render only present values
No ticketing provider is installedThe operator cannot assign a ticket from the alert UIConnect a provider before using ticket assignment
AI incident grouping is unavailable or more than 50 alerts are selectedSuggestions cannot be generated for the selectionCheck AI configuration and limit the AI request to 50 alerts
An alert is not present when a fingerprint URL action resolvesThe payload or enrichment action reports that the alert was not found and clears the action URLWait for settled query data before opening the modal
A dynamic preset name changes before preset data is refreshedNavigation can open the old route or a not-found viewRevalidate presets before navigating to the renamed route

Key files

FileWhy to read it
keep-ui/…/alerts.tsxMain alert page coordinator for presets, query data, URL-driven views, and action modals
keep-ui/…/useAlertsTableData.tsAlert feed data flow for time ranges, CEL composition, pagination, polling, and refresh
keep-ui/…/alert-table-server-side.tsxMain table behavior for facets, selection, grouping, settings, row clicks, and empty states
keep-ui/…/alert-table-utils.tsxShared alert columns and the mapping from alert data to table actions and cells
keep-ui/…/alert-preset-manager.tsxPreset toolbar for query actions, test alerts, group expansion, error review, and preset navigation
keep-ui/…/alert-menu.tsxRow-level investigation and response actions
keep-ui/…/alert-sidebar.tsxAlert context view with configurable fields, incidents, timeline, and service context
keep-ui/…/alertSidebarFields.tsxSidebar field rules for built-in alert data, labels, and custom paths
keep-ui/…/ViewAlertModal.tsxPayload inspection, validation, enrichment edits, and un-enrichment behavior
keep-ui/…/alerts-rules-builder.tsxCEL authoring, visual query building, SQL import, and preset query application
keep-ui/…/create-or-update-preset-form.tsxPreset naming, scope, noise, tags, counter behavior, and save flow
keep-ui/…/incident-alerts.tsxAlert behavior inside an incident and the correlation context shown there
keep-ui/…/alert-create-incident-ai-modal.tsxReview and commit flow for AI incident grouping