Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Add support for per-partition categorization jobs #74592

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5cb13f5
[ML] Add option to add per-partition categorization for cat jobs
qn895 Aug 3, 2020
6a3e91f
[ML] Add per partition endpoints for categorizer_stats and stopped_pa…
qn895 Aug 6, 2020
283db47
[ML] Add callout on AE page if there's a stopped partition
qn895 Aug 6, 2020
9b513cf
[ML] Add schema to get stopped_partitions for multiple jobs
qn895 Aug 6, 2020
10746ca
[ML] Add support for per-partition advanced categorization wizard
qn895 Aug 6, 2020
ae61c2a
[ML] Remove unused getStoppedPartitionsSchema
qn895 Aug 6, 2020
ad453e3
[ML] Fix so if cat detector changes type it will accommodate partitio…
qn895 Aug 6, 2020
cbb857c
[ML] Update query size for stopped_partition to 0 since it's unused
qn895 Aug 6, 2020
5aaf226
[ML] Fix random anomalyExplorerLabel
qn895 Aug 6, 2020
32a5ded
Merge remote-tracking branch 'upstream/master' into categorization-pe…
qn895 Aug 10, 2020
1591562
[ML] Move logic to results service from anomaly_detectors
qn895 Aug 10, 2020
a35ec15
[ML] Fix untranslated strings
qn895 Aug 10, 2020
abe77e7
[ML] Refactor core logic to Results model
qn895 Aug 10, 2020
f0a3cf4
[ML] Update callAsInternalUser and text descriptions
qn895 Aug 10, 2020
5ddeaab
[ML] Update callAsInternalUser and text descriptions, refactor to sup…
qn895 Aug 10, 2020
98bb431
[ML] Update callAsInternalUser and text descriptions, refactor to sup…
qn895 Aug 10, 2020
9ca076b
[ML] Update namings and expect for partition field
qn895 Aug 11, 2020
ddb2fd8
[ML] Change job_id and partition_field to constants, refactor shape
qn895 Aug 11, 2020
bb698b6
[ML] Update tests to reflect API changes
qn895 Aug 11, 2020
1f3c5ec
Merge remote-tracking branch 'upstream/master' into categorization-pe…
qn895 Aug 11, 2020
e796419
[ML] init tabs
darnautov Aug 11, 2020
02e17b3
[ML] init inference API service in UI
darnautov Aug 12, 2020
6620328
[ML] server-side routes
darnautov Aug 12, 2020
646ef99
[ML] basic table
darnautov Aug 12, 2020
a94ecaf
[ML] Update naming and refactor context
qn895 Aug 12, 2020
621d3c5
[ML] Change i18n to FormattedMessage
qn895 Aug 12, 2020
0a813e1
[ML] Remove this._partitionField
qn895 Aug 12, 2020
3686b73
[ML] Fix type errors
qn895 Aug 12, 2020
c5a56ca
[ML] support deletion
darnautov Aug 13, 2020
3801a38
[ML] delete multiple models
darnautov Aug 13, 2020
dd2f28c
[ML] WIP expanded row
darnautov Aug 13, 2020
96e6919
[ML] fix types
darnautov Aug 13, 2020
976b46a
[ML] expanded row
darnautov Aug 13, 2020
043f4f2
[ML] fix types
darnautov Aug 13, 2020
b48cda6
[ML] Change advanced wizard to not have the dropdown per partition field
qn895 Aug 13, 2020
5298fb3
Merge remote-tracking branch 'upstream/master' into categorization-pe…
qn895 Aug 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ export interface IEsSearchResponse extends IKibanaSearchResponse

| Property | Type | Description |
| --- | --- | --- |
| [isPartial](./kibana-plugin-plugins-data-public.iessearchresponse.ispartial.md) | <code>boolean</code> | Indicates whether the results returned are complete or partial |
| [isRunning](./kibana-plugin-plugins-data-public.iessearchresponse.isrunning.md) | <code>boolean</code> | Indicates whether async search is still in flight |
| [rawResponse](./kibana-plugin-plugins-data-public.iessearchresponse.rawresponse.md) | <code>SearchResponse&lt;any&gt;</code> | |

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
export declare type ISearchGeneric = (request: IEsSearchRequest, options?: ISearchOptions) => Observable<IEsSearchResponse>;
export declare type ISearchGeneric = (request: IEsSearchRequest, options?: IStrategyOptions) => Observable<IEsSearchResponse>;
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ export interface ISearchOptions
| Property | Type | Description |
| --- | --- | --- |
| [signal](./kibana-plugin-plugins-data-public.isearchoptions.signal.md) | <code>AbortSignal</code> | |
| [strategy](./kibana-plugin-plugins-data-public.isearchoptions.strategy.md) | <code>string</code> | |

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<b>Signature:</b>

