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

Timelion App removal #110255

Merged
merged 28 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0f494e0
Remove timelion app and stuff which related to it
VladLasitsa Aug 26, 2021
41dad17
Fix CI
VladLasitsa Aug 26, 2021
3d7b0de
Fix lint
VladLasitsa Aug 26, 2021
1ce2a7d
Fix tests
VladLasitsa Aug 27, 2021
0e30f0f
Fix tests
VladLasitsa Aug 27, 2021
862eae2
Fis tests
VladLasitsa Aug 27, 2021
ce99bae
Merge branch 'master' into timelion_app_removal
kibanamachine Aug 27, 2021
b2c3762
Merge branch 'master' into timelion_app_removal
kibanamachine Aug 30, 2021
664e77d
Merge branch 'master' into timelion_app_removal
kibanamachine Aug 30, 2021
688e82c
Fix some comments
VladLasitsa Aug 30, 2021
9a0dfd9
Clean up
VladLasitsa Aug 30, 2021
b07b4f6
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Aug 31, 2021
d9915af
Merge branch 'master' into timelion_app_removal
kibanamachine Sep 1, 2021
b9c443f
fix CI
alexwizp Sep 1, 2021
6d62dca
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Sep 1, 2021
603f6dc
Merge remote-tracking branch 'origin/timelion_app_removal' into timel…
VladLasitsa Sep 1, 2021
32ac06b
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Sep 3, 2021
0cb3b9d
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Sep 3, 2021
963f7b9
fix some comments
VladLasitsa Sep 3, 2021
aa2e245
Merge branch 'master' into timelion_app_removal
kibanamachine Sep 6, 2021
b6ad899
Fix deprecation examples
VladLasitsa Sep 6, 2021
1fb400f
Return `enabled` property in config for timelion vis
VladLasitsa Sep 6, 2021
0e1edf5
Merge branch 'master' into timelion_app_removal
kibanamachine Sep 7, 2021
b9cc0fa
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Sep 9, 2021
8a26820
Remove unused angular lib
VladLasitsa Sep 9, 2021
d0bd9c6
Merge branch 'master' into timelion_app_removal
kibanamachine Sep 9, 2021
738d6d4
Merge branch 'master' into timelion_app_removal
kibanamachine Sep 9, 2021
db8b6e7
Merge remote-tracking branch 'upstream/master' into timelion_app_removal
VladLasitsa Sep 10, 2021
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
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
/src/plugins/charts/ @elastic/kibana-vis-editors
/src/plugins/management/ @elastic/kibana-vis-editors
/src/plugins/kibana_legacy/ @elastic/kibana-vis-editors
/src/plugins/timelion/ @elastic/kibana-vis-editors
/src/plugins/vis_default_editor/ @elastic/kibana-vis-editors
/src/plugins/vis_types/metric/ @elastic/kibana-vis-editors
/src/plugins/vis_type_table/ @elastic/kibana-vis-editors
Expand Down
2 changes: 1 addition & 1 deletion .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"server": "src/legacy/server",
"statusPage": "src/legacy/core_plugins/status_page",
"telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"],
"timelion": ["src/plugins/timelion", "src/plugins/vis_type_timelion"],
"timelion": ["src/plugins/vis_type_timelion"],
"uiActions": "src/plugins/ui_actions",
"visDefaultEditor": "src/plugins/vis_default_editor",
"visTypeMarkdown": "src/plugins/vis_type_markdown",
Expand Down
4 changes: 0 additions & 4 deletions api_docs/core_application.json
Original file line number Diff line number Diff line change
Expand Up @@ -1393,10 +1393,6 @@
"plugin": "kibanaOverview",
"path": "src/plugins/kibana_overview/public/application.tsx"
},
{
"plugin": "timelion",
"path": "src/plugins/timelion/public/application.ts"
},
{
"plugin": "management",
"path": "src/plugins/management/target/types/public/application.d.ts"
Expand Down
8 changes: 4 additions & 4 deletions api_docs/deprecations_by_api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex

| Deprecated API | Referencing plugin(s) | Remove By |
| ---------------|-----------|-----------|
| <DocLink id="kibDataPluginApi" section="def-public.esFilters" text="esFilters"/> | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, securitySolution, visualize, timelion, presentationUtil | 8.1 |
| <DocLink id="kibDataPluginApi" section="def-public.esFilters" text="esFilters"/> | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, securitySolution, visualize, presentationUtil | 8.1 |
| <DocLink id="kibDataPluginApi" section="def-public.esQuery" text="esQuery"/> | lens, timelines, infra, securitySolution, stackAlerts, transform, indexPatternManagement, visTypeTimelion, visTypeVega | 8.1 |
| <DocLink id="kibDataPluginApi" section="def-public.Filter" text="Filter"/> | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 |
| <DocLink id="kibDataPluginApi" section="def-common.Filter" text="Filter"/> | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 |
Expand Down Expand Up @@ -86,16 +86,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex
| <DocLink id="kibDataPluginApi" section="def-common.SearchSource.create" text="create"/> | discover | - |
| <DocLink id="kibDataPluginApi" section="def-server.IndexPatternAttributes" text="IndexPatternAttributes"/> | discover, ml, transform, canvas | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectSaveModal" text="SavedObjectSaveModal"/> | embeddable, discover, presentationUtil, dashboard, graph | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectLoader" text="SavedObjectLoader"/> | visualizations, discover, dashboard, savedObjectsManagement, timelion | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectLoader" text="SavedObjectLoader"/> | visualizations, discover, dashboard, savedObjectsManagement | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObject" text="SavedObject"/> | discover, savedObjectsTaggingOss, visualizations, dashboard, visualize, visDefaultEditor | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectsStart.SavedObjectClass" text="SavedObjectClass"/> | discover, visualizations, dashboard, timelion | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectsStart.SavedObjectClass" text="SavedObjectClass"/> | discover, visualizations, dashboard | - |
| <DocLink id="kibUiActionsPluginApi" section="def-public.UiActionsService.executeTriggerActions" text="executeTriggerActions"/> | data, discover, embeddable | - |
| <DocLink id="kibCorePluginApi" section="def-public.UiSettingsParams.metric" text="metric"/> | advancedSettings, discover | - |
| <DocLink id="kibCorePluginApi" section="def-server.UiSettingsParams.metric" text="metric"/> | advancedSettings, discover | - |
| <DocLink id="kibFeaturesPluginApi" section="def-common.FeatureElasticsearchPrivileges.requiredRoles" text="requiredRoles"/> | security | - |
| <DocLink id="kibFeaturesPluginApi" section="def-server.FeatureElasticsearchPrivileges.requiredRoles" text="requiredRoles"/> | security | - |
| <DocLink id="kibLicensingPluginApi" section="def-public.LicensingPluginSetup.license$" text="license$"/> | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - |
| <DocLink id="kibCorePluginApi" section="def-public.AppMountParameters.appBasePath" text="appBasePath"/> | management, fleet, security, kibanaOverview, timelion | - |
| <DocLink id="kibCorePluginApi" section="def-public.AppMountParameters.appBasePath" text="appBasePath"/> | management, fleet, security, kibanaOverview | - |
| <DocLink id="kibDataPluginApi" section="def-public.INDEX_PATTERN_SAVED_OBJECT_TYPE" text="INDEX_PATTERN_SAVED_OBJECT_TYPE"/> | visualizations, dashboard | - |
| <DocLink id="kibDataPluginApi" section="def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE" text="INDEX_PATTERN_SAVED_OBJECT_TYPE"/> | visualizations, dashboard | - |
| <DocLink id="kibDataPluginApi" section="def-server.INDEX_PATTERN_SAVED_OBJECT_TYPE" text="INDEX_PATTERN_SAVED_OBJECT_TYPE"/> | visualizations, dashboard | - |
Expand Down
11 changes: 0 additions & 11 deletions api_docs/deprecations_by_plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -811,17 +811,6 @@ warning: This document is auto-generated and is meant to be viewed inside our ex



## timelion

| Deprecated API | Reference location(s) | Remove By |
| ---------------|-----------|-----------|
| <DocLink id="kibDataPluginApi" section="def-public.esFilters" text="esFilters"/> | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/plugin.ts#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/plugin.ts#:~:text=esFilters) | 8.1 |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectLoader" text="SavedObjectLoader"/> | [saved_sheets.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/saved_sheets.ts#:~:text=SavedObjectLoader), [saved_sheets.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/saved_sheets.ts#:~:text=SavedObjectLoader) | - |
| <DocLink id="kibSavedObjectsPluginApi" section="def-public.SavedObjectsStart.SavedObjectClass" text="SavedObjectClass"/> | [_saved_sheet.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/_saved_sheet.ts#:~:text=SavedObjectClass) | - |
| <DocLink id="kibCorePluginApi" section="def-public.AppMountParameters.appBasePath" text="appBasePath"/> | [application.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/application.ts#:~:text=appBasePath) | - |



## transform

| Deprecated API | Reference location(s) | Remove By |
Expand Down
12 changes: 0 additions & 12 deletions api_docs/saved_objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -679,14 +679,6 @@
{
"plugin": "savedObjectsManagement",
"path": "src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx"
},
{
"plugin": "timelion",
"path": "src/plugins/timelion/public/services/saved_sheets.ts"
},
{
"plugin": "timelion",
"path": "src/plugins/timelion/public/services/saved_sheets.ts"
}
],
"children": [
Expand Down Expand Up @@ -3860,10 +3852,6 @@
{
"plugin": "dashboard",
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts"
},
{
"plugin": "timelion",
"path": "src/plugins/timelion/public/services/_saved_sheet.ts"
}
]
},
Expand Down
2 changes: 0 additions & 2 deletions docs/api/features.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ The API returns the following:
"index-pattern",
"search",
"visualization",
"timelion-sheet",
"canvas-workpad"
]
},
Expand All @@ -152,7 +151,6 @@ The API returns the following:
"index-pattern",
"search",
"visualization",
"timelion-sheet",
"canvas-workpad",
"dashboard"
]
Expand Down
3 changes: 0 additions & 3 deletions docs/api/role-management/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ The API returns the following:
"indexPatterns": [
"read"
],
"timelion": [
"all"
],
"graph": [
"all"
],
Expand Down
3 changes: 0 additions & 3 deletions docs/api/role-management/put.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ $ curl -X PUT api/security/role/my_kibana_role
"indexPatterns": [
"read"
],
"timelion": [
"all"
],
"graph": [
"all"
],
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/bulk_create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ experimental[] Create multiple {kib} saved objects.
==== Request body

