Skip to content

Commit 1aac02f

Browse files
Merge branch '7.8' into backport/7.8/pr-66685
2 parents ac61771 + 6bdb7b1 commit 1aac02f

File tree

16 files changed

+133
-26
lines changed

16 files changed

+133
-26
lines changed

docs/settings/ml-settings.asciidoc

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
++++
77

88
You do not need to configure any settings to use {kib} {ml-features}. They are
9-
enabled by default.
9+
enabled by default.
1010

1111
[[general-ml-settings-kb]]
1212
==== General {ml} settings
1313

1414
[cols="2*<"]
1515
|===
16-
| `xpack.ml.enabled`
16+
| `xpack.ml.enabled` {ess-icon}
1717
| Set to `true` (default) to enable {kib} {ml-features}. +
1818
+
1919
If set to `false` in `kibana.yml`, the {ml} icon is hidden in this {kib}
@@ -23,13 +23,7 @@ enabled by default.
2323

2424
|===
2525

26-
[[data-visualizer-settings]]
27-
==== {data-viz} settings
26+
[[advanced-ml-settings-kb]]
27+
==== Advanced {ml} settings
2828

29-
[cols="2*<"]
30-
|===
31-
| `xpack.ml.file_data_visualizer.max_file_size`
32-
| Sets the file size limit when importing data in the {data-viz}. The default
33-
value is `100MB`. The highest supported value for this setting is `1GB`.
34-
35-
|===
29+
Refer to <<kibana-ml-settings,Advanced {ml} settings in {kib}>>.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
"chai": "3.5.0",
402402
"chance": "1.0.18",
403403
"cheerio": "0.22.0",
404-
"chromedriver": "^81.0.0",
404+
"chromedriver": "^83.0.0",
405405
"classnames": "2.2.6",
406406
"dedent": "^0.7.0",
407407
"delete-empty": "^2.0.0",

src/core/server/path/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const CONFIG_PATHS = [
2828
process.env.KIBANA_PATH_CONF && join(process.env.KIBANA_PATH_CONF, 'kibana.yml'),
2929
process.env.CONFIG_PATH, // deprecated
3030
fromRoot('config/kibana.yml'),
31-
'/etc/kibana/kibana.yml',
3231
].filter(isString);
3332

3433
const DATA_PATHS = [

src/dev/build/tasks/os_packages/service_templates/sysv/etc/default/kibana

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ nice=""
1111
KILL_ON_STOP_TIMEOUT=0
1212

1313
BABEL_CACHE_PATH="/var/lib/kibana/optimize/.babel_register_cache.json"
14+
15+
KIBANA_PATH_CONF="/etc/kibana"

src/dev/build/tasks/os_packages/service_templates/sysv/etc/init.d/kibana

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pidfile="/var/run/$name.pid"
2323
[ -r /etc/default/$name ] && . /etc/default/$name
2424
[ -r /etc/sysconfig/$name ] && . /etc/sysconfig/$name
2525

26+
export KIBANA_PATH_CONF
2627
export NODE_OPTIONS
2728

2829
[ -z "$nice" ] && nice=0

src/dev/ci_setup/setup_env.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,17 @@ export GECKODRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfuncti
128128
export CHROMEDRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache"
129129
export CYPRESS_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/cypress"
130130

131-
132131
export CHECKS_REPORTER_ACTIVE=false
133132

133+
# This is mainly for release-manager builds, which run in an environment that doesn't have Chrome installed
134+
if [[ "$(which google-chrome-stable)" || "$(which google-chrome)" ]]; then
135+
echo "Chrome detected, setting DETECT_CHROMEDRIVER_VERSION=true"
136+
export DETECT_CHROMEDRIVER_VERSION=true
137+
export CHROMEDRIVER_FORCE_DOWNLOAD=true
138+
else
139+
echo "Chrome not detected, installing default chromedriver binary for the package version"
140+
fi
141+
134142
### only run on pr jobs for elastic/kibana, checks-reporter doesn't work for other repos
135143
if [[ "$ghprbPullId" && "$ghprbGhRepository" == 'elastic/kibana' ]] ; then
136144
export CHECKS_REPORTER_ACTIVE=true
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"update_by_query": {
3+
"data_autocomplete_rules": {
4+
"conflicts": "",
5+
"query": {
6+
"__scope_link": "GLOBAL.query"
7+
},
8+
"script": {
9+
"__template": {
10+
"source": "",
11+
"lang": "painless"
12+
},
13+
"__scope_link": "GLOBAL.script"
14+
}
15+
}
16+
}
17+
}

x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body.canvas-isFullscreen { // sass-lint:disable-line no-qualifying-elements
2-
// following two rules are for overriding the header bar padding
2+
// following two rules are for overriding the header bar padding
33
&.euiBody--headerIsFixed {
44
padding-top: 0;
55
}
@@ -8,6 +8,12 @@ body.canvas-isFullscreen { // sass-lint:disable-line no-qualifying-elements
88
min-height: 100vh;
99
}
1010

11+
// following rule is for docked navigation
12+
&.euiBody--collapsibleNavIsDocked {
13+
padding-left: 0 !important; // sass-lint:disable-line no-important
14+
}
15+
16+
1117
// hide global loading indicator
1218
.kbnLoadingIndicator {
1319
display: none;

x-pack/plugins/index_lifecycle_management/public/application/services/api.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export async function loadIndexTemplates() {
2828
}
2929

3030
export async function loadPolicies(withIndices) {
31-
const query = withIndices ? '?withIndices=true' : '';
32-
return await sendGet('policies', query);
31+
return await sendGet('policies', { withIndices });
3332
}
3433

3534
export async function savePolicy(policy) {

x-pack/plugins/lens/server/usage/task.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import { APICaller, CoreSetup, Logger } from 'kibana/server';
88
import { Observable } from 'rxjs';
9+
import { first } from 'rxjs/operators';
910
import moment from 'moment';
1011
import {
1112
RunContext,
@@ -191,7 +192,7 @@ export function telemetryTaskRunner(
191192

192193
return {
193194
async run() {
194-
const kibanaIndex = (await config.toPromise()).kibana.index;
195+
const kibanaIndex = (await config.pipe(first()).toPromise()).kibana.index;
195196

196197
return Promise.all([
197198
getDailyEvents(kibanaIndex, callCluster),

0 commit comments

Comments
 (0)