```typescript
protected runSearch(request: IEsSearchRequest, signal: AbortSignal, strategy?: string): Observable<IEsSearchResponse>;
protected runSearch(request: IEsSearchRequest, signal: AbortSignal): Observable<IEsSearchResponse>;
```

## Parameters
Expand All @@ -16,7 +16,6 @@ protected runSearch(request: IEsSearchRequest, signal: AbortSignal, strategy?: s
| --- | --- | --- |
| request | <code>IEsSearchRequest</code> | |
| signal | <code>AbortSignal</code> | |
| strategy | <code>string</code> | |

<b>Returns:</b>

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
| [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) | |
| [FieldFormatConfig](./kibana-plugin-plugins-data-server.fieldformatconfig.md) | |
| [Filter](./kibana-plugin-plugins-data-server.filter.md) | |
| [IEsSearchRequest](./kibana-plugin-plugins-data-server.iessearchrequest.md) | |
| [IEsSearchResponse](./kibana-plugin-plugins-data-server.iessearchresponse.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md) | |
| [IFieldType](./kibana-plugin-plugins-data-server.ifieldtype.md) | |
| [IIndexPattern](./kibana-plugin-plugins-data-server.iindexpattern.md) | |
Expand Down
1 change: 0 additions & 1 deletion docs/user/visualize.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ include::{kib-repo-dir}/visualize/lens.asciidoc[]
include::{kib-repo-dir}/visualize/most-frequent.asciidoc[]

include::{kib-repo-dir}/visualize/tsvb.asciidoc[]

include::{kib-repo-dir}/visualize/timelion.asciidoc[]

include::{kib-repo-dir}/visualize/tilemap.asciidoc[]
Expand Down
Binary file removed docs/visualize/images/timelion-add-to-dashboard.png
Binary file not shown.
Binary file removed docs/visualize/images/timelion-app.png
Binary file not shown.
Binary file removed docs/visualize/images/timelion-copy-expression.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/visualize/images/timelion-dashboard.png
Binary file not shown.
Binary file not shown.
41 changes: 0 additions & 41 deletions docs/visualize/timelion.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -504,44 +504,3 @@ image::images/timelion-conditional04.png[]
{nbsp}

For additional information on Timelion conditional capabilities, go to https://www.elastic.co/blog/timeseries-if-then-else-with-timelion[I have but one .condition()].

[float]
[[timelion-deprecation]]
=== Timelion App deprecation

Deprecated since 7.0, the Timelion app will be removed in 8.0. If you have any Timelion worksheets, you must migrate them to a dashboard.

NOTE: Only the Timelion app is deprecated. {kib} continues to support Timelion visualizations on dashboards, in Visualize, and in Canvas.

[float]
[[timelion-app-to-vis]]
==== Create a dashboard from a Timelion worksheet

To replace a Timelion worksheet with a dashboard, follow the same process for adding a visualization.
In addition, you must migrate the Timelion graphs to Visualize.

. Open the menu, click **Dashboard**, then click **Create dashboard**.

. On the dashboard, click **Create New**, then select the Timelion visualization.
+
[role="screenshot"]
image::images/timelion-create-new-dashboard.png[]
+
The only thing you need is the Timelion expression for each graph.

. Open the Timelion app on a new tab, select the chart you want to copy, and copy its expression.
+
[role="screenshot"]
image::images/timelion-copy-expression.png[]

. Return to the other tab and paste the copied expression to the *Timelion Expression* field and click **Update**.
+
[role="screenshot"]
image::images/timelion-vis-paste-expression.png[]

. Save the new visualization, give it a name, and click **Save and Return**.
+
Your Timelion visualization will appear on the dashboard. Repeat this for all your charts on each worksheet.
+
[role="screenshot"]
image::images/timelion-dashboard.png[]
9 changes: 0 additions & 9 deletions examples/search_examples/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions examples/search_examples/common/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions examples/search_examples/kibana.json

This file was deleted.

44 changes: 0 additions & 44 deletions examples/search_examples/public/application.tsx

This file was deleted.

Loading