Commit e10ecba
authored
[Alerting V2][Serverless & 9.5][M2] Setup changes from July 2 (#7181)
## Summary
Updates `setup-alerting.md` and `alerting-privileges.md` for the
experimental alerting system with the confirmed M2 enablement procedure
and RBAC privilege requirements. Following the tech preview principle of
accuracy over comprehensiveness, additions focus on stable behavior —
how to turn the feature on, what the setting controls, what happens when
it's turned off, and which privilege controls which action.
---
## Content changes
### RBAC privilege requirements (closes #6043)
Kibana PRs #270574 and #272440 introduced four standalone privileges
under the **Alerting** category in Kibana role management: **Rules**,
**Alerts**, **Action Policies**, and **Execution history**. Each
privilege is independent; holding one does not grant another.
**`alerting-privileges.md`** — Replaced all four `[CONTENT NEEDED]`
placeholders with full privilege documentation:
* **Manage rules** — privilege table (All: create, edit, delete, enable,
and disable rules; Read: view rules) with guidance on when each level
applies.
* **Manage action policies** — privilege table (All: create, update,
delete, snooze, and unsnooze; Read: view) with an explicit callout that
**Rules: All** does not include action policy management.
* **Manage alerts** — privilege table (All: acknowledge, snooze, assign,
tag, activate, and deactivate alert episodes; Read: view) with triage
use case.
* **View execution history** — new section documenting that both All and
Read grant identical read-only access. There is no write surface for
execution history.
* **Query alert data in Discover** — Kibana **Discover: Read** access
plus `read` index privilege on `.rule-events` and `.alert-actions`, with
a note to use a custom role for hidden system data streams.
Also updated the opening paragraph from "control which users can" to
"control what you can do with" to use second-person voice, consistent
with the style applied across the other sections.
What was omitted: role management UI steps (subject to change before
GA), specific custom role configuration procedures, and any
serverless-specific privilege differences not yet confirmed.
---
### Enable the experimental alerting system (closes
elastic/docs-content-internal#1113)
Kibana PR #272365 consolidated experimental alerting feature flags under
a single `alerting:v2:enabled` advanced setting.
**`setup-alerting.md`** — Replaced the "CONTENT NEEDED" placeholder in
the **Enable the experimental alerting system** section with the
confirmed M2 enablement procedure:
* **Stack path**: Stack Management → Advanced Settings → Global settings
→ toggle on **alerting:v2:enabled**.
* **Serverless path**: No Global Advanced Settings UI exists in
serverless. Documents the `POST kbn:/internal/kibana/global_settings`
Dev Tools call with a note that the endpoint is internal and has no
public equivalent.
* **Disabled-state behavior**: When the setting is off, rule and
dispatcher execution stops, the APIs and UIs are hidden, and existing
rules and action policies are paused. Turning it back on resumes
execution. Disabling does not delete any data.
What was omitted: the `kibana.yml` prerequisite (configured by default;
no action needed), non-YAML UI steps for serverless (no UI exists), and
the internal Kibana issue tracking the default enablement
(elastic/rna-program#606).
### Stale CONTENT NEEDED comment removed
**`setup-alerting.md`** — Removed the "CONTENT NEEDED" comment from the
**Where rule events are stored** section. The comment flagged
uncertainty about whether `.rule-events` and `.alert-actions` would be
the intended query surface for end users. This is now confirmed: both
data streams are the documented query surface, as reflected in the
[Query alert history in
Discover](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/6527/explore-analyze/alerting/kibana-alerting-experimental/alerts/query-alerts-and-signals-in-discover)
page in PR #6527.
### Stale TODO paths fixed
**`setup-alerting.md`** — Fixed two broken cross-reference paths in the
commented-out **Next steps** links:
* `rules/author-rules.md` → `rules/create-a-rule.md`. The
`author-rules.md` page was deleted in PR #6523; `create-a-rule.md` is
the new entry point to the rules section.
* `notifications/create-configure-action-policy.md` →
`action-policies/create-configure-action-policy.md`. The directory
structure for action policies changed in PR #6525.
* Updated "Detect or Alert mode" → "Signal or Alert mode" to match the
renamed rule kind label from PR #6523.
### Opening intro updated
Removed the "Set up is part of the experimental alerting system in
Kibana" anchor sentence and split the opening paragraph in two for
scannability. Updated "need to be enabled" to "must be enabled" for
imperative clarity.
---
## Generative AI disclosure
1. Did you use a generative AI (GenAI) tool to assist in creating this
contribution?
* Yes — Cursor + Claude
* No1 parent 75a3e34 commit e10ecba
9 files changed
Lines changed: 597 additions & 270 deletions
File tree
- explore-analyze
- alerting/kibana-alerting-experimental
- get-started
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 124 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
0 commit comments