forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into alerting/empty-list
* master: (55 commits) Update dependency @elastic/charts to v18.1.0 (elastic#60578) Only set timezone when user setting is a valid timezone (elastic#57850) [NP] Remove `ui/agg_types` dependencies and move paginated table to kibana_legacy (elastic#60276) [SIEM] Fix types in rules tests (elastic#60736) [Alerting] prevent flickering when fields are updated in an alert (elastic#60666) License checks for actions plugin (elastic#59070) Implemented ability to clear and properly validate alert interval (elastic#60571) WebElementWrapper: add findByTestSubject/findAllByTestSubject to search with data-test-subj (elastic#60568) [Maps] Update layer dependencies to NP (elastic#59585) [Discover] Remove StateManagementConfigProvider (elastic#60221) [ML] Listing all categorization wizard checks (elastic#60502) [Upgrade Assistant] First iteration of batch reindex docs (elastic#59887) [SIEM] Export timeline (elastic#58368) [SIEM] Add support for actions and throttle in Rules (elastic#59641) Fix ace a11y listener (elastic#60639) Add addInfo toast to core notifications service (elastic#60574) fix test description (elastic#60638) [SIEM] Cypress screenshots upload to google cloud (elastic#60556) [canvas/shareable_runtime] sync sass loaders with kbn/optimizer (elastic#60653) [SIEM] Fixes Modification of ML Rules (elastic#60662) ...
- Loading branch information
Showing
1,023 changed files
with
24,389 additions
and
10,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[[batch-reindex-queue]] | ||
=== Batch reindex queue API | ||
++++ | ||
<titleabbrev>Batch reindex queue</titleabbrev> | ||
++++ | ||
|
||
experimental["The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental."] | ||
|
||
Check the current reindex batch queue. | ||
|
||
[[batch-reindex-queue-request]] | ||
==== Request | ||
|
||
`GET /api/upgrade_assistant/reindex/batch/queue` | ||
|
||
[[batch-reindex-queue-request-codes]] | ||
==== Response code | ||
|
||
`200`:: | ||
Indicates a successful call. | ||
|
||
[[batch-reindex-queue-example]] | ||
==== Example | ||
|
||
The API returns the following: | ||
|
||
[source,js] | ||
-------------------------------------------------- | ||
{ | ||
"queue": [ <1> | ||
{ | ||
"indexName": "index1", | ||
"newIndexName": "reindexed-v8-index2", | ||
"status": 3, | ||
"lastCompletedStep": 0, | ||
"locked": null, | ||
"reindexTaskId": null, | ||
"reindexTaskPercComplete": null, | ||
"errorMessage": null, | ||
"runningReindexCount": null, | ||
"reindexOptions": { | ||
"queueSettings": { | ||
"queuedAt": 1583406985489 | ||
} | ||
} | ||
}, | ||
{ | ||
"indexName": "index2", | ||
"newIndexName": "reindexed-v8-index2", | ||
"status": 3, | ||
"lastCompletedStep": 0, | ||
"locked": null, | ||
"reindexTaskId": null, | ||
"reindexTaskPercComplete": null, | ||
"errorMessage": null, | ||
"runningReindexCount": null, | ||
"reindexOptions": { | ||
"queueSettings": { | ||
"queuedAt": 1583406987334 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
-------------------------------------------------- | ||
|
||
<1> Items in this array indicate reindex tasks at a given point in time and the order in which they will be executed. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[[batch-start-resume-reindex]] | ||
=== Batch start or resume reindex API | ||
++++ | ||
<titleabbrev>Batch start or resume reindex</titleabbrev> | ||
++++ | ||
|
||
experimental["The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental."] | ||
|
||
Start or resume multiple reindexing tasks in one request. Additionally, reindexing tasks started or resumed | ||
via the batch endpoint will be placed on a queue and executed one-by-one, which ensures that minimal cluster resources | ||
are consumed over time. | ||
|
||
[[batch-start-resume-reindex-request]] | ||
==== Request | ||
|
||
`POST /api/upgrade_assistant/reindex/batch` | ||
|
||
[[batch-start-resume-reindex-request-body]] | ||
==== Request body | ||
|
||
`indexNames`:: | ||
(Required, array) The list of index names to be reindexed. | ||
|
||
[[batch-start-resume-reindex-codes]] | ||
==== Response code | ||
|
||
`200`:: | ||
Indicates a successful call. | ||
|
||
[[batch-start-resume-example]] | ||
==== Example | ||
|
||
[source,js] | ||
-------------------------------------------------- | ||
POST /api/upgrade_assistant/reindex/batch | ||
{ | ||
"indexNames": [ <1> | ||
"index1", | ||
"index2" | ||
] | ||
} | ||
-------------------------------------------------- | ||
<1> The order in which the indices are provided here determines the order in which the reindex tasks will be executed. | ||
|
||
Similar to the <<start-resume-reindex, start or resume endpoint>>, the API returns the following: | ||
|
||
[source,js] | ||
-------------------------------------------------- | ||
{ | ||
"enqueued": [ <1> | ||
{ | ||
"indexName": "index1", | ||
"newIndexName": "reindexed-v8-index1", | ||
"status": 3, | ||
"lastCompletedStep": 0, | ||
"locked": null, | ||
"reindexTaskId": null, | ||
"reindexTaskPercComplete": null, | ||
"errorMessage": null, | ||
"runningReindexCount": null, | ||
"reindexOptions": { <2> | ||
"queueSettings": { | ||
"queuedAt": 1583406985489 <3> | ||
} | ||
} | ||
} | ||
], | ||
"errors": [ <4> | ||
{ | ||
"indexName": "index2", | ||
"message": "Something went wrong!" | ||
} | ||
] | ||
} | ||
-------------------------------------------------- | ||
|
||
<1> A list of reindex operations created, the order in the array indicates the order in which tasks will be executed. | ||
<2> Presence of this key indicates that the reindex job will occur in the batch. | ||
<3> A Unix timestamp of when the reindex task was placed in the queue. | ||
<4> A list of errors that may have occurred preventing the reindex task from being created. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
docs/development/core/public/kibana-plugin-core-public.toastoptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [ToastOptions](./kibana-plugin-core-public.toastoptions.md) | ||
|
||
## ToastOptions interface | ||
|
||
Options available for [IToasts](./kibana-plugin-core-public.itoasts.md) APIs. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ToastOptions | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [toastLifeTimeMs](./kibana-plugin-core-public.toastoptions.toastlifetimems.md) | <code>number</code> | How long should the toast remain on screen. | | ||
|
13 changes: 13 additions & 0 deletions
13
...velopment/core/public/kibana-plugin-core-public.toastoptions.toastlifetimems.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [ToastOptions](./kibana-plugin-core-public.toastoptions.md) > [toastLifeTimeMs](./kibana-plugin-core-public.toastoptions.toastlifetimems.md) | ||
|
||
## ToastOptions.toastLifeTimeMs property | ||
|
||
How long should the toast remain on screen. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
toastLifeTimeMs?: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
docs/development/core/public/kibana-plugin-core-public.toastsapi.addinfo.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [ToastsApi](./kibana-plugin-core-public.toastsapi.md) > [addInfo](./kibana-plugin-core-public.toastsapi.addinfo.md) | ||
|
||
## ToastsApi.addInfo() method | ||
|
||
Adds a new toast pre-configured with the info color and info icon. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
addInfo(toastOrTitle: ToastInput, options?: ToastOptions): Toast; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| toastOrTitle | <code>ToastInput</code> | a [ToastInput](./kibana-plugin-core-public.toastinput.md) | | ||
| options | <code>ToastOptions</code> | a [ToastOptions](./kibana-plugin-core-public.toastoptions.md) | | ||
|
||
<b>Returns:</b> | ||
|
||
`Toast` | ||
|
||
a [Toast](./kibana-plugin-core-public.toast.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.