`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Optional, string) Specifies an ID instead of using a randomly generated ID.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/bulk_get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ experimental[] Retrieve multiple {kib} saved objects by ID.
==== Request Body

`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Required, string) ID of the retrieved object. The ID includes the {kib} unique identifier or a custom identifier.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ experimental[] Create {kib} saved objects.
(Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used.

`<type>`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`<id>`::
(Optional, string) Specifies an ID instead of using a randomly generated ID.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ WARNING: Once you delete a saved object, _it cannot be recovered_.
(Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used.

`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Required, string) The object ID that you want to remove.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ experimental[] Retrieve a single {kib} saved object by ID.


`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Required, string) The ID of the object to retrieve.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/resolve.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object can be retrieved via the Resolve API using either its new ID or its old I


`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Required, string) The ID of the object to retrieve.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/saved-objects/update.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ experimental[] Update the attributes for existing {kib} saved objects.
(Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used.

`type`::
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`.
(Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`.

`id`::
(Required, string) The object ID to update.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/spaces-management/get_all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The API returns the following:
"id": "sales",
"name": "Sales",
"initials": "MK",
"disabledFeatures": ["discover", "timelion"],
"disabledFeatures": ["discover"],
"imageUrl": ""
}
]
Expand Down Expand Up @@ -124,7 +124,7 @@ The API returns the following:
"id": "sales",
"name": "Sales",
"initials": "MK",
"disabledFeatures": ["discover", "timelion"],
"disabledFeatures": ["discover"],
"imageUrl": "",
"authorizedPurposes": {
"any": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/api/spaces-management/post.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $ curl -X POST api/spaces/space
"description" : "This is the Marketing Space",
"color": "#aabbcc",
"initials": "MK",
"disabledFeatures": ["timelion"],
"disabledFeatures": [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/x/rh3E6Lo+bnuNS4uB4Cuq0ZfvO8X1rM6q/+vnjLVqZq7v83onttc2oYF4HPJmv1gWbB4P7s0l55ZsPhcsmY/WBYs3s8uzaVn5q3F/wf70mRuBCtbjQAAAABJRU5ErkJggg=="
}
--------------------------------------------------
Expand Down
5 changes: 0 additions & 5 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ generating deep links to other apps, and creating short URLs.
|This plugin adds the Advanced Settings section for the Usage and Security Data collection (aka Telemetry).


|{kib-repo}blob/{branch}/src/plugins/timelion/README.md[timelion]
|Contains the deprecated timelion application. For the timelion visualization,
which also contains the timelion APIs and backend, look at the vis_type_timelion plugin.


|<<uiactions-plugin>>
|UI Actions plugins provides API to manage *triggers* and *actions*.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,29 @@ import { i18n } from '@kbn/i18n';

async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecationsContext): Promise<DeprecationsDetails[]> {
const deprecations: DeprecationsDetails[] = [];
const count = await getTimelionSheetsCount(savedObjectsClient);

// Example of an api correctiveAction
const count = await getFooCount(savedObjectsClient);
if (count > 0) {
// Example of a manual correctiveAction
deprecations.push({
title: i18n.translate('xpack.timelion.deprecations.worksheetsTitle', {
defaultMessage: 'Timelion worksheets are deprecated'
title: i18n.translate('xpack.foo.deprecations.title', {
defaultMessage: `Foo's are deprecated`
}),
message: i18n.translate('xpack.timelion.deprecations.worksheetsMessage', {
defaultMessage: 'You have {count} Timelion worksheets. Migrate your Timelion worksheets to a dashboard to continue using them.',
message: i18n.translate('xpack.foo.deprecations.message', {
defaultMessage: `You have {count} Foo's. Migrate your Foo's to a dashboard to continue using them.`,
values: { count },
}),
documentationUrl:
'https://www.elastic.co/guide/en/kibana/current/create-panels-with-timelion.html',
'https://www.elastic.co/guide/en/kibana/current/foo.html',
level: 'warning',
correctiveActions: {
manualSteps: [
i18n.translate('xpack.timelion.deprecations.worksheets.manualStepOneMessage', {
defaultMessage: 'Navigate to the Kibana Dashboard and click "Create dashboard".',
}),
i18n.translate('xpack.timelion.deprecations.worksheets.manualStepTwoMessage', {
defaultMessage: 'Select Timelion from the "New Visualization" window.',
}),
i18n.translate('xpack.foo.deprecations.manualStepOneMessage', {
defaultMessage: 'Navigate to the Kibana Dashboard and click "Create dashboard".',
}),
i18n.translate('xpack.foo.deprecations.manualStepTwoMessage', {
defaultMessage: 'Select Foo from the "New Visualization" window.',
}),
],
api: {
path: '/internal/security/users/test_dashboard_user',
Expand All @@ -68,6 +68,7 @@ async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecations
},
});
}

return deprecations;
}

Expand Down
10 changes: 0 additions & 10 deletions docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -470,13 +470,6 @@ The default period of time in the Security time filter.
[[kibana-timelion-settings]]
==== Timelion

[horizontal]
[[timelion-defaultcolumns]]`timelion:default_columns`::
The default number of columns to use on a Timelion sheet.

[[timelion-defaultrows]]`timelion:default_rows`::
The default number of rows to use on a Timelion sheet.

[[timelion-esdefaultindex]]`timelion:es.default_index`::
The default index when using the `.es()` query.

Expand All @@ -502,9 +495,6 @@ experimental:[]
Used with quandl queries, this is your API key from
https://www.quandl.com/[www.quandl.com].

[[timelion-showtutorial]]`timelion:showTutorial`::
Shows the Timelion tutorial to users when they first open the Timelion app.

[[timelion-targetbuckets]]`timelion:target_buckets`::
Used for calculating automatic intervals in visualizations, this is the number
of buckets to try to represent.
Expand Down
2 changes: 0 additions & 2 deletions docs/user/dashboard/timelion.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ The syntax enables some features that classical point series charts don't offer,
[role="screenshot"]
image:dashboard/images/timelion.png[Timelion]

deprecated::[7.0.0,"*Timelion* is still supported. The *Timelion app* is deprecated in 7.0, replaced by dashboard features. In 7.16 and later, the *Timelion app* is removed from {kib}. To prepare for the removal of *Timelion app*, you must migrate *Timelion app* worksheets to a dashboard. For information on how to migrate *Timelion app* worksheets, refer to the link:https://www.elastic.co/guide/en/kibana/7.10/release-notes-7.10.0.html#deprecation-v7.10.0[7.10.0 Release Notes]."]

[float]
==== Timelion expressions

Expand Down
Loading