Skip to content

Commit f0ead1b

Browse files
committed
Merge branch 'master' into additional-metrics-for-kpi
2 parents 6bbc85e + bc14f24 commit f0ead1b

262 files changed

Lines changed: 6432 additions & 3861 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NOTE: This Dockerfile is ONLY used to run certain tasks in CI. It is not used to run Kibana or as a distributable.
22
# If you're looking for the Kibana Docker image distributable, please see: src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts
33

4-
ARG NODE_VERSION=14.16.0
4+
ARG NODE_VERSION=14.16.1
55

66
FROM node:${NODE_VERSION} AS base
77

.github/workflows/project-assigner.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ jobs:
1111
uses: elastic/github-actions/project-assigner@v2.0.0
1212
id: project_assigner
1313
with:
14-
issue-mappings: '[{"label": "Feature:Lens", "projectNumber": 32, "columnName": "Long-term goals"}, {"label": "Feature:Canvas", "projectNumber": 38, "columnName": "Inbox"}, {"label": "Feature:Dashboard", "projectNumber": 68, "columnName": "Inbox"}, {"label": "Feature:Drilldowns", "projectNumber": 68, "columnName": "Inbox"}], {"label": "Feature:Input Controls", "projectNumber": 72, "columnName": "Inbox"}]'
14+
issue-mappings: '[{"label": "Feature:Lens", "projectNumber": 32, "columnName": "Long-term goals"}, {"label": "Feature:Canvas", "projectNumber": 38, "columnName": "Inbox"}, {"label": "Feature:Dashboard", "projectNumber": 68, "columnName": "Inbox"}, {"label": "Feature:Drilldowns", "projectNumber": 68, "columnName": "Inbox"}, {"label": "Feature:Input Controls", "projectNumber": 72, "columnName": "Inbox"}]'
1515
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
16-
17-

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.16.0
1+
14.16.1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.16.0
1+
14.16.1

WORKSPACE.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ check_rules_nodejs_version(minimum_version_string = "3.2.3")
2727
# we can update that rule.
2828
node_repositories(
2929
node_repositories = {
30-
"14.16.0-darwin_amd64": ("node-v14.16.0-darwin-x64.tar.gz", "node-v14.16.0-darwin-x64", "14ec767e376d1e2e668f997065926c5c0086ec46516d1d45918af8ae05bd4583"),
31-
"14.16.0-linux_arm64": ("node-v14.16.0-linux-arm64.tar.xz", "node-v14.16.0-linux-arm64", "440489a08bfd020e814c9e65017f58d692299ac3f150c8e78d01abb1104c878a"),
32-
"14.16.0-linux_s390x": ("node-v14.16.0-linux-s390x.tar.xz", "node-v14.16.0-linux-s390x", "335348e46f45284b6356416ef58f85602d2dee99094588b65900f6c8839df77e"),
33-
"14.16.0-linux_amd64": ("node-v14.16.0-linux-x64.tar.xz", "node-v14.16.0-linux-x64", "2e079cf638766fedd720d30ec8ffef5d6ceada4e8b441fc2a093cb9a865f4087"),
34-
"14.16.0-windows_amd64": ("node-v14.16.0-win-x64.zip", "node-v14.16.0-win-x64", "716045c2f16ea10ca97bd04cf2e5ef865f9c4d6d677a9bc25e2ea522b594af4f"),
30+
"14.16.1-darwin_amd64": ("node-v14.16.1-darwin-x64.tar.gz", "node-v14.16.1-darwin-x64", "b762b72fc149629b7e394ea9b75a093cad709a9f2f71480942945d8da0fc1218"),
31+
"14.16.1-linux_arm64": ("node-v14.16.1-linux-arm64.tar.xz", "node-v14.16.1-linux-arm64", "b4d474e79f7d33b3b4430fad25c3f836b82ce2d5bb30d4a2c9fa20df027e40da"),
32+
"14.16.1-linux_s390x": ("node-v14.16.1-linux-s390x.tar.xz", "node-v14.16.1-linux-s390x", "af9982fef32e4a3e4a5d66741dcf30ac9c27613bd73582fa1dae1fb25003047a"),
33+
"14.16.1-linux_amd64": ("node-v14.16.1-linux-x64.tar.xz", "node-v14.16.1-linux-x64", "85a89d2f68855282c87851c882d4c4bbea4cd7f888f603722f0240a6e53d89df"),
34+
"14.16.1-windows_amd64": ("node-v14.16.1-win-x64.zip", "node-v14.16.1-win-x64", "e469db37b4df74627842d809566c651042d86f0e6006688f0f5fe3532c6dfa41"),
3535
},
36-
node_version = "14.16.0",
36+
node_version = "14.16.1",
3737
node_urls = [
3838
"https://nodejs.org/dist/v{version}/{filename}",
3939
],

docs/canvas/canvas-expression-lifecycle.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ Since all of the sub-expressions are now resolved into actual values, the <<imag
177177
demodata
178178
| image dataurl={
179179
if condition={getCell price | gte 100}
180-
then={asset 3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b}
181-
else={asset cbc11a1f-8f25-4163-94b4-2c3a060192e7}
180+
then={asset "asset-3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b"}
181+
else={asset "asset-cbc11a1f-8f25-4163-94b4-2c3a060192e7"}
182182
}
183183
----
184184

docs/canvas/canvas-function-reference.asciidoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,37 @@ Clears the _context_, and returns `null`.
376376
*Returns:* `null`
377377

378378

379+
[float]
380+
[[clog_fn]]
381+
=== `clog`
382+
383+
It outputs the _context_ in the console. This function is for debug purpose.
384+
385+
*Expression syntax*
386+
[source,js]
387+
----
388+
clog
389+
----
390+
391+
*Code example*
392+
[source,text]
393+
----
394+
filters
395+
| demodata
396+
| clog
397+
| filterrows fn={getCell "age" | gt 70}
398+
| clog
399+
| pointseries x="time" y="mean(price)"
400+
| plot defaultStyle={seriesStyle lines=1 fill=1}
401+
| render
402+
----
403+
This prints the `datatable` objects in the browser console before and after the `filterrows` function.
404+
405+
*Accepts:* `any`
406+
407+
*Returns:* `any`
408+
409+
379410
[float]
380411
[[columns_fn]]
381412
=== `columns`

docs/settings/alert-action-settings.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ You can configure the following settings in the `kibana.yml` file.
5959
| `xpack.actions.proxyUrl` {ess-icon}
6060
| Specifies the proxy URL to use, if using a proxy for actions. By default, no proxy is used.
6161

62+
| `xpack.actions.proxyBypassHosts` {ess-icon}
63+
| Specifies hostnames which should not use the proxy, if using a proxy for actions. The value is an array of hostnames as strings. By default, all hosts will use the proxy, but if an action's hostname is in this list, the proxy will not be used. The settings `xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts` cannot be used at the same time.
64+
65+
| `xpack.actions.proxyOnlyHosts` {ess-icon}
66+
| Specifies hostnames which should only use the proxy, if using a proxy for actions. The value is an array of hostnames as strings. By default, no hosts will use the proxy, but if an action's hostname is in this list, the proxy will be used. The settings `xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts` cannot be used at the same time.
67+
6268
| `xpack.actions.proxyHeaders` {ess-icon}
6369
| Specifies HTTP headers for the proxy, if using a proxy for actions. Defaults to {}.
6470

@@ -71,6 +77,13 @@ a|`xpack.actions.`
7177
+
7278
As an alternative to setting both `xpack.actions.proxyRejectUnauthorizedCertificates` and `xpack.actions.rejectUnauthorized`, you can point the OS level environment variable `NODE_EXTRA_CA_CERTS` to a file that contains the root CAs needed to trust certificates.
7379

80+
| `xpack.actions.maxResponseContentLength` {ess-icon}
81+
| Specifies the max number of bytes of the http response for requests to external resources. Defaults to 1000000 (1MB).
82+
83+
| `xpack.actions.responseTimeout` {ess-icon}
84+
| Specifies the time allowed for requests to external resources. Requests that take longer are aborted. The time is formatted as <count>[ms|s|m|h|d|w|M|Y], for example, '20m', '24h', '7d', '1w'. Defaults to 60s.
85+
86+
7487
|===
7588

7689
[float]

docs/setup/upgrade/upgrade-migrations.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ For large deployments with more than 10 {kib} instances and more than 10 000 sav
5050
==== Preventing migration failures
5151
This section highlights common causes of {kib} upgrade failures and how to prevent them.
5252

53+
[float]
54+
===== timeout_exception or receive_timeout_transport_exception
55+
There is a known issue in v7.12.0 for users who tried the fleet beta. Upgrade migrations fail because of a large number of documents in the `.kibana` index.
56+
57+
This can cause Kibana to log errors like:
58+
> Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Error: [receive_timeout_transport_exception]: [instance-0000000002][10.32.1.112:19541][cluster:monitor/task/get] request_id [2648] timed out after [59940ms]
59+
> Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Error: [timeout_exception]: Timed out waiting for completion of [org.elasticsearch.index.reindex.BulkByScrollTask@6a74c54]
60+
61+
See https://github.com/elastic/kibana/issues/95321 for instructions to work around this issue.
62+
5363
[float]
5464
===== Corrupt saved objects
5565
We highly recommend testing your {kib} upgrade in a development cluster to discover and remedy problems caused by corrupt documents, especially when there are custom integrations creating saved objects in your environment. Saved objects that were corrupted through manual editing or integrations will cause migration failures with a log message like `Failed to transform document. Transform: index-pattern:7.0.0\n Doc: {...}` or `Unable to migrate the corrupt Saved Object document ...`. Corrupt documents will have to be fixed or deleted before an upgrade migration can succeed.

docs/user/dashboard/timelion.asciidoc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,40 @@ If the value of your parameter contains spaces or commas you have to put the val
3333

3434
.es(q='some query', index=logstash-*)
3535

36+
[float]
37+
[[customize-data-series-y-axis]]
38+
===== .yaxis() function
39+
40+
{kib} supports many y-axis scales and ranges for your data series.
41+
42+
The `.yaxis()` function supports the following parameters:
43+
44+
* *yaxis* &mdash; The numbered y-axis to plot the series on. For example, use `.yaxis(2)` to display a second y-axis.
45+
* *min* &mdash; The minimum value for the y-axis range.
46+
* *max* &mdash; The maximum value for the y-axis range.
47+
* *position* &mdash; The location of the units. Values include `left` or `right`.
48+
* *label* &mdash; The label for the axis.
49+
* *color* &mdash; The color of the axis label.
50+
* *units* &mdash; The function to use for formatting the y-axis labels. Values include `bits`, `bits/s`, `bytes`, `bytes/s`, `currency(:ISO 4217 currency code)`, `percent`, and `custom(:prefix:suffix)`.
51+
* *tickDecimals* &mdash; The tick decimal precision.
52+
53+
Example:
54+
55+
[source,text]
56+
----------------------------------
57+
.es(index= kibana_sample_data_logs,
58+
timefield='@timestamp',
59+
metric='avg:bytes')
60+
.label('Average Bytes for request')
61+
.title('Memory consumption over time in bytes').yaxis(1,units=bytes,position=left), <1>
62+
.es(index= kibana_sample_data_logs,
63+
timefield='@timestamp',
64+
metric=avg:machine.ram)
65+
.label('Average Machine RAM amount').yaxis(2,units=bytes,position=right) <2>
66+
----------------------------------
67+
68+
<1> `.yaxis(1,units=bytes,position=left)` &mdash; Specifies the first y-axis for the first data series, and changes the units on the left.
69+
<2> `.yaxis(2,units=bytes,position=left)` &mdash; Specifies the second y-axis for the second data series, and changes the units on the right.
3670

3771
[float]
3872
==== Tutorial: Create visualizations with Timelion

0 commit comments

Comments
 (0)