Skip to content

Commit 1dc20a5

Browse files
authored
Merge branch 'master' into searchSource/serialize2
2 parents c6481cf + 0fcf75e commit 1dc20a5

File tree

1,152 files changed

+24926
-11965
lines changed

Some content is hidden

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

1,152 files changed

+24926
-11965
lines changed

.ci/Jenkinsfile_coverage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
library 'kibana-pipeline-library'
44
kibanaLibrary.load() // load from the Jenkins instance
55

6-
kibanaPipeline(timeoutMinutes: 240) {
6+
kibanaPipeline(timeoutMinutes: 300) {
77
catchErrors {
88
def timestamp = new Date(currentBuild.startTimeInMillis).format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone("UTC"))
99
withEnv([

.ci/es-snapshots/Jenkinsfile_verify_es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ currentBuild.description = "ES: ${SNAPSHOT_VERSION}<br />Kibana: ${params.branch
1919

2020
def SNAPSHOT_MANIFEST = "https://storage.googleapis.com/kibana-ci-es-snapshots-daily/${SNAPSHOT_VERSION}/archives/${SNAPSHOT_ID}/manifest.json"
2121

22-
kibanaPipeline(timeoutMinutes: 150) {
22+
kibanaPipeline(timeoutMinutes: 210) {
2323
catchErrors {
2424
slackNotifications.onFailure(
2525
title: "*<${env.BUILD_URL}|[${SNAPSHOT_VERSION}] ES Snapshot Verification Failure>*",

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ npm-debug.log*
6161
.ci/bash_standard_lib.sh
6262
.gradle
6363

64-
# apm plugin
65-
/x-pack/plugins/apm/tsconfig.json
66-
apm.tsconfig.json
6764
## @cypress/snapshot from apm plugin
6865
snapshots.js
6966

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
library 'kibana-pipeline-library'
44
kibanaLibrary.load()
55

6-
kibanaPipeline(timeoutMinutes: 155, checkPrChanges: true, setCommitStatus: true) {
6+
kibanaPipeline(timeoutMinutes: 210, checkPrChanges: true, setCommitStatus: true) {
77
slackNotifications.onFailure(disabled: !params.NOTIFY_ON_FAILURE) {
88
githubPr.withDefaultPrComments {
99
ciStats.trackBuild {

docs/development/core/server/kibana-plugin-core-server.loggingservicesetup.configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Customize the configuration for the plugins.data.search context.
3434
core.logging.configure(
3535
of({
3636
appenders: new Map(),
37-
loggers: [{ context: 'search', appenders: ['default'] }]
37+
loggers: [{ name: 'search', appenders: ['default'] }]
3838
})
3939
)
4040

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.idatapluginservices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ export interface IDataPluginServices extends Partial<CoreStart>
2121
| [savedObjects](./kibana-plugin-plugins-data-public.idatapluginservices.savedobjects.md) | <code>CoreStart['savedObjects']</code> | |
2222
| [storage](./kibana-plugin-plugins-data-public.idatapluginservices.storage.md) | <code>IStorageWrapper</code> | |
2323
| [uiSettings](./kibana-plugin-plugins-data-public.idatapluginservices.uisettings.md) | <code>CoreStart['uiSettings']</code> | |
24+
| [usageCollection](./kibana-plugin-plugins-data-public.idatapluginservices.usagecollection.md) | <code>UsageCollectionStart</code> | |
2425
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IDataPluginServices](./kibana-plugin-plugins-data-public.idatapluginservices.md) &gt; [usageCollection](./kibana-plugin-plugins-data-public.idatapluginservices.usagecollection.md)
4+
5+
## IDataPluginServices.usageCollection property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
usageCollection?: UsageCollectionStart;
11+
```

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<b>Signature:</b>
88

99
```typescript
10-
SearchBar: React.ComponentClass<Pick<Pick<SearchBarProps, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "intl" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "trackUiMetric" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated">, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "trackUiMetric" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated">, any> & {
11-
WrappedComponent: React.ComponentType<Pick<SearchBarProps, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "intl" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "trackUiMetric" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated"> & ReactIntl.InjectedIntlProps>;
10+
SearchBar: React.ComponentClass<Pick<Pick<SearchBarProps, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "intl" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated">, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated">, any> & {
11+
WrappedComponent: React.ComponentType<Pick<SearchBarProps, "query" | "isLoading" | "indexPatterns" | "filters" | "dataTestSubj" | "intl" | "refreshInterval" | "screenTitle" | "onRefresh" | "onRefreshChange" | "showQueryInput" | "showDatePicker" | "showAutoRefreshOnly" | "dateRangeFrom" | "dateRangeTo" | "isRefreshPaused" | "customSubmitButton" | "timeHistory" | "indicateNoData" | "onFiltersUpdated" | "savedQuery" | "showSaveQuery" | "onClearSavedQuery" | "showQueryBar" | "showFilterBar" | "onQueryChange" | "onQuerySubmit" | "onSaved" | "onSavedQueryUpdated"> & ReactIntl.InjectedIntlProps>;
1212
}
1313
```

docs/management/advanced-options.asciidoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,12 @@ Highlights results in *Discover* and saved searches on dashboards. Highlighting
258258
slows requests when working on big documents.
259259

260260
[[doctable-legacy]]`doc_table:legacy`::
261-
Control the way the Discover's table looks and works. Set this property to `true` to revert to the legacy implementation.
261+
Controls the way the document table looks and works. Set this property to `true` to revert to the legacy implementation.
262262

263+
[[discover-searchFieldsFromSource]]`discover:searchFieldsFromSource`::
264+
Load fields from the original JSON {ref}/mapping-source-field.html[`_source`].
265+
When disabled, *Discover* loads fields using the {es} search API's
266+
{ref}/search-fields.html#search-fields-param[`fields`] parameter.
263267

264268
[float]
265269
[[kibana-ml-settings]]

docs/settings/security-settings.asciidoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -356,26 +356,26 @@ To enable the <<xpack-security-ecs-audit-logging, ECS audit logger>>, specify wh
356356
[source,yaml]
357357
----------------------------------------
358358
xpack.security.audit.appender:
359-
kind: rolling-file
360-
path: ./audit.log
359+
type: rolling-file
360+
fileName: ./audit.log
361361
policy:
362-
kind: time-interval
362+
type: time-interval
363363
interval: 24h <1>
364364
strategy:
365-
kind: numeric
365+
type: numeric
366366
max: 10 <2>
367367
layout:
368-
kind: json
368+
type: json
369369
----------------------------------------
370370
<1> Rotates log files every 24 hours.
371371
<2> Keeps maximum of 10 log files before deleting older ones.
372372

373-
| `xpack.security.audit.appender.kind`
373+
| `xpack.security.audit.appender.type`
374374
| Required. Specifies where audit logs should be written to. Allowed values are `console`, `file`, or `rolling-file`.
375375

376376
Refer to <<audit-logging-file-appender>> and <<audit-logging-rolling-file-appender>> for appender specific settings.
377377

378-
| `xpack.security.audit.appender.layout.kind`
378+
| `xpack.security.audit.appender.layout.type`
379379
| Required. Specifies how audit logs should be formatted. Allowed values are `json` or `pattern`.
380380

381381
Refer to <<audit-logging-pattern-layout>> for layout specific settings.
@@ -396,7 +396,7 @@ The `file` appender writes to a file and can be configured using the following s
396396

397397
[cols="2*<"]
398398
|======
399-
| `xpack.security.audit.appender.path`
399+
| `xpack.security.audit.appender.fileName`
400400
| Required. Full file path the log file should be written to.
401401
|======
402402

@@ -408,14 +408,14 @@ The `rolling-file` appender writes to a file and rotates it using a rolling stra
408408

409409
[cols="2*<"]
410410
|======
411-
| `xpack.security.audit.appender.path`
411+
| `xpack.security.audit.appender.fileName`
412412
| Required. Full file path the log file should be written to.
413413

414-
| `xpack.security.audit.appender.policy.kind`
414+
| `xpack.security.audit.appender.policy.type`
415415
| Specifies when a rollover should occur. Allowed values are `size-limit` and `time-interval`. *Default:* `time-interval`.
416416

417417
Refer to <<audit-logging-size-limit-policy>> and <<audit-logging-time-interval-policy>> for policy specific settings.
418-
| `xpack.security.audit.appender.strategy.kind`
418+
| `xpack.security.audit.appender.strategy.type`
419419
| Specifies how the rollover should occur. Only allowed value is currently `numeric`. *Default:* `numeric`
420420

421421
Refer to <<audit-logging-numeric-strategy>> for strategy specific settings.

0 commit comments

Comments
 (0)