kibana/docs/user
Patrick Mueller cd727fa190
[ResponseOps] move alert UUID generation from rule registry to the alerting framework (#143489)
resolves https://github.com/elastic/kibana/issues/142874

The alerting framework now generates an alert UUID for every alert it
creates. The UUID will be reused for alerts which continue to be active
on subsequent runs, until the alert recovers. When the same alert (alert
instance id) becomes active again, a new UUID will be generated. These
UUIDs then identify a "span" of events for a single alert.

The rule registry plugin was already adding these UUIDs to it's own
alerts-as-data indices, and that code has now been changed to make use
of the new UUID the alerting framework generates.

- adds property in the rule task state
`alertInstances[alertInstanceId].meta.uuid`; this is where the alert
UUID is persisted across runs
- adds a new `Alert` method getUuid(): string` that can be used by rule
executors to obtain the UUID of the alert they just retrieved from the
factory; the rule registry uses this to get the UUID generated by the
alerting framework
- for the event log, adds the property `kibana.alert.uuid` to
`*-instance` event log events; this is the same field the rule registry
writes into the alerts-as-data indices
- various changes to tests to accommodate new UUID data / methods
- migrates the UUID previous stored with lifecycle alerts in the alert
state, via the rule registry *INTO* the new `meta.uuid` field in the
existing alert state.
2023-04-03 09:19:48 -04:00
..
alerting [ResponseOps] move alert UUID generation from rule registry to the alerting framework (#143489) 2023-04-03 09:19:48 -04:00
commands [docs] Improve Secure saved objects and kibana-encryption-keys docs (#132828) 2022-05-25 06:27:37 +02:00
dashboard [Dashboard Usability] Unified dashboard settings (#153862) 2023-03-31 09:52:51 -04:00
graph [DOCS] Updates saved objects & other docs (#139328) 2022-09-21 16:11:41 -07:00
images [DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
introduction/images Doc changes for stack management and grouped feature privileges (#80486) 2020-10-27 11:41:31 -04:00
ml [DOCS] Adds change point detection docs to AIOps Labs (#151337) 2023-02-16 17:05:01 +01:00
monitoring [DOCS] Describe how to use Elastic Agent to monitor Kibana (#152634) 2023-03-23 11:00:13 -07:00
production-considerations [DOCS] Create and manage rule action frequencies (#150957) 2023-02-23 13:16:46 -08:00
reporting [DOCS] Adds Visualizations features for 8.7 (#151045) 2023-03-01 14:28:19 -06:00
security Uses refresh=false for creating, updating, and invalidating user sessions (#151800) 2023-03-10 13:18:09 -05:00
troubleshooting [DOCS] Fix links in Kibana troubleshooting (#144749) 2022-11-07 17:01:10 -08:00
api.asciidoc Append DevTool commands automatically prefix Space (#140443) 2022-10-18 14:18:36 -06:00
canvas.asciidoc [Dashboard Usability] Unified panel options pane (#148301) 2023-02-02 16:30:31 -05:00
dev-tools.asciidoc [DOCS] Adds Kibana API support to Console (#134111) 2022-06-13 09:03:44 -07:00
discover.asciidoc [DOCS] Updates Discover docs (#151953) 2023-03-08 07:05:25 -08:00
index.asciidoc Document execution_context feature (#120894) 2021-12-16 17:13:55 +01:00
introduction.asciidoc [DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
management.asciidoc Updates upgrade assistant doclinks to point to current rather than hard-coded 7.17 (#147585) 2022-12-19 09:19:26 -07:00
plugins.asciidoc [External-plugins-list] Add Sankey Visualization (#137835) 2022-08-03 19:24:17 -04:00
setup.asciidoc [DOCS] Describe how to use Elastic Agent to monitor Kibana (#152634) 2023-03-23 11:00:13 -07:00
whats-new.asciidoc [DOCS] Updates what's new pages (#147483) 2022-12-14 07:36:12 -08:00