# Backport
This will backport the following commits from `main` to `7.17`:
- [Fix documentation for session lifespan default
(#198065)](https://github.com/elastic/kibana/pull/198065)
<!--- Backport version: 8.9.8 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Larry
Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2024-10-28T18:01:56Z","message":"Fix
documentation for session lifespan default (#198065)\n\nThis pull
request includes an update to
the\r\n`docs/settings/security-settings.asciidoc` file to clarify the
default\r\nsession lifespan settings for different installation
environments.\r\n\r\nDocumentation
update:\r\n\r\n*\r\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\r\nClarified
that the default session lifespan is 30 days for
on-prem\r\ninstallations and 24 hours for Elastic Cloud
installations.","sha":"7ab51231e38a6d074d08cd92606988c591c24017","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","docs","backport:all-open","v8.16.0","v8.17.0","v8.15.4"],"number":198065,"url":"https://github.com/elastic/kibana/pull/198065","mergeCommit":{"message":"Fix
documentation for session lifespan default (#198065)\n\nThis pull
request includes an update to
the\r\n`docs/settings/security-settings.asciidoc` file to clarify the
default\r\nsession lifespan settings for different installation
environments.\r\n\r\nDocumentation
update:\r\n\r\n*\r\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\r\nClarified
that the default session lifespan is 30 days for
on-prem\r\ninstallations and 24 hours for Elastic Cloud
installations.","sha":"7ab51231e38a6d074d08cd92606988c591c24017"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198065","number":198065,"mergeCommit":{"message":"Fix
documentation for session lifespan default (#198065)\n\nThis pull
request includes an update to
the\r\n`docs/settings/security-settings.asciidoc` file to clarify the
default\r\nsession lifespan settings for different installation
environments.\r\n\r\nDocumentation
update:\r\n\r\n*\r\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\r\nClarified
that the default session lifespan is 30 days for
on-prem\r\ninstallations and 24 hours for Elastic Cloud
installations.","sha":"7ab51231e38a6d074d08cd92606988c591c24017"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/198069","number":198069,"state":"MERGED","mergeCommit":{"sha":"8c36e4a484b5c9879d3b7d173c38cb953e9b4b08","message":"[8.16]
Fix documentation for session lifespan default (#198065) (#198069)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.16`:\n- [Fix documentation for session lifespan
default\n(#198065)](https://github.com/elastic/kibana/pull/198065)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Larry\nGregory\",\"email\":\"larry.gregory@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-28T18:01:56Z\",\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Security\",\"release_note:skip\",\"v9.0.0\",\"docs\",\"backport:all-open\"],\"title\":\"Fix\ndocumentation
for session
lifespan\ndefault\",\"number\":198065,\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"number\":198065,\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Larry Gregory
<larry.gregory@elastic.co>"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/198070","number":198070,"state":"MERGED","mergeCommit":{"sha":"25795fe2ab5df586fd781642ee9dbfc59c198e9e","message":"[8.x]
Fix documentation for session lifespan default (#198065) (#198070)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [Fix documentation for session lifespan
default\n(#198065)](https://github.com/elastic/kibana/pull/198065)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Larry\nGregory\",\"email\":\"larry.gregory@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-28T18:01:56Z\",\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Security\",\"release_note:skip\",\"v9.0.0\",\"docs\",\"backport:all-open\"],\"title\":\"Fix\ndocumentation
for session
lifespan\ndefault\",\"number\":198065,\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"number\":198065,\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Larry Gregory
<larry.gregory@elastic.co>"}},{"branch":"8.15","label":"v8.15.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/198068","number":198068,"state":"MERGED","mergeCommit":{"sha":"76dfd876288f32f3b984de6c8c9d44f95737fa18","message":"[8.15]
Fix documentation for session lifespan default (#198065) (#198068)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.15`:\n- [Fix documentation for session lifespan
default\n(#198065)](https://github.com/elastic/kibana/pull/198065)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Larry\nGregory\",\"email\":\"larry.gregory@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-28T18:01:56Z\",\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Security\",\"release_note:skip\",\"v9.0.0\",\"docs\",\"backport:all-open\"],\"title\":\"Fix\ndocumentation
for session
lifespan\ndefault\",\"number\":198065,\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/198065\",\"number\":198065,\"mergeCommit\":{\"message\":\"Fix\ndocumentation
for session lifespan default (#198065)\\n\\nThis pull\nrequest includes
an update to\nthe\\r\\n`docs/settings/security-settings.asciidoc` file
to clarify the\ndefault\\r\\nsession lifespan settings for different
installation\nenvironments.\\r\\n\\r\\nDocumentation\nupdate:\\r\\n\\r\\n*\\r\\n[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):\\r\\nClarified\nthat
the default session lifespan is 30 days for\non-prem\\r\\ninstallations
and 24 hours for Elastic
Cloud\ninstallations.\",\"sha\":\"7ab51231e38a6d074d08cd92606988c591c24017\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Larry Gregory <larry.gregory@elastic.co>"}}]}] BACKPORT-->
# Backport
This will backport the following commits from `main` to `7.17`:
- [[DOCS] Add examples for `proxyBypassHosts` and `proxyOnlyHosts`
settings (#164981)](https://github.com/elastic/kibana/pull/164981)
<!--- 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-29T20:13:27Z","message":"[DOCS]
Add examples for `proxyBypassHosts` and `proxyOnlyHosts` settings
(#164981)\n\nAdds example values for the
`xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts`
settings.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/139560","sha":"00853534c8be36feebb4eac05039a73074268025","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorsManagement","v8.10.0","v7.17.13","v8.11.0","v8.9.2"],"number":164981,"url":"https://github.com/elastic/kibana/pull/164981","mergeCommit":{"message":"[DOCS]
Add examples for `proxyBypassHosts` and `proxyOnlyHosts` settings
(#164981)\n\nAdds example values for the
`xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts`
settings.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/139560","sha":"00853534c8be36feebb4eac05039a73074268025"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","7.17","8.9"],"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/164981","number":164981,"mergeCommit":{"message":"[DOCS]
Add examples for `proxyBypassHosts` and `proxyOnlyHosts` settings
(#164981)\n\nAdds example values for the
`xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts`
settings.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/139560","sha":"00853534c8be36feebb4eac05039a73074268025"}},{"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>
# Backport
This will backport the following commits from `main` to `7.17`:
- [docs: remove `xpack.apm.searchAggregatedTransactions`
(#149896)](https://github.com/elastic/kibana/pull/149896)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Brandon
Morelli","email":"brandon.morelli@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T22:33:03Z","message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.7.0","v7.17.9","v8.6.2"],"number":149896,"url":"https://github.com/elastic/kibana/pull/149896","mergeCommit":{"message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c"}},"sourceBranch":"main","suggestedTargetBranches":["7.17"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149896","number":149896,"mergeCommit":{"message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c"}},{"branch":"7.17","label":"v7.17.9","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/149901","number":149901,"state":"OPEN"}]}]
BACKPORT-->
* Adds new proxy tests and manual proxy tester (#138071)
The new proxy tests added can test a variety of different proxy
and target server configurations, however many of those tests
are broken with our current proxy agents. Hopefully to be fixed
by replacing with hpagent instead. In the meantime, we wanted to
get the basic test framework in as well.
In addition to tests, the stand-alone forward proxy has been
enhanced to use a better proxy server, `proxy`. The existing
proxy server `http-proxy` does not support HTTPS out of the box,
and so any HTTPS testing with it is going to be a little sketchy.
Using the stand-alone forward proxy, I was able to post to Slack
through http/https proxies with and without auth, with
proxyRequestUnauthorized set to false. Which shows the existing
proxy agents do work in _some_ environments.
(cherry picked from commit 9631649e72)
# Conflicts:
# package.json
# x-pack/plugins/actions/server/builtin_action_types/lib/axios_utils_connection.test.ts
# yarn.lock
* fix backport changes
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
resolves https://github.com/elastic/kibana/issues/126944
Adds a new configuration setting for the actions plugin,
xpack.actions.email.domain_allowlist, which is an array of domain name
strings which are allowed to be sent emails by the email connector.
backport of https://github.com/elastic/kibana/pull/129001
* additional changes after merge conflicts during cherry pick for backport
resolves https://github.com/elastic/kibana/issues/124366
Adds new task manager configuration keys.
- `xpack.task_manager.event_loop_delay.monitor` - whether to monitor
event loop delay or not; added in case this specific monitoring
causes other issues and we'd want to disable it. We don't know
of any cases where we'd need this today
- `xpack.task_manager.event_loop_delay.warn_threshold` - the number
of milliseconds of event loop delay before logging a warning
This code uses the `perf_hooks.monitorEventLoopDelay()` API[1] to collect
the event loop delay while a task is running.
[1] https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions
When a significant event loop delay is encountered, it's very likely
that other tasks running at the same time will be affected, and so
will also end up having a long event loop delay value, and warnings
will be logged on those. Over time, though, tasks which have consistently
long event loop delays will outnumber those unfortunate peer tasks, and
be obvious from the volume in the logs.
To make it a bit easier to find these when viewing Kibana logs in Discover,
tags are added to the logged messages to make it easier to find them. One
tag is `event-loop-blocked`, second is the task type, and the third is a string
consisting of the task type and task id.
* Handle ID's for preconfigured package policies
- For Fleet's default policies, add a hard-coded ID to the generated
package policies
- Require an ID value for all preconfigured package policies
Resolves#120612
* Add required package_policies.id field to docs
* Specify that id is unique in docs
* Tweak docs
* Fall back to UUID value if no preconfigured ID
* Fix default fleet server policy id
# Conflicts:
# x-pack/plugins/fleet/server/services/agent_policy.ts
# x-pack/plugins/fleet/server/types/models/preconfiguration.ts
* [DOCS] document missing value for Microsoft Teams action
[DOCS] document missing value for Microsoft Teams action for xpack.actions.enabledActionTypes config.
eg: xpack.actions.enabledActionTypes: ['.email','.teams']
* include the full list of possible values
* Update docs/settings/alert-action-settings.asciidoc
LGTM
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* commit using @elastic.co
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Peter Dyson <peter.dyson@geekpete.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Improved the doc on the Kibana config for actions customHostSettings
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: ymao1 <ying.mao@elastic.co>