Commit graph

714 commits

Author SHA1 Message Date
amyjtechwriter
2a79eebee7
[8.10][DOCS] Adds release highlights to the What's new page (#165137)
## Summary

This PR adds details about whats new to the 8.10 release on the whats
new page.

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2023-08-31 13:22:46 +01:00
Kibana Machine
a307a0fb98
[8.10] [node] Enable openssl legacy provider (#163190) (#165267)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[node] Enable openssl legacy provider
(#163190)](https://github.com/elastic/kibana/pull/163190)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-08-30T18:51:10Z","message":"[node]
Enable openssl legacy provider (#163190)\n\nThis is to prevent a
breaking change in a minor release of Kibana due to\r\nan underlying
upgrade of Node.js to v18.\r\nThe legacy provider can be disabled by
removing\r\n`--openssl-legacy-provider` in
`config/node.options`.\r\n\r\n[Node.js\r\ndocumentation](https://nodejs.org/docs/latest-v18.x/api/cli.html#--openssl-legacy-provider)\r\n[OpenSSL\r\ndocumentation](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html)\r\n\r\n---------\r\n\r\nCo-authored-by:
Thomas Watson
<w@tson.dk>","sha":"aebd6f392384b4e36241f1a1ad5f3c615b42bcca","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","auto-backport","ci:build-all-platforms","ci:cloud-deploy","v8.10.0","v7.17.13","v8.11.0"],"number":163190,"url":"https://github.com/elastic/kibana/pull/163190","mergeCommit":{"message":"[node]
Enable openssl legacy provider (#163190)\n\nThis is to prevent a
breaking change in a minor release of Kibana due to\r\nan underlying
upgrade of Node.js to v18.\r\nThe legacy provider can be disabled by
removing\r\n`--openssl-legacy-provider` in
`config/node.options`.\r\n\r\n[Node.js\r\ndocumentation](https://nodejs.org/docs/latest-v18.x/api/cli.html#--openssl-legacy-provider)\r\n[OpenSSL\r\ndocumentation](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html)\r\n\r\n---------\r\n\r\nCo-authored-by:
Thomas Watson
<w@tson.dk>","sha":"aebd6f392384b4e36241f1a1ad5f3c615b42bcca"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","7.17"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.13","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163190","number":163190,"mergeCommit":{"message":"[node]
Enable openssl legacy provider (#163190)\n\nThis is to prevent a
breaking change in a minor release of Kibana due to\r\nan underlying
upgrade of Node.js to v18.\r\nThe legacy provider can be disabled by
removing\r\n`--openssl-legacy-provider` in
`config/node.options`.\r\n\r\n[Node.js\r\ndocumentation](https://nodejs.org/docs/latest-v18.x/api/cli.html#--openssl-legacy-provider)\r\n[OpenSSL\r\ndocumentation](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html)\r\n\r\n---------\r\n\r\nCo-authored-by:
Thomas Watson
<w@tson.dk>","sha":"aebd6f392384b4e36241f1a1ad5f3c615b42bcca"}}]}]
BACKPORT-->

---------

Co-authored-by: Jon <jon@elastic.co>
2023-08-30 16:46:16 -07:00
Kibana Machine
d2b0ff2614
[8.10] [DOCS] Add cross-link for other encryption key settings (#165014) (#165034)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Add cross-link for other encryption key settings
(#165014)](https://github.com/elastic/kibana/pull/165014)

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

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

<!--BACKPORT [{"author":{"name":"James
Rodewig","email":"james.rodewig@elastic.co"},"sourceCommit":{"committedDate":"2023-08-28T19:02:22Z","message":"[DOCS]
Add cross-link for other encryption key settings (#165014)\n\nProblem:
The [Configure security in
Kibana](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html)
docs page only covers the `xpack.security.encryptionKey` setting for
session encryption. Users may not know that encryption for Kibana's
reporting and saved objects features also require encryption
keys.\r\n\r\nSolution: Add a cross-link to the respective encryption key
settings for reporting and saved
objects","sha":"8ac82e38d79c0031d76de472d1b1e0f2f7b9fef2","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Feature:Reporting","Feature:Saved
Objects","release_note:skip","docs","Feature:Security/Session
Management","v8.10.0","v8.11.0","v8.9.2"],"number":165014,"url":"https://github.com/elastic/kibana/pull/165014","mergeCommit":{"message":"[DOCS]
Add cross-link for other encryption key settings (#165014)\n\nProblem:
The [Configure security in
Kibana](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html)
docs page only covers the `xpack.security.encryptionKey` setting for
session encryption. Users may not know that encryption for Kibana's
reporting and saved objects features also require encryption
keys.\r\n\r\nSolution: Add a cross-link to the respective encryption key
settings for reporting and saved
objects","sha":"8ac82e38d79c0031d76de472d1b1e0f2f7b9fef2"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165014","number":165014,"mergeCommit":{"message":"[DOCS]
Add cross-link for other encryption key settings (#165014)\n\nProblem:
The [Configure security in
Kibana](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html)
docs page only covers the `xpack.security.encryptionKey` setting for
session encryption. Users may not know that encryption for Kibana's
reporting and saved objects features also require encryption
keys.\r\n\r\nSolution: Add a cross-link to the respective encryption key
settings for reporting and saved
objects","sha":"8ac82e38d79c0031d76de472d1b1e0f2f7b9fef2"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-08-28 15:25:38 -04:00
Kibana Machine
e93f0f385b
[8.10] [DOCS] Adds documentation for data comparison view (#164297) (#164722)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Adds documentation for data comparison view
(#164297)](https://github.com/elastic/kibana/pull/164297)

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

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

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2023-08-24T14:13:38Z","message":"[DOCS]
Adds documentation for data comparison view (#164297)\n\n##
Summary\r\n\r\nRelated PR:
https://github.com/elastic/kibana/pull/161365\r\nRelated issue:
https://github.com/elastic/platform-docs-team/issues/153\r\n\r\nThis PR
drafts documentation for the new data comparison feature under\r\nthe
Data Visualizer in
Kibana.","sha":"e91103811be0c731af056779ba20a30a89e34253","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs",":ml","release_note:skip","docs","v8.10.0","v8.11.0"],"number":164297,"url":"https://github.com/elastic/kibana/pull/164297","mergeCommit":{"message":"[DOCS]
Adds documentation for data comparison view (#164297)\n\n##
Summary\r\n\r\nRelated PR:
https://github.com/elastic/kibana/pull/161365\r\nRelated issue:
https://github.com/elastic/platform-docs-team/issues/153\r\n\r\nThis PR
drafts documentation for the new data comparison feature under\r\nthe
Data Visualizer in
Kibana.","sha":"e91103811be0c731af056779ba20a30a89e34253"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164297","number":164297,"mergeCommit":{"message":"[DOCS]
Adds documentation for data comparison view (#164297)\n\n##
Summary\r\n\r\nRelated PR:
https://github.com/elastic/kibana/pull/161365\r\nRelated issue:
https://github.com/elastic/platform-docs-team/issues/153\r\n\r\nThis PR
drafts documentation for the new data comparison feature under\r\nthe
Data Visualizer in
Kibana.","sha":"e91103811be0c731af056779ba20a30a89e34253"}}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2023-08-24 10:33:52 -04:00
Patrick Mueller
697577a6d0
Revert "[EventLog] change to use Data stream lifecycle instead of ILM" (#164614)
Resolves https://github.com/elastic/kibana/issues/164581.

This reverts commit 7e234b1a78

The commit came from PR https://github.com/elastic/kibana/pull/163210
2023-08-24 08:21:49 -04:00
Kibana Machine
e1a7190356
[8.10] [DOCS] Automate Elasticsearch query rule screenshots (#164127) (#164629)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate Elasticsearch query rule screenshots
(#164127)](https://github.com/elastic/kibana/pull/164127)

<!--- 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-23T18:41:44Z","message":"[DOCS]
Automate Elasticsearch query rule screenshots
(#164127)","sha":"154ca404d05fd875d1348d537bc518c89a009a00","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","backport:prev-minor","v8.11.0"],"number":164127,"url":"https://github.com/elastic/kibana/pull/164127","mergeCommit":{"message":"[DOCS]
Automate Elasticsearch query rule screenshots
(#164127)","sha":"154ca404d05fd875d1348d537bc518c89a009a00"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164127","number":164127,"mergeCommit":{"message":"[DOCS]
Automate Elasticsearch query rule screenshots
(#164127)","sha":"154ca404d05fd875d1348d537bc518c89a009a00"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-08-23 14:16:10 -07:00
Kibana Machine
3712eec72e
[8.10] [DOCS] Change deep link to ES book for CCS privileges (#164165) (#164395)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Change deep link to ES book for CCS privileges
(#164165)](https://github.com/elastic/kibana/pull/164165)

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

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

<!--BACKPORT [{"author":{"name":"Abdon
Pijpelink","email":"abdon.pijpelink@elastic.co"},"sourceCommit":{"committedDate":"2023-08-22T07:33:53Z","message":"[DOCS]
Change deep link to ES book for CCS privileges (#164165)\n\n##
Summary\r\n\r\nRelates to
https://github.com/elastic/elasticsearch/pull/98330\r\n\r\n8.10
introduces a new method to configure remote clusters (API key\r\nbased),
which will live next to the existing method (certificate based).\r\nAs a
result, the ES remote cluster docs will be restructured. The
deep\r\nlink from \"[Alerting
set\r\nup](https://www.elastic.co/guide/en/kibana/current/alerting-setup.html#alerting-ccs-setup)\"\r\nto
the setting up CCS privileges section in the ES docs will break
(and\r\nwould potentially bring folks to the wrong page
anyway).\r\n\r\nThis PR changes the link into a link to the higher-level
remote cluster\r\ndocs, from where folks can click through to the
section that is relevant\r\nto
them.","sha":"4b1d833aee778e0e7278edc04260394b0c024de5","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.10.0","v8.11.0"],"number":164165,"url":"https://github.com/elastic/kibana/pull/164165","mergeCommit":{"message":"[DOCS]
Change deep link to ES book for CCS privileges (#164165)\n\n##
Summary\r\n\r\nRelates to
https://github.com/elastic/elasticsearch/pull/98330\r\n\r\n8.10
introduces a new method to configure remote clusters (API key\r\nbased),
which will live next to the existing method (certificate based).\r\nAs a
result, the ES remote cluster docs will be restructured. The
deep\r\nlink from \"[Alerting
set\r\nup](https://www.elastic.co/guide/en/kibana/current/alerting-setup.html#alerting-ccs-setup)\"\r\nto
the setting up CCS privileges section in the ES docs will break
(and\r\nwould potentially bring folks to the wrong page
anyway).\r\n\r\nThis PR changes the link into a link to the higher-level
remote cluster\r\ndocs, from where folks can click through to the
section that is relevant\r\nto
them.","sha":"4b1d833aee778e0e7278edc04260394b0c024de5"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164165","number":164165,"mergeCommit":{"message":"[DOCS]
Change deep link to ES book for CCS privileges (#164165)\n\n##
Summary\r\n\r\nRelates to
https://github.com/elastic/elasticsearch/pull/98330\r\n\r\n8.10
introduces a new method to configure remote clusters (API key\r\nbased),
which will live next to the existing method (certificate based).\r\nAs a
result, the ES remote cluster docs will be restructured. The
deep\r\nlink from \"[Alerting
set\r\nup](https://www.elastic.co/guide/en/kibana/current/alerting-setup.html#alerting-ccs-setup)\"\r\nto
the setting up CCS privileges section in the ES docs will break
(and\r\nwould potentially bring folks to the wrong page
anyway).\r\n\r\nThis PR changes the link into a link to the higher-level
remote cluster\r\ndocs, from where folks can click through to the
section that is relevant\r\nto
them.","sha":"4b1d833aee778e0e7278edc04260394b0c024de5"}}]}] BACKPORT-->

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-08-22 07:41:25 +00:00
Kibana Machine
d8f455a3b0
[8.10] [DOCS] Improves change point detection documentation (#164277) (#164325)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Improves change point detection documentation
(#164277)](https://github.com/elastic/kibana/pull/164277)

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

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

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2023-08-21T14:33:07Z","message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","docs","v8.10.0","v8.11.0"],"number":164277,"url":"https://github.com/elastic/kibana/pull/164277","mergeCommit":{"message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164277","number":164277,"mergeCommit":{"message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b"}}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2023-08-21 14:39:39 +00:00
Lisa Cawley
bd6d65591a
[DOCS] Add conditional actions to Observability rule screenshots (#162284) 2023-08-14 11:16:39 -07:00
Alejandro Fernández Haro
0284cc158d
[Telemetry] Use header-based versioned APIs instead of path-based (#159839) 2023-08-12 14:20:06 -07:00
James Rodewig
37a53b69cf
[DOCS] Fix event.values URL template var desc (#163507) 2023-08-10 14:32:55 -04:00
Patrick Mueller
7e234b1a78
[EventLog] change to use Data stream lifecycle instead of ILM (#163210)
resolves https://github.com/elastic/kibana/issues/162886

The default continues to be 90 days for data detetention of event log
documents, and the rollover is now controlled by DLM, as described in
[Data stream lifecycle][].

[Data stream lifecycle]:
https://www.elastic.co/guide/en/elasticsearch/reference/8.9/data-stream-lifecycle.html

## Release note

Fixes the event log data stream to use Data stream lifecycle instead of
Index Lifecycle Management. If you had previously customized the Kibana
event log ILM policy, you should now update the lifecycle of the event
log data stream itself.
2023-08-08 15:23:59 -04:00
Alex Szabo
8cf68dc6ba
[Ops] Bump Node.js to version 18 (#160289)
## Summary

Bumps node.js to 18.17.0 (replacement for PR #144012 which was later
reverted)

As a result, these categorical additions were needed: 
- `node` evocations will need the `--openssl-legacy-provider` flag,
wherever it would use certain crypto functionalities
- tests required updating of the expected HTTPS Agent call arguments,
`noDelay` seems to be a default
 - `window.[NAME]` fields cannot be written directly
 - some stricter typechecks

This is using our in-house built node.js 18 versions through the URLs
the proxy-cache. (built with
https://github.com/elastic/kibana-custom-nodejs-builds/pull/4)

These urls are served from a bucket, where the RHEL7/Centos7 compatible
node distributables are. (see:
https://github.com/elastic/kibana-ci-proxy-cache/pull/7)

Further todos: 
 - [x] check docs wording and consistency
 - [ ] update the dependency report
 - [x] explain custom builds in documentation
 - [x] node_sass prebuilts

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: Thomas Watson <w@tson.dk>
2023-07-27 14:12:48 +02:00
Sid
ad542d0188
Change default session idle timeout to 3 days. (#162313)
Closes https://github.com/elastic/kibana/issues/162215

## Summary

This PR changes the default session idle timeout for users to 3 days. 

## Changes Made

- Updated default `session.idleTimeout` to `3d`. 
- Updated tests to expect the new default timeout
- Updated asciidocs to match the above change

## Release notes

Change the default value of `session.idleTimeout` from 8 hours to 3
days.
2023-07-26 14:29:04 +02:00
James Rodewig
1c3f4a8543
[DOCS] Remove outdated Maps video (#161991)
- Removes a video from the [Maps](https://www.elastic.co/guide/en/kibana/current/maps.html) docs. The video's UI is outdated. There are no current plans to update the video.
- Adds a comment to the [Make dashboards interactive](https://www.elastic.co/guide/en/kibana/current/drilldowns.html). This video is slightly outdated, but we're leaving it in at the request of the dev team.

Closes https://github.com/elastic/platform-docs-team/issues/131
2023-07-25 06:08:21 -04:00
Lisa Cawley
aa4fbc14a9
[DOCS] Add example of a rule with errored actions (#162368) 2023-07-24 09:00:06 -07:00
Lisa Cawley
5bc6faac50
[DOCS] Refresh rule action variable screenshots (#162098) 2023-07-19 08:31:46 -07:00
Walter Rafelsberger
11cc1e1be6
[ML] AIOps: Rename Explain Log Rate Spikes to Log Rate Analysis. (#161764)
## Summary

Part of #161832.

This PR renames the Explain Log Rate Spikes feature to **Log Rate
Analysis**.

- [x] Renamed references in `docs/developer/*`
- [x] Updated docs screenshots
- [x] Redirect in docs
- [x] Redirect urls from `explain_log_rate_spikes` to `log_rate_analysis`
- [x] API versioning
- [x] Renamed navigation links
- [x] Renamed variable names
- [x] Renamed file names
- [x] Renamed i18n ids
- [x] Renamed breadcrumbs 
- [x] Removed hard coded `AIOPS_ENABLED` feature flag
2023-07-19 16:46:31 +02:00
Lisa Cawley
3a0c90d934
[DOCS] Clarify API key authorization for alerting (#161717) 2023-07-17 09:41:23 -07:00
Lisa Cawley
48ec52b202
[DOCS] Link to rule and connector Elasticstack provider resources (#161275) 2023-07-17 08:34:10 -07:00
Mike Birnstiehl
575def18cf
[DOCS] update observability alerting links (#161980) 2023-07-17 09:47:07 -05:00
Stef Nestor
b1d619617a
[DOCv2] Temporarily disable Kibana Rules (#126869)
👋🏼 @gchaps asked me to file a new PR since my last
https://github.com/elastic/kibana/pull/122573 got too far behind.

## Summary

🙏🏼 per #116017, adds insight on how to temporarily disable Kibana Rules
for clusters which need breathing room.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-13 08:22:55 -05:00
Lisa Cawley
7f3c9e8c81
[DOCS] Add rule.params to rule action variables (#161714) 2023-07-12 09:56:57 -07:00
Lisa Cawley
4ce8b3f4eb
[DOCS] Edits FormatNumber examples for rule action variables (#161678) 2023-07-11 10:39:30 -07:00
Tim Sullivan
787491e2bb
[Reporting] Allow Chromium to work by default in Docker (#149080)
## Summary

Closes https://github.com/elastic/kibana/issues/129148


### Checklist

Delete any items that are not applicable to this PR.

- [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

## Release Note
Fixed a bug where Kibana Reporting would not work in Elastic Docker
without adding a special setting in kibana.yml.
2023-07-11 08:16:03 -07:00
Stratoula Kalafateli
672c90a9c1
[Dashboard] Panel settings action improvements (#161616)
## Summary

Part of https://github.com/elastic/kibana/issues/160256

- Replaces the Edit panel settings text with the simpler Panel settings
- Replaces the documentation
- Replaces the icon

<img width="1757" alt="image"
src="e0ea6c19-8a65-44b8-906e-c364c00536a0">

### Checklist

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
2023-07-11 16:22:57 +03:00
Jonathan Buttner
2bf4ed4813
[Cases] Updating the audit log docs (#160335)
This PR updates the security audit logs with some cases values. We added
a new operation for retrieving the `categories` of a case and the users
associated with a case.
2023-06-23 08:20:32 -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
Nathan Reese
917deff3a4
Check lens support in editor comparisons table for tag cloud and significant terms (#159617)
Update editor tables to reflect that tag cloud and significant terms
aggregations are supported in lens
2023-06-14 07:27:31 -06:00
Carly Richmond
ad2593b7b4
Update tsvb.asciidoc to correct typo (#159551) 2023-06-13 08:53:16 -04:00
Lisa Cawley
bfdb4e1d68
[DOCS] Fix typo in AIOps Labs (#159045) 2023-06-05 14:52:44 -07: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
668968b758
[DOCS] Replace description attributes with frontmatter for migration (#158126) 2023-05-24 08:16:43 -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
Kaarina Tungseth
06a800fbad
[DOCS] Adds 8.8 Viz docs (#157215)
## Summary

Adds the 8.8 documentation for the following:

- Enable report sharing: https://github.com/elastic/kibana/pull/153429
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/reporting-getting-started.html

- Random sampling feature: https://github.com/elastic/kibana/pull/143221
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/lens.html#improve-visualization-loading-time

- Improve Ignore global filters UI:
https://github.com/elastic/kibana/pull/154441 and
https://github.com/elastic/kibana/pull/155280
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/lens.html#add-annotations

---------

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2023-05-23 10:41:42 -05:00
István Zoltán Szabó
a3c940f0cd
[DOCS] Adds log pattern analysis in Discover docs (#158059)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-05-22 12:34:15 +02:00
Lisa Cawley
93b15b14e5
[DOCS] Maintenance windows (#157806) 2023-05-17 11:01:40 -07:00
gchaps
7cab4edab7
[DOCS] Adds drag & drop to Discover (#157340)
## Summary

This PR adds documentation for:

- Drag and drop from Available Fields list
- Wildcards in field searches
- All sources and matching sources in Create Data View
2023-05-16 15:35:47 -07:00
Kaarina Tungseth
0689c638d3
[DOCS] Adds the presentation 8.8 docs (#157765)
## Summary

Adds the docs for the following 8.8 Presentation docs:

- Unified dashboard settings:
https://github.com/elastic/kibana/pull/153862
Docs preview:
https://kibana_157765.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#add-dashboard-settings

- Add reset button: https://github.com/elastic/kibana/pull/154872
Docs preview:
https://kibana_157765.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#reset-the-dashboard

---------

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2023-05-16 14:21:01 -05:00
István Zoltán Szabó
e6bec5b669
[DOCS] Documents AIOps Labs enhancements (#157716)
Co-authored-by: Dima Arnautov <arnautov.dima@gmail.com>
2023-05-15 17:22:16 +02: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
Mike Côté
cb2e28d1e4
Fix task manager polling flow controls (#153491)
Fixes https://github.com/elastic/kibana/issues/151938

In this PR, I'm re-writing the Task Manager poller so it doesn't run
concurrently when timeouts occur while also fixing the issue where
polling requests would pile up when polling takes time. To support this,
I've also made the following changes:
- Removed the observable monitor and the
`xpack.task_manager.max_poll_inactivity_cycles` setting
- Make the task store `search` and `updateByQuery` functions have no
retries. This prevents the request from retrying 5x whenever a timeout
occurs, causing each call taking up to 2 1/2 minutes before Kibana sees
the error (now down to 30s each). We have polling to manage retries in
these situations.
- Switch the task poller tests to use `sinon` for faking timers
- Removing the `assertStillInSetup` checks on plugin setup. Felt like a
maintenance burden that wasn't necessary to fix with my code changes.

The main code changes are within these files (to review thoroughly so
the polling cycle doesn't suddenly stop):
- x-pack/plugins/task_manager/server/polling/task_poller.ts
- x-pack/plugins/task_manager/server/polling_lifecycle.ts (easier to
review if you disregard whitespace `?w=1`)

## To verify
1. Tasks run normally (create a rule or something that goes through task
manager regularly).
2. When the update by query takes a while, the request is cancelled
after 30s or the time manually configured.
4. When the search for claimed tasks query takes a while, the request is
cancelled after 30s or the time manually configured.

**Tips:**
<details><summary>how to slowdown search for claimed task
queries</summary>

```
diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.ts b/x-pack/plugins/task_manager/server/queries/task_claiming.ts
index 07042650a37..2caefd63672 100644
--- a/x-pack/plugins/task_manager/server/queries/task_claiming.ts
+++ b/x-pack/plugins/task_manager/server/queries/task_claiming.ts
@@ -247,7 +247,7 @@ export class TaskClaiming {
         taskTypes,
       });

-    const docs = tasksUpdated > 0 ? await this.sweepForClaimedTasks(taskTypes, size) : [];
+    const docs = await this.sweepForClaimedTasks(taskTypes, size);

     this.emitEvents(docs.map((doc) => asTaskClaimEvent(doc.id, asOk(doc))));

@@ -346,6 +346,13 @@ export class TaskClaiming {
       size,
       sort: SortByRunAtAndRetryAt,
       seq_no_primary_term: true,
+      aggs: {
+        delay: {
+          shard_delay: {
+            value: '40s',
+          },
+        },
+      },
     });

     return docs;
```
</details>

<details><summary>how to slow down update by queries</summary>
Not the cleanest way but you'll see occasional request timeouts from the
updateByQuery calls. I had more luck creating rules running every 1s.

```
diff --git a/x-pack/plugins/task_manager/server/task_store.ts b/x-pack/plugins/task_manager/server/task_store.ts
index a06ee7b918a..07aa81e5388 100644
--- a/x-pack/plugins/task_manager/server/task_store.ts
+++ b/x-pack/plugins/task_manager/server/task_store.ts
@@ -126,6 +126,7 @@ export class TaskStore {
       // Timeouts are retried and make requests timeout after (requestTimeout * (1 + maxRetries))
       // The poller doesn't need retry logic because it will try again at the next polling cycle
       maxRetries: 0,
+      requestTimeout: 900,
     });
   }

@@ -458,6 +459,7 @@ export class TaskStore {
           ignore_unavailable: true,
           refresh: true,
           conflicts: 'proceed',
+          requests_per_second: 1,
           body: {
             ...opts,
             max_docs,
```
</details>

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-05-03 09:33:10 -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
Nick Peihl
b692e347f4
[Dashboard Usability] Unified dashboard settings (#153862)
## Summary

Adds flyout for changing individual dashboard settings such as title,
description, tags, and save time with dashboard. This also moves the
existing dashboard options (show panel titles, sync colors, use margins,
sync cursor, and sync tooltips) into the flyout.

Fixes #144532

[Flaky test
runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2055)

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### For maintainers

- [ ] 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)
2023-03-31 09:52:51 -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