Commit graph

162 commits

Author SHA1 Message Date
Kibana Machine
c597d48767
[8.9] [DOCS] Add conditional actions to Observability rule screenshots (#162284) (#163851)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Add conditional actions to Observability rule screenshots
(#162284)](https://github.com/elastic/kibana/pull/162284)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-08-14T18:16:39Z","message":"[DOCS]
Add conditional actions to Observability rule screenshots
(#162284)","sha":"bd6d65591a5bd2f465d3761b107501f24eab973d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","backport:prev-minor","v8.10.0"],"number":162284,"url":"https://github.com/elastic/kibana/pull/162284","mergeCommit":{"message":"[DOCS]
Add conditional actions to Observability rule screenshots
(#162284)","sha":"bd6d65591a5bd2f465d3761b107501f24eab973d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162284","number":162284,"mergeCommit":{"message":"[DOCS]
Add conditional actions to Observability rule screenshots
(#162284)","sha":"bd6d65591a5bd2f465d3761b107501f24eab973d"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-10-27 15:07:10 -05:00
Kibana Machine
cd9acc190e
[8.9] [DOCS] Add example of a rule with errored actions (#162368) (#162420)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Add example of a rule with errored actions
(#162368)](https://github.com/elastic/kibana/pull/162368)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-07-24T16:00:06Z","message":"[DOCS]
Add example of a rule with errored actions
(#162368)","sha":"aa4fbc14a940ce66056000a4b0d7a6c78ce93004","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","backport:prev-minor","v8.10.0"],"number":162368,"url":"https://github.com/elastic/kibana/pull/162368","mergeCommit":{"message":"[DOCS]
Add example of a rule with errored actions
(#162368)","sha":"aa4fbc14a940ce66056000a4b0d7a6c78ce93004"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162368","number":162368,"mergeCommit":{"message":"[DOCS]
Add example of a rule with errored actions
(#162368)","sha":"aa4fbc14a940ce66056000a4b0d7a6c78ce93004"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-24 10:25:27 -07:00
Kibana Machine
06b2b4284f
[8.9] [DOCS] Clarify API key authorization for alerting (#161717) (#162074)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Clarify API key authorization for alerting
(#161717)](https://github.com/elastic/kibana/pull/161717)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-07-17T16:41:23Z","message":"[DOCS]
Clarify API key authorization for alerting
(#161717)","sha":"3a0c90d934c15f8cbe955eb91c7c0d587cb4a7b3","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","v8.9.0","v8.10.0","v8.8.3"],"number":161717,"url":"https://github.com/elastic/kibana/pull/161717","mergeCommit":{"message":"[DOCS]
Clarify API key authorization for alerting
(#161717)","sha":"3a0c90d934c15f8cbe955eb91c7c0d587cb4a7b3"}},"sourceBranch":"main","suggestedTargetBranches":["8.9","8.8"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161717","number":161717,"mergeCommit":{"message":"[DOCS]
Clarify API key authorization for alerting
(#161717)","sha":"3a0c90d934c15f8cbe955eb91c7c0d587cb4a7b3"}},{"branch":"8.8","label":"v8.8.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-17 11:01:44 -07:00
Kibana Machine
6440519230
[8.9] [DOCS] Link to rule and connector Elasticstack provider resources (#161275) (#162068)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Link to rule and connector Elasticstack provider resources
(#161275)](https://github.com/elastic/kibana/pull/161275)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-07-17T15:34:10Z","message":"[DOCS]
Link to rule and connector Elasticstack provider resources
(#161275)","sha":"48ec52b202643ecdf54de963ac5cabf62825bc4f","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","backport:prev-minor","v8.9.0","v8.10.0"],"number":161275,"url":"https://github.com/elastic/kibana/pull/161275","mergeCommit":{"message":"[DOCS]
Link to rule and connector Elasticstack provider resources
(#161275)","sha":"48ec52b202643ecdf54de963ac5cabf62825bc4f"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161275","number":161275,"mergeCommit":{"message":"[DOCS]
Link to rule and connector Elasticstack provider resources
(#161275)","sha":"48ec52b202643ecdf54de963ac5cabf62825bc4f"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-17 11:57:19 -04:00
Kibana Machine
098eee5d09
[8.9] [DOCv2] Temporarily disable Kibana Rules (#126869) (#161865)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCv2] Temporarily disable Kibana Rules
(#126869)](https://github.com/elastic/kibana/pull/126869)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stef
Nestor","email":"26751266+stefnestor@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-07-13T13:22:55Z","message":"[DOCv2]
Temporarily disable Kibana Rules (#126869)\n\n👋🏼 @gchaps asked me to
file a new PR since my
last\r\nhttps://github.com/elastic/kibana/pull/122573 got too far
behind.\r\n\r\n## Summary\r\n\r\n🙏🏼 per #116017, adds insight on how to
temporarily disable Kibana Rules\r\nfor clusters which need breathing
room.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Lisa Cawley
<lcawley@elastic.co>","sha":"b1d619617a0321617636c7c1bbcbf74e393a5d9e","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","auto-backport","Feature:Alerting/RulesManagement","v8.9.0","v8.10.0"],"number":126869,"url":"https://github.com/elastic/kibana/pull/126869","mergeCommit":{"message":"[DOCv2]
Temporarily disable Kibana Rules (#126869)\n\n👋🏼 @gchaps asked me to
file a new PR since my
last\r\nhttps://github.com/elastic/kibana/pull/122573 got too far
behind.\r\n\r\n## Summary\r\n\r\n🙏🏼 per #116017, adds insight on how to
temporarily disable Kibana Rules\r\nfor clusters which need breathing
room.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Lisa Cawley
<lcawley@elastic.co>","sha":"b1d619617a0321617636c7c1bbcbf74e393a5d9e"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/126869","number":126869,"mergeCommit":{"message":"[DOCv2]
Temporarily disable Kibana Rules (#126869)\n\n👋🏼 @gchaps asked me to
file a new PR since my
last\r\nhttps://github.com/elastic/kibana/pull/122573 got too far
behind.\r\n\r\n## Summary\r\n\r\n🙏🏼 per #116017, adds insight on how to
temporarily disable Kibana Rules\r\nfor clusters which need breathing
room.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Lisa Cawley
<lcawley@elastic.co>","sha":"b1d619617a0321617636c7c1bbcbf74e393a5d9e"}}]}]
BACKPORT-->

Co-authored-by: Stef Nestor <26751266+stefnestor@users.noreply.github.com>
2023-07-13 09:46:05 -04:00
Kibana Machine
1489f70e08
[8.9] [DOCS] Add rule.params to rule action variables (#161714) (#161792)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Add rule.params to rule action variables
(#161714)](https://github.com/elastic/kibana/pull/161714)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-07-12T16:56:57Z","message":"[DOCS]
Add rule.params to rule action variables
(#161714)","sha":"7f3c9e8c811c0eff75a3d8d27ce337eeaddeded1","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Alerting/RuleActions","backport:prev-minor","v8.9.0","v8.10.0"],"number":161714,"url":"https://github.com/elastic/kibana/pull/161714","mergeCommit":{"message":"[DOCS]
Add rule.params to rule action variables
(#161714)","sha":"7f3c9e8c811c0eff75a3d8d27ce337eeaddeded1"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161714","number":161714,"mergeCommit":{"message":"[DOCS]
Add rule.params to rule action variables
(#161714)","sha":"7f3c9e8c811c0eff75a3d8d27ce337eeaddeded1"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-12 13:22:05 -04:00
Kibana Machine
047253e4b0
[8.9] [DOCS] Edits FormatNumber examples for rule action variables (#161678) (#161695)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Edits FormatNumber examples for rule action variables
(#161678)](https://github.com/elastic/kibana/pull/161678)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-07-11T17:39:30Z","message":"[DOCS]
Edits FormatNumber examples for rule action variables
(#161678)","sha":"4ce8b3f4ebb602030ad1a7dbbc999e5128ad3daa","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Actions","Team:ResponseOps","docs","backport:prev-minor","v8.9.0","v8.10.0"],"number":161678,"url":"https://github.com/elastic/kibana/pull/161678","mergeCommit":{"message":"[DOCS]
Edits FormatNumber examples for rule action variables
(#161678)","sha":"4ce8b3f4ebb602030ad1a7dbbc999e5128ad3daa"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161678","number":161678,"mergeCommit":{"message":"[DOCS]
Edits FormatNumber examples for rule action variables
(#161678)","sha":"4ce8b3f4ebb602030ad1a7dbbc999e5128ad3daa"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-11 14:04:23 -04:00
Patrick Mueller
d9ca8aa48f
[ResponseOps] adds FormatNumber mustache lambda (#159644)
resolves https://github.com/elastic/kibana/issues/155869

Adds mustache lambda `{{#FormatNumber}}`, which uses
[Intl.NumberFormat][] to format the number.

[Intl.NumberFormat]:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
2023-06-20 09:34:55 -04:00
Lisa Cawley
4cf817a1ab
[DOCS] Allow users authenticated with API keys to manage alerting rules (#158428) 2023-05-25 10:32:11 -07:00
Lisa Cawley
4981f37014
[DOCS] Clarify support for data views in stack rules (#158431) 2023-05-25 07:53:57 -07:00
Lisa Cawley
c5a1d6b5f4
[DOCS] Conditional actions in Kibana alerting summary (#158045) 2023-05-23 10:50:17 -07:00
Lisa Cawley
1b71d2ca3c
[DOCS] Maintenance window column in alerts tables (#158125) 2023-05-23 10:49:18 -07:00
Lisa Cawley
93b15b14e5
[DOCS] Maintenance windows (#157806) 2023-05-17 11:01:40 -07:00
Patrick Mueller
120fa44afd
[ResponseOps][docs] add docs for new mustache lambdas and asJSON for array (#155417)
resolves: https://github.com/elastic/kibana/issues/155408

## Summary

adds doc for function added in [adds mustache lambdas and
array.asJSON](https://github.com/elastic/kibana/pull/150572)
2023-05-14 14:39:25 -04:00
Lisa Cawley
fb68f2075a
[DOCS] Automate two rule management screenshots (#155566) 2023-04-25 08:11:22 -07:00
Lisa Cawley
a0aae1aa23
[DOCS] Automate rule-flyout-rule-conditions.png (#155461) 2023-04-21 07:51:28 -07:00
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
Lisa Cawley
2b9be70f84
[DOCS] Refresh rule detail screenshots (#153705) 2023-03-28 12:08:15 -07:00
Lisa Cawley
bd50903109
[DOCS] Add alert flapping and rule setting details (#153605) 2023-03-24 09:22:20 -07:00
Lisa Cawley
cc11df727f
[DOCS] Automate screenshots in tracking containment rule (#153406) 2023-03-22 07:51:16 -07:00
Lisa Cawley
b6cff1ad72
[DOCS] Automate rule-types-index-threshold-example-alerts.png (#152618) 2023-03-07 11:43:49 -05:00
Lisa Cawley
0c60d8edb7
[DOCS] Refresh index threshold rule screenshots (#152310) 2023-03-02 07:46:19 -08:00
Lisa Cawley
130d2a7a7c
[DOCS] Add alert summaries to overview (#151817) 2023-02-27 12:51:15 -05:00
Lisa Cawley
b37258e19c
[DOCS] Create and manage rule action frequencies (#150957) 2023-02-23 13:16:46 -08:00
Lisa Cawley
ff312c9f04
[DOCS] Clarify alerting security (#150653) 2023-02-14 09:14:05 -08:00
Ersin Erdal
9bbb1f759a
Add summary action variables (#150221)
Resolves: #150209

This PR intends to add the available `Action variables` of the new
`Summary of alerts` actions.

Note: Alert-as-data exposes more data. Please let me know if any needs
to be added/removed.

A better list of available fields:

https://github.com/elastic/kibana/blob/main/x-pack/plugins/rule_registry/README.md

---------

Co-authored-by: lcawl <lcawley@elastic.co>
2023-02-10 13:29:52 +01:00
Lisa Cawley
4e11ef1b6b
[ResponseOps] Automate screenshots for new rule statuses (#147492)
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2023-01-04 07:21:00 -05:00
Lisa Cawley
c99f40f4b2
[DOCS] Refresh alerting troubleshooting (#147633) 2022-12-15 15:15:33 -08:00
Ying Mao
fdf4dea9bd
[Response Ops][Alerting] Adding group by options to ES query rule type (#144689)
Resolves https://github.com/elastic/kibana/issues/89481

## Summary

Adds group by options to the ES query rule type, both DSL and KQL
options. This is the same limited group by options that are offered in
the index threshold rule type so I used the same UI components and rule
parameter names. I moved some aggregation building code to `common` so
they could be reused. All existing ES query rules are migrated to be
`count over all` rules.

## To Verify

* Create the following types of rules and verify they work as expected.
Verify for both DSL query and KQL query
* `count over all` rule - this should run the same as before, where it
counts the number of documents that matches the query and applies the
threshold condition to that value. `{{context.hits}}` is all the
documents that match the query if the threshold condition is met.
* `<metric> over all` rule - this calculates the specific aggregation
metric and applies the threshold condition to the aggregated metric (for
example, `avg event.duration`). `{{context.hits}}` is all the documents
that match the query if the threshold condition is met.
* `count over top N terms` - this will apply a term aggregation to the
query and matches the threshold condition to each term bucket (for
example, `count over top 10 event.action` will apply the threshold
condition to the count of documents within each `event.action` bucket).
`{{context.hits}}` is the result of the top hits aggregation within each
term bucket if the threshold condition is met for that bucket.
* `<metric> over top N terms` - this will apply a term aggregation and a
metric sub-aggregation to the query and matches the threshold condition
to the metric value within each term bucket (for example, `avg
event.duration over top 10 event.action` will apply the threshold
condition to the average value of `event.duration` within each
`event.action` bucket). `{{context.hits}}` is the result of the top hits
aggregation within each term bucket if the threshold condition is met
for that bucket.
* Verify the migration by creating a DSL and KQL query in an older
version of Kibana and then upgrading to this PR. The rules should still
continue running successfully.


### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-12-15 11:03:58 -05:00
Alexi Doak
b65ded0c8a
[ResponseOps][Flapping] add flapping state to alert context for action parameters (#147136)
Resolves https://github.com/elastic/kibana/issues/146613

## Summary
Makes flapping indicator for an alert available in the context variables
for action mustache templates under `alert.flapping`
Let me know if we want to change this to be something else

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### To verify

- Create a new rule with a connector
- Add the new field Add `{{alert.flapping}}` to the your alert message,
and verify that it is in the alert output.
2022-12-14 11:01:56 -07:00
Stef Nestor
b8e404fffc
[+DOC] Alert Action Context (#145055)
👋 howdy, team!

## Summary
Doc request https://github.com/elastic/kibana/issues/131271 is still a
high pain point, the hope of this PR is to
- provide direct doc link to the `{{context}}` paragraph (currently
scroll-hidden under an image)
- append common info requests, how to
    - see all variables (during exploration)
    - loop through `context`, esp. related to rule search response

### Checklist

Delete any items that are not applicable to this PR. ✓

### Risk Matrix

Delete this section if it is not applicable to this PR. ✓

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2022-12-02 14:16:21 -07:00
Lisa Cawley
8086e99478
[DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
Lisa Cawley
dfbe40a33b
[DOCS] Update screenshots for Connectors app (#144870) 2022-11-17 09:10:54 -08:00
Lisa Cawley
2b143dadc4
[DOCS] Refresh screenshots for alerting banners (#145307) 2022-11-16 08:14:51 -08:00
Lisa Cawley
80b479a1b4
[DOCS] Add the Logs tab to Rules and Connectors (#144866) 2022-11-15 07:35:42 -08:00
Ying Mao
4f649c09c5
[Response Ops] Allow _source field for ES DSL query rules (#142223)
* Allowing _source in ES query DSL

* Adding functional test

* Adding to doc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 19:18:59 -04:00
Ying Mao
0fbbd4f18a
[Alerting][Docs] Adding link to ES docs for CCS setup (#141995)
* Adding link to ES docs

* Adding link to ES docs

* Apply suggestions from code review

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-09-28 07:35:51 -04:00
Lisa Cawley
ba99c7db6e
Clarify rule notification values (#140457) 2022-09-14 09:29:30 -07:00
Lisa Cawley
5ad7802cd8
[DOCS] Clarify rule upgrade known issue (#140674) 2022-09-14 07:26:19 -07:00
Lisa Cawley
059e18c151
[DOCS] Troubleshooting alerting upgrade issues (#139970) 2022-09-07 09:36:55 -07:00
Lisa Cawley
2115309d0a
Edit UI text for "exclude previous hits" check box in Elasticsearch query rule (#140146) 2022-09-07 08:34:35 -07:00
Lisa Cawley
84e0e87a4b
[DOCS] Minor linting issues in alerting (#140126) 2022-09-07 07:16:33 -07:00
Ersin Erdal
7d3f762186
Add "exclude previous hits" check box to ESQuery rule form (#138781)
* Add "Exclude the hits from previous rule run" check box to ESQuery rule form
2022-09-05 13:09:09 +02:00
Lisa Cawley
6fc614a20c
[DOCS] Refresh screenshots for creating and managing rules (#138763) 2022-09-01 08:57:05 +09:30
Lisa Cawley
c9e3d33656
[DOCS] Clarify alerting security setup (#139587) 2022-08-30 13:26:53 -07:00
Lisa Cawley
659d664f01
[DOCS] Update snooze and disable rules screenshots (#138693) 2022-08-26 13:45:41 -07:00
Gidi Meir Morris
502dc0a4d0
[E&C][ES Query] adds runtime mappings and fields support to the ES Query ruletype (#138427)
This PR adds Runtime Fields support to the ES Query Rule Type when using the DSL Query mode.
2022-08-22 13:17:46 +01:00
István Zoltán Szabó
9649307334
[DOCS] Updates alerting authorization docs with info on retaining API keys (#132402)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-23 10:12:54 +02:00
Ersin Erdal
de29010c43
Retain APIKey when disabling/enabling a rule (#131581)
* Retain APIKey when disabling/enabling a rule
2022-05-18 15:13:44 +02:00
Lisa Cawley
1591bfba24
[DOCS] Replace execution terminology in Alerting (#131357) 2022-05-04 15:11:53 -07:00