Skip to content

Commit 829a44c

Browse files
Merge branch '7.x' into backport/7.x/pr-65467
2 parents d07c10f + 4eb2cdf commit 829a44c

File tree

172 files changed

+4127
-1343
lines changed

Some content is hidden

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

172 files changed

+4127
-1343
lines changed

docs/canvas/canvas-elements.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ By default, most of the elements you create use demo data until you change the d
3131
[[canvas-add-object]]
3232
==== Add a saved object
3333

34-
Add a <<managing-saved-objects,saved object>>, such as a map or Lens visualization, then customize it to fit your display needs.
34+
Add a <<managing-saved-objects,saved object>>, then customize it to fit your display needs.
3535

3636
. Click *Embed object*.
3737

docs/development/core/server/kibana-plugin-core-server.savedobjectscorefieldmapping.fields.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
fields?: {
1111
[subfield: string]: {
1212
type: string;
13+
ignore_above?: number;
1314
};
1415
};
1516
```

docs/development/core/server/kibana-plugin-core-server.savedobjectscorefieldmapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface SavedObjectsCoreFieldMapping
1717
| Property | Type | Description |
1818
| --- | --- | --- |
1919
| [enabled](./kibana-plugin-core-server.savedobjectscorefieldmapping.enabled.md) | <code>boolean</code> | |
20-
| [fields](./kibana-plugin-core-server.savedobjectscorefieldmapping.fields.md) | <code>{</code><br/><code> [subfield: string]: {</code><br/><code> type: string;</code><br/><code> };</code><br/><code> }</code> | |
20+
| [fields](./kibana-plugin-core-server.savedobjectscorefieldmapping.fields.md) | <code>{</code><br/><code> [subfield: string]: {</code><br/><code> type: string;</code><br/><code> ignore_above?: number;</code><br/><code> };</code><br/><code> }</code> | |
2121
| [index](./kibana-plugin-core-server.savedobjectscorefieldmapping.index.md) | <code>boolean</code> | |
2222
| [null\_value](./kibana-plugin-core-server.savedobjectscorefieldmapping.null_value.md) | <code>number &#124; boolean &#124; string</code> | |
2323
| [type](./kibana-plugin-core-server.savedobjectscorefieldmapping.type.md) | <code>string</code> | |
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-core-server](./kibana-plugin-core-server.md) &gt; [SavedObjectsMigrationLogger](./kibana-plugin-core-server.savedobjectsmigrationlogger.md) &gt; [error](./kibana-plugin-core-server.savedobjectsmigrationlogger.error.md)
4+
5+
## SavedObjectsMigrationLogger.error property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
error: (msg: string, meta: LogMeta) => void;
11+
```

docs/development/core/server/kibana-plugin-core-server.savedobjectsmigrationlogger.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface SavedObjectsMigrationLogger
1616
| Property | Type | Description |
1717
| --- | --- | --- |
1818
| [debug](./kibana-plugin-core-server.savedobjectsmigrationlogger.debug.md) | <code>(msg: string) =&gt; void</code> | |
19+
| [error](./kibana-plugin-core-server.savedobjectsmigrationlogger.error.md) | <code>(msg: string, meta: LogMeta) =&gt; void</code> | |
1920
| [info](./kibana-plugin-core-server.savedobjectsmigrationlogger.info.md) | <code>(msg: string) =&gt; void</code> | |
2021
| [warn](./kibana-plugin-core-server.savedobjectsmigrationlogger.warn.md) | <code>(msg: string) =&gt; void</code> | |
2122
| [warning](./kibana-plugin-core-server.savedobjectsmigrationlogger.warning.md) | <code>(msg: string) =&gt; void</code> | |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [IIndexPattern](./kibana-plugin-plugins-data-server.iindexpattern.md) &gt; [getTimeField](./kibana-plugin-plugins-data-server.iindexpattern.gettimefield.md)
4+
5+
## IIndexPattern.getTimeField() method
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
getTimeField?(): IFieldType | undefined;
11+
```
12+
<b>Returns:</b>
13+
14+
`IFieldType | undefined`
15+

docs/user/plugins.asciidoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,17 @@ $ bin/kibana-plugin install x-pack
3333
=== Install plugins from an arbitrary URL
3434

3535
You can download official Elastic plugins simply by specifying their name. You
36-
can alternatively specify a URL to a specific plugin, as in the following
37-
example:
36+
can alternatively specify a URL or file path to a specific plugin, as in the following
37+
examples:
3838

3939
["source","shell",subs="attributes"]
4040
$ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-{version}.zip
4141

42+
or
43+
44+
["source","shell",subs="attributes"]
45+
$ bin/kibana-plugin install file:///local/path/to/custom_plugin.zip
46+
4247
You can specify URLs that use the HTTP, HTTPS, or `file` protocols.
4348

4449
[float]

src/core/server/saved_objects/mappings/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export interface SavedObjectsCoreFieldMapping {
137137
fields?: {
138138
[subfield: string]: {
139139
type: string;
140+
ignore_above?: number;
140141
};
141142
};
142143
}

src/core/server/saved_objects/migrations/core/document_migrator.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ describe('DocumentMigrator', () => {
293293
migrationVersion: { dog: '10.2.0' },
294294
})
295295
).toThrow(
296-
/Document "smelly" has property "dog" which belongs to a more recent version of Kibana \(10\.2\.0\)/i
296+
/Document "smelly" has property "dog" which belongs to a more recent version of Kibana \[10\.2\.0\]\. The last known version is \[undefined\]/i
297297
);
298298
});
299299

@@ -315,7 +315,7 @@ describe('DocumentMigrator', () => {
315315
migrationVersion: { dawg: '1.2.4' },
316316
})
317317
).toThrow(
318-
/Document "fleabag" has property "dawg" which belongs to a more recent version of Kibana \(1\.2\.4\)/i
318+
/Document "fleabag" has property "dawg" which belongs to a more recent version of Kibana \[1\.2\.4\]\. The last known version is \[1\.2\.3\]/i
319319
);
320320
});
321321

src/core/server/saved_objects/migrations/core/document_migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ function nextUnmigratedProp(doc: SavedObjectUnsanitizedDoc, migrations: ActiveMi
350350
if (docVersion && (!latestVersion || Semver.gt(docVersion, latestVersion))) {
351351
throw Boom.badData(
352352
`Document "${doc.id}" has property "${p}" which belongs to a more recent` +
353-
` version of Kibana (${docVersion}).`,
353+
` version of Kibana [${docVersion}]. The last known version is [${latestVersion}]`,
354354
doc
355355
);
356356
}

0 commit comments

Comments
 (0)