From 7cbd9b0c1d19358470ad4c8a36dcc0a02b46f532 Mon Sep 17 00:00:00 2001
From: "Eyo O. Eyo" <7893459+eokoneyo@users.noreply.github.com>
Date: Thu, 19 Dec 2024 10:26:48 +0000
Subject: [PATCH 01/59] Resolve false positives with eslint no color rule
(#204848)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Summary
Fixes error in lint rule that resulted in false positives, also added a
test case to ascertain the issue has been fixed. For context the error
happens in instances where specific CSS declarations that are
derivatives of shorthand declarations that can apply color to the HTML
element or text nodes where found, because the check we had simply
checked if we got a string back instead of asserting that it was a falsy
value.
## Before
![Screenshot 2024-12-17 at 10 27
18 PM](https://github.com/user-attachments/assets/b0918d37-22f6-4778-a6d0-2cafe11b18e1)
![Screenshot 2024-12-17 at 8 03
33 PM](https://github.com/user-attachments/assets/d70c733d-e88f-42d6-956a-e266d53724f9)
## After
---
.../src/rules/no_css_color.test.ts | 39 +++++++++++++------
.../src/rules/no_css_color.ts | 8 ++--
2 files changed, 32 insertions(+), 15 deletions(-)
diff --git a/packages/kbn-eslint-plugin-css/src/rules/no_css_color.test.ts b/packages/kbn-eslint-plugin-css/src/rules/no_css_color.test.ts
index e1f683b09814f..d5323e7423ce4 100644
--- a/packages/kbn-eslint-plugin-css/src/rules/no_css_color.test.ts
+++ b/packages/kbn-eslint-plugin-css/src/rules/no_css_color.test.ts
@@ -45,7 +45,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
return (
This is a test
@@ -86,7 +86,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
const baseStyle = { background: 'rgb(255, 255, 255)' };
@@ -116,7 +116,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
return (
This is a test
@@ -129,7 +129,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
return (
This is a test
@@ -153,7 +153,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
code: `
import React from 'react';
import { css } from '@emotion/css';
-
+
function TestComponent() {
return (
This is a test
@@ -171,7 +171,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
const codeCss = css({
color: '#dd4040',
})
-
+
function TestComponent() {
return (
This is a test
@@ -187,7 +187,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
import { css } from '@emotion/css';
const codeCss = css\` color: #dd4040; \`
-
+
function TestComponent() {
return (
This is a test
@@ -200,7 +200,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
return (
({ color: '#dd4040' })}>This is a test
@@ -213,7 +213,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
code: `
import React from 'react';
-
+
function TestComponent() {
return (
This is a test
@@ -227,7 +227,7 @@ const invalid: RuleTester.InvalidTestCase[] = [
code: `
import React from 'react';
import { css } from '@emotion/css';
-
+
function TestComponent() {
return (
This is a test
@@ -237,7 +237,24 @@ const invalid: RuleTester.InvalidTestCase[] = [
},
];
-const valid: RuleTester.ValidTestCase[] = [];
+const valid: RuleTester.ValidTestCase[] = [
+ {
+ name: 'Does not raise an error when a CSS color is not used in a JSX css prop attribute',
+ filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx',
+ code: `
+ import React from 'react';
+ import { EuiCode } from '@elastic/eui';
+ import { css } from '@emotion/react';
+ function TestComponent() {
+ return (
+ This is a test
+ )
+ }`,
+ },
+];
for (const [name, tester] of [tsTester, babelTester]) {
describe(name, () => {
diff --git a/packages/kbn-eslint-plugin-css/src/rules/no_css_color.ts b/packages/kbn-eslint-plugin-css/src/rules/no_css_color.ts
index c453e5edfcd74..fb73fe53fda07 100644
--- a/packages/kbn-eslint-plugin-css/src/rules/no_css_color.ts
+++ b/packages/kbn-eslint-plugin-css/src/rules/no_css_color.ts
@@ -30,8 +30,8 @@ const checkPropertySpecifiesInvalidCSSColor = ([property, value]: string[]) => {
const style = new CSSStyleDeclaration();
- // @ts-ignore the types for this packages specifics an index signature of number, alongside other valid CSS properties
- style[property] = value;
+ // @ts-ignore the types for this packages specifies an index signature of number, alongside other valid CSS properties
+ style[property.trim()] = typeof value === 'string' ? value.trim() : value;
const anchor = propertiesSupportingCssColor.find((resolvedProperty) =>
property.includes(resolvedProperty)
@@ -42,9 +42,9 @@ const checkPropertySpecifiesInvalidCSSColor = ([property, value]: string[]) => {
// build the resolved color property to check if the value is a string after parsing the style declaration
const resolvedColorProperty = anchor === 'color' ? 'color' : anchor + 'Color';
- // in trying to keep this rule simple, it's enough if a string is used to define a color to mark it as invalid
+ // in trying to keep this rule simple, it's enough if we get a value back, because if it was an identifier we would have been able to set a value within this invocation
// @ts-ignore the types for this packages specifics an index signature of number, alongside other valid CSS properties
- return typeof style[resolvedColorProperty] === 'string';
+ return Boolean(style[resolvedColorProperty]);
};
const resolveMemberExpressionRoot = (node: TSESTree.MemberExpression): TSESTree.Identifier => {
From 8b3281d4843efff3be4d291453c1aa6a61cd75fc Mon Sep 17 00:00:00 2001
From: Marco Antonio Ghiani
Date: Thu, 19 Dec 2024 11:37:08 +0100
Subject: [PATCH 02/59] [One Discover] Add AIAssistant prompts to logs overview
detail (#204339)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 📓 Summary
Closes #202191
This work brings into the O11y solution contextual experience in
Discover the Logs AI Assistant prompts already adopted in LogStream and
Logs Explorer, which are now set for deprecation in favour of the unique
OneDiscover experience.
The AIAssistant is consumed by the `discover-shared` features registry,
which registers the features from the logs-shared plugin. Once the
codebase for LogStream and Logs Explorer that consume this component is
removed, it might make sense to do some clean-up and move the
LogsAIAssistant component implementation among the other contextual
components (log summary columns, etc...).
https://github.com/user-attachments/assets/f97d5a01-3896-4a86-9a3c-443151a9d04e
Co-authored-by: Marco Antonio Ghiani
---
.../accessors/get_doc_viewer.tsx | 18 +++++++++++++++---
.../log_document_profile/accessors/index.ts | 2 +-
.../log_document_profile/profile.tsx | 4 ++--
.../log_ai_assistant/log_ai_assistant.tsx | 16 ++++++++++++++--
4 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx
index 1d433b5272d7b..89bb1166d7a2c 100644
--- a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx
+++ b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx
@@ -11,11 +11,18 @@ import { i18n } from '@kbn/i18n';
import { UnifiedDocViewerLogsOverview } from '@kbn/unified-doc-viewer-plugin/public';
import React from 'react';
import type { DocumentProfileProvider } from '../../../../profiles';
+import { ProfileProviderServices } from '../../../profile_provider_services';
-export const getDocViewer: DocumentProfileProvider['profile']['getDocViewer'] =
- (prev) => (params) => {
+export const createGetDocViewer =
+ (services: ProfileProviderServices): DocumentProfileProvider['profile']['getDocViewer'] =>
+ (prev) =>
+ (params) => {
const prevDocViewer = prev(params);
+ const logsAIAssistantFeature = services.discoverShared.features.registry.getById(
+ 'observability-logs-ai-assistant'
+ );
+
return {
...prevDocViewer,
docViewsRegistry: (registry) => {
@@ -25,7 +32,12 @@ export const getDocViewer: DocumentProfileProvider['profile']['getDocViewer'] =
defaultMessage: 'Log overview',
}),
order: 0,
- component: (props) => ,
+ component: (props) => (
+
+ ),
});
return prevDocViewer.docViewsRegistry(registry);
diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts
index 6612fbc50e5c6..19941fc188720 100644
--- a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts
+++ b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts
@@ -7,4 +7,4 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-export { getDocViewer } from './get_doc_viewer';
+export { createGetDocViewer } from './get_doc_viewer';
diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx
index e92bbb9a59605..7d7662fbf20b4 100644
--- a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx
+++ b/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx
@@ -10,7 +10,7 @@
import { DataTableRecord } from '@kbn/discover-utils';
import { DocumentProfileProvider, DocumentType } from '../../../profiles';
import { ProfileProviderServices } from '../../profile_provider_services';
-import { getDocViewer } from './accessors';
+import { createGetDocViewer } from './accessors';
import { OBSERVABILITY_ROOT_PROFILE_ID } from '../consts';
export const createObservabilityLogDocumentProfileProvider = (
@@ -18,7 +18,7 @@ export const createObservabilityLogDocumentProfileProvider = (
): DocumentProfileProvider => ({
profileId: 'observability-log-document-profile',
profile: {
- getDocViewer,
+ getDocViewer: createGetDocViewer(services),
},
resolve: ({ record, rootContext }) => {
if (rootContext.profileId !== OBSERVABILITY_ROOT_PROFILE_ID) {
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx b/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
index 3e1b6fced3337..6e570f5824d17 100644
--- a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
+++ b/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
@@ -35,6 +35,12 @@ export const LogAIAssistant = ({
return undefined;
}
+ const message = doc.fields.find((field) => field.field === 'message')?.value[0];
+
+ if (!message) {
+ return undefined;
+ }
+
return getContextualInsightMessages({
message:
'Can you explain what this log message means? Where it could be coming from, whether it is expected and whether it is an issue.',
@@ -53,6 +59,10 @@ export const LogAIAssistant = ({
const message = doc.fields.find((field) => field.field === 'message')?.value[0];
+ if (!message) {
+ return undefined;
+ }
+
return getContextualInsightMessages({
message: `I'm looking at a log entry. Can you construct a Kibana KQL query that I can enter in the search bar that gives me similar log entries, based on the message field?`,
instructions: JSON.stringify({
@@ -61,7 +71,9 @@ export const LogAIAssistant = ({
});
}, [getContextualInsightMessages, doc]);
- return (
+ const hasAtLeastOnePrompt = Boolean(explainLogMessageMessages || similarLogMessageMessages);
+
+ return hasAtLeastOnePrompt ? (
{ObservabilityAIAssistantContextualInsight && explainLogMessageMessages ? (
@@ -82,7 +94,7 @@ export const LogAIAssistant = ({
) : null}
- );
+ ) : null;
};
// eslint-disable-next-line import/no-default-export
From b189fe715912ad83a37e6bb77e2084dbdc41604b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?=
Date: Thu, 19 Dec 2024 12:06:42 +0100
Subject: [PATCH 03/59] [ES `body` removal] `@elastic/appex-qa` (#204878)
## Summary
Attempt to remove the deprecated `body` in the ES client.
---
.../src/lib/indices/create_index_stream.ts | 2 +-
.../src/es_client.ts | 36 +++++++++----------
.../services/alerting_api.ts | 5 +--
3 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/packages/kbn-es-archiver/src/lib/indices/create_index_stream.ts b/packages/kbn-es-archiver/src/lib/indices/create_index_stream.ts
index bb59ca9c5e9d4..c41ff3a399797 100644
--- a/packages/kbn-es-archiver/src/lib/indices/create_index_stream.ts
+++ b/packages/kbn-es-archiver/src/lib/indices/create_index_stream.ts
@@ -10,7 +10,7 @@
import { Transform, Readable } from 'stream';
import { inspect } from 'util';
-import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import * as estypes from '@elastic/elasticsearch/lib/api/types';
import type { Client } from '@elastic/elasticsearch';
import { ToolingLog } from '@kbn/tooling-log';
diff --git a/packages/kbn-performance-testing-dataset-extractor/src/es_client.ts b/packages/kbn-performance-testing-dataset-extractor/src/es_client.ts
index 7c38789fe3dd9..97d0c390d8aee 100644
--- a/packages/kbn-performance-testing-dataset-extractor/src/es_client.ts
+++ b/packages/kbn-performance-testing-dataset-extractor/src/es_client.ts
@@ -9,7 +9,7 @@
import { Client } from '@elastic/elasticsearch';
import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types';
-import { SearchRequest, MsearchRequestItem } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import { SearchRequest, MsearchRequestItem } from '@elastic/elasticsearch/lib/api/types';
import { ToolingLog } from '@kbn/tooling-log';
interface ClientOptions {
@@ -116,26 +116,24 @@ export class ESClient {
async getTransactions(queryFilters: QueryDslQueryContainer[]) {
const searchRequest: SearchRequest = {
index: this.tracesIndex,
- body: {
- sort: [
- {
- '@timestamp': {
- order: 'asc',
- unmapped_type: 'boolean',
- },
+ sort: [
+ {
+ '@timestamp': {
+ order: 'asc',
+ unmapped_type: 'boolean',
},
- ],
- size: 10000,
- query: {
- bool: {
- filter: [
- {
- bool: {
- filter: queryFilters,
- },
+ },
+ ],
+ size: 10000,
+ query: {
+ bool: {
+ filter: [
+ {
+ bool: {
+ filter: queryFilters,
},
- ],
- },
+ },
+ ],
},
},
};
diff --git a/x-pack/test/api_integration/deployment_agnostic/services/alerting_api.ts b/x-pack/test/api_integration/deployment_agnostic/services/alerting_api.ts
index 855d5bd3cdff8..7a5cff10d58b1 100644
--- a/x-pack/test/api_integration/deployment_agnostic/services/alerting_api.ts
+++ b/x-pack/test/api_integration/deployment_agnostic/services/alerting_api.ts
@@ -5,10 +5,7 @@
* 2.0.
*/
-import type {
- AggregationsAggregate,
- SearchResponse,
-} from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { AggregationsAggregate, SearchResponse } from '@elastic/elasticsearch/lib/api/types';
import { MetricThresholdParams } from '@kbn/infra-plugin/common/alerting/metrics';
import { ThresholdParams } from '@kbn/observability-plugin/common/custom_threshold_rule/types';
import { ApmRuleParamsType } from '@kbn/apm-plugin/common/rules/schema';
From 92bc22b84046a4595d3f2a674cc0286b37ff4788 Mon Sep 17 00:00:00 2001
From: Giorgos Bamparopoulos
Date: Thu, 19 Dec 2024 11:07:11 +0000
Subject: [PATCH 04/59] Update the annotation step in the OTel Kubernetes flow
(#204260)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 📓 Summary
Updates the third optional step in the OpenTelemetry flow for Kubernetes
according to the latest designs. It splits the guidelines by providing
instructions to annotate specific pods as well as all the resources in
the namespace.
## Before
## After
### Amsterdam
### Amsterdam (Dark mode)
### Borealis
Closes https://github.com/elastic/kibana/issues/201130
---------
Co-authored-by: Elastic Machine
Co-authored-by: Mike Birnstiehl <114418652+mdbirnstiehl@users.noreply.github.com>
---
.../otel_kubernetes/otel_kubernetes_panel.tsx | 77 ++++++++++++++-----
1 file changed, 59 insertions(+), 18 deletions(-)
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
index 942cecb13aeeb..cf7fd341a1cab 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
+++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
@@ -18,11 +18,14 @@ import {
EuiFlexGroup,
EuiFlexItem,
EuiButtonEmpty,
+ EuiAccordion,
+ useEuiTheme,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { useKibana } from '@kbn/kibana-react-plugin/public';
import { FormattedMessage } from '@kbn/i18n-react';
import { DASHBOARD_APP_LOCATOR } from '@kbn/deeplinks-analytics';
+import { css } from '@emotion/react';
import { EmptyPrompt } from '../shared/empty_prompt';
import { GetStartedPanel } from '../shared/get_started_panel';
import { FeedbackButtons } from '../shared/feedback_buttons';
@@ -44,6 +47,7 @@ export const OtelKubernetesPanel: React.FC = () => {
} = useKibana();
const apmLocator = share.url.locators.get('APM_LOCATOR');
const dashboardLocator = share.url.locators.get(DASHBOARD_APP_LOCATOR);
+ const theme = useEuiTheme();
if (error) {
return (
@@ -187,7 +191,7 @@ helm install opentelemetry-kube-stack open-telemetry/opentelemetry-kube-stack \\
'xpack.observability_onboarding.otelKubernetesPanel.theOperatorAutomatesTheLabel',
{
defaultMessage:
- 'Enable automatic instrumentation for your applications by annotating the pods template (spec.template.metadata.annotations) in your Deployment or relevant workload object (StatefulSet, Job, CronJob, etc.)',
+ 'The Operator automates the injection of auto-instrumentation libraries into the annotated pods for some languages.',
}
)}
@@ -225,9 +229,27 @@ helm install opentelemetry-kube-stack open-telemetry/opentelemetry-kube-stack \\
]}
/>
- {`# To annotate specific deployment Pods modify its manifest
-apiVersion: apps/v1
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.step3a.title',
+ { defaultMessage: '3(a) - Start with one of these annotations methods:' }
+ )}
+
+
+
+
+ {`apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
@@ -242,24 +264,43 @@ spec:
containers:
- image: myapplication-image
name: app
- ...
-
-# To annotate all resources in a namespace
-kubectl annotate namespace my-namespace instrumentation.opentelemetry.io/inject-${idSelected}="${namespace}/elastic-instrumentation"
-
-# Restart your deployment
-kubectl rollout restart deployment myapp -n my-namespace
+ ...`}
+
+
+
+
+
+ {`kubectl annotate namespace my-namespace instrumentation.opentelemetry.io/inject-${idSelected}="${namespace}/elastic-instrumentation"`}
+
+
+
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.step3b.title',
+ {
+ defaultMessage:
+ '3(b) - Restart deployment and ensure the annotations are applied and the auto-instrumentation library is injected:',
+ }
+ )}
+
+
+
+ {`kubectl rollout restart deployment myapp -n my-namespace
-# Check annotations have been applied correctly and auto-instrumentation library is injected
kubectl describe pod -n my-namespace`}
-
-
Date: Thu, 19 Dec 2024 11:07:46 +0000
Subject: [PATCH 05/59] Disable log stream and settings pages (#203996)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Release note
Logs Stream and the logs settings page in Observability are removed. Use
the [Discover](https://www.elastic.co/guide/en/kibana/current/discover.html) application,
which now offers a contextual experience for logs, to explore your logs.
The logs stream panel in dashboards is removed, use Discover sessions
instead.
## 📓 Summary
The Logs Stream app in Observability and the log stream panel available
in dashboards were hidden behind an advanced setting as part of
https://github.com/elastic/kibana/pull/194519 in `8.16.0`. At the same
time, a link was added to the left navigation for the logs settings
page.
This PR which targets `9.0.0` disables these pages as well as the
dashboard panel:
- Removes the navigation item for the logs settings page and the
corresponding route
- Removes the `observability:enableLogsStream` setting and keeps the
redirects to logs explorer. The locators will be updated to point to
Discover as part of https://github.com/elastic/kibana/issues/182229.
Removing the code that renders the logs stream and the settings pages
will be done in a [follow-up
issue](https://github.com/elastic/kibana/issues/204005).
### Left navigation
#### Classic
#### Solution
### Navigating to /app/logs/settings
Closes https://github.com/elastic/observability-dev/issues/4156
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine
---
.../settings/setting_ids/index.ts | 1 -
.../server/collectors/management/schema.ts | 4 --
.../server/collectors/management/types.ts | 1 -
src/plugins/telemetry/schema/oss_plugins.json | 6 --
.../group1/create_and_add_embeddables.ts | 5 +-
test/tsconfig.json | 1 -
.../translations/translations/fr-FR.json | 6 --
.../translations/translations/ja-JP.json | 6 --
.../translations/translations/zh-CN.json | 6 --
.../infra/common/ui_settings.ts | 37 -------------
.../infra/public/pages/logs/page_content.tsx | 43 +++++----------
.../infra/public/pages/logs/routes.ts | 24 +-------
.../infra/public/plugin.ts | 55 +------------------
.../infra/server/plugin.ts | 4 --
.../infra/tsconfig.json | 3 -
.../observability/public/navigation_tree.ts | 12 ----
.../functional/apps/infra/logs/log_stream.ts | 6 +-
.../apps/infra/logs/log_stream_date_nano.ts | 6 +-
.../infra/logs/logs_source_configuration.ts | 5 +-
.../functional/apps/infra/page_not_found.ts | 12 +---
20 files changed, 23 insertions(+), 220 deletions(-)
delete mode 100644 x-pack/plugins/observability_solution/infra/common/ui_settings.ts
diff --git a/packages/kbn-management/settings/setting_ids/index.ts b/packages/kbn-management/settings/setting_ids/index.ts
index 0a1b3e2bcdade..58024e2ae31f3 100644
--- a/packages/kbn-management/settings/setting_ids/index.ts
+++ b/packages/kbn-management/settings/setting_ids/index.ts
@@ -137,7 +137,6 @@ export const OBSERVABILITY_LOGS_EXPLORER_ALLOWED_DATA_VIEWS_ID =
export const OBSERVABILITY_LOGS_SHARED_NEW_LOGS_OVERVIEW_ID = 'observability:newLogsOverview';
export const OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE = 'observability:entityCentricExperience';
export const OBSERVABILITY_LOGS_DATA_ACCESS_LOG_SOURCES_ID = 'observability:logSources';
-export const OBSERVABILITY_ENABLE_LOGS_STREAM = 'observability:enableLogsStream';
export const OBSERVABILITY_AI_ASSISTANT_SIMULATED_FUNCTION_CALLING =
'observability:aiAssistantSimulatedFunctionCalling';
export const OBSERVABILITY_AI_ASSISTANT_SEARCH_CONNECTOR_INDEX_PATTERN =
diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts
index f04e8cc62022a..475f81d9be536 100644
--- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts
+++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts
@@ -502,10 +502,6 @@ export const stackManagementSchema: MakeSchemaFrom = {
_meta: { description: 'Non-default value of setting.' },
},
},
- 'observability:enableLogsStream': {
- type: 'boolean',
- _meta: { description: 'Non-default value of setting.' },
- },
'banners:placement': {
type: 'keyword',
_meta: { description: 'Non-default value of setting.' },
diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts
index 0182f688f5ecf..6614d08442c08 100644
--- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts
+++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts
@@ -51,7 +51,6 @@ export interface UsageStats {
'observability:apmEnableServiceInventoryTableSearchBar': boolean;
'observability:logsExplorer:allowedDataViews': string[];
'observability:logSources': string[];
- 'observability:enableLogsStream': boolean;
'observability:newLogsOverview': boolean;
'observability:aiAssistantSimulatedFunctionCalling': boolean;
'observability:aiAssistantSearchConnectorIndexPattern': string;
diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json
index 8ba1367641679..2fb6314a348b9 100644
--- a/src/plugins/telemetry/schema/oss_plugins.json
+++ b/src/plugins/telemetry/schema/oss_plugins.json
@@ -11010,12 +11010,6 @@
}
}
},
- "observability:enableLogsStream": {
- "type": "boolean",
- "_meta": {
- "description": "Non-default value of setting."
- }
- },
"banners:placement": {
"type": "keyword",
"_meta": {
diff --git a/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts b/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts
index 34e78f3e68632..84afd3885f987 100644
--- a/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts
+++ b/test/functional/apps/dashboard/group1/create_and_add_embeddables.ts
@@ -8,7 +8,6 @@
*/
import expect from '@kbn/expect';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { VisualizeConstants } from '@kbn/visualizations-plugin/common/constants';
import { FtrProviderContext } from '../../../ftr_provider_context';
@@ -28,12 +27,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await kibanaServer.uiSettings.replace({
defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c',
});
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: true });
});
after(async () => {
await kibanaServer.savedObjects.cleanStandardList();
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: false });
});
it('ensure toolbar popover closes on add', async () => {
@@ -41,7 +38,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await dashboard.clickNewDashboard();
await dashboard.switchToEditMode();
await dashboardAddPanel.clickEditorMenuButton();
- await dashboardAddPanel.clickAddNewPanelFromUIActionLink('Log stream (deprecated)');
+ await dashboardAddPanel.clickAddNewPanelFromUIActionLink('Monitors stats');
await dashboardAddPanel.expectEditorMenuClosed();
});
diff --git a/test/tsconfig.json b/test/tsconfig.json
index 1ba594b8ecbdb..10fdefbb7b6ac 100644
--- a/test/tsconfig.json
+++ b/test/tsconfig.json
@@ -75,7 +75,6 @@
"@kbn/default-nav-management",
"@kbn/default-nav-devtools",
"@kbn/core-saved-objects-import-export-server-internal",
- "@kbn/management-settings-ids",
"@kbn/core-deprecations-common",
]
}
diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
index 98ea70111ef56..458e4ab1e73e5 100644
--- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json
+++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
@@ -23883,8 +23883,6 @@
"xpack.infra.durationUnits.weeks.singular": "semaine",
"xpack.infra.durationUnits.years.plural": "années",
"xpack.infra.durationUnits.years.singular": "an",
- "xpack.infra.enableLogsStream": "Flux de logs",
- "xpack.infra.enableLogsStreamDescription": "Active l'application Logs Stream héritée et le panneau du tableau de bord.",
"xpack.infra.errorPage.errorOccurredTitle": "Une erreur s'est produite",
"xpack.infra.errorPage.tryAgainButtonLabel": "Réessayer",
"xpack.infra.errorPage.tryAgainDescription ": "Cliquez sur le bouton Retour et réessayez.",
@@ -24274,8 +24272,6 @@
"xpack.infra.logsPage.toolbar.logFilterErrorToastTitle": "Erreur de filtrage du log",
"xpack.infra.logsSettingsPage.loadingButtonLabel": "Chargement",
"xpack.infra.logsStreamEmbeddable.deprecationWarningDescription": "La maintenance des panneaux de flux de logs n'est plus assurée. Essayez d'utiliser {savedSearchDocsLink} pour une visualisation similaire.",
- "xpack.infra.logStreamEmbeddable.displayName": "Logs Stream (déclassé)",
- "xpack.infra.logStreamEmbeddable.title": "Flux de log",
"xpack.infra.logStreamPageTemplate.backtoLogsStream": "Retour au flux de logs",
"xpack.infra.logStreamPageTemplate.widgetBadge": "Widget",
"xpack.infra.logStreamPageTemplate.widgetDescription": "Vous visionnez un widget intégré. Les modifications seront synchronisées avec l'URL, mais elles ne seront pas conservées dans la vue par défaut du flux de logs.",
@@ -33853,8 +33849,6 @@
"xpack.observability.obltNav.otherTools": "Autres outils",
"xpack.observability.obltNav.otherTools.logsAnomalies": "Anomalies des logs",
"xpack.observability.obltNav.otherTools.logsCategories": "Bibliothèque Visualize",
- "xpack.observability.obltNav.otherTools.logsSettings": "Paramètres des logs",
- "xpack.observability.obltNav.otherTools.logsStream": "Flux de logs",
"xpack.observability.obltNav.stackManagement": "Gestion de la Suite",
"xpack.observability.overview.alerts.appLink": "Afficher les alertes",
"xpack.observability.overview.alerts.title": "Alertes",
diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
index 06802ee2be796..f396226fdf560 100644
--- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json
+++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
@@ -23745,8 +23745,6 @@
"xpack.infra.durationUnits.weeks.singular": "週",
"xpack.infra.durationUnits.years.plural": "年",
"xpack.infra.durationUnits.years.singular": "年",
- "xpack.infra.enableLogsStream": "ログストリーム",
- "xpack.infra.enableLogsStreamDescription": "レガシーログストリームアプリケーションとダッシュボードパネルを有効化します。",
"xpack.infra.errorPage.errorOccurredTitle": "エラーが発生しました",
"xpack.infra.errorPage.tryAgainButtonLabel": "再試行",
"xpack.infra.errorPage.tryAgainDescription ": "戻るボタンをクリックして再試行してください。",
@@ -24135,8 +24133,6 @@
"xpack.infra.logsPage.toolbar.logFilterErrorToastTitle": "ログフィルターエラー",
"xpack.infra.logsSettingsPage.loadingButtonLabel": "読み込み中",
"xpack.infra.logsStreamEmbeddable.deprecationWarningDescription": "ログストリームパネルは管理されていません。{savedSearchDocsLink}を同様の視覚化に活用してください。",
- "xpack.infra.logStreamEmbeddable.displayName": "ログストリーム(廃止予定)",
- "xpack.infra.logStreamEmbeddable.title": "ログストリーム",
"xpack.infra.logStreamPageTemplate.backtoLogsStream": "ログストリームに戻る",
"xpack.infra.logStreamPageTemplate.widgetBadge": "ウィジェット",
"xpack.infra.logStreamPageTemplate.widgetDescription": "埋め込まれたウィジェットを表示しています。変更はURLと同期されますが、デフォルトログストリームビューには永続しません。",
@@ -33714,8 +33710,6 @@
"xpack.observability.obltNav.otherTools": "その他のツール",
"xpack.observability.obltNav.otherTools.logsAnomalies": "Logs異常",
"xpack.observability.obltNav.otherTools.logsCategories": "Visualizeライブラリ",
- "xpack.observability.obltNav.otherTools.logsSettings": "Logs設定",
- "xpack.observability.obltNav.otherTools.logsStream": "ログストリーム",
"xpack.observability.obltNav.stackManagement": "スタック管理",
"xpack.observability.overview.alerts.appLink": "アラートを表示",
"xpack.observability.overview.alerts.title": "アラート",
diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
index de40b51eca65e..73ef6cc59c976 100644
--- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json
+++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
@@ -23366,8 +23366,6 @@
"xpack.infra.durationUnits.weeks.singular": "周",
"xpack.infra.durationUnits.years.plural": "年",
"xpack.infra.durationUnits.years.singular": "年",
- "xpack.infra.enableLogsStream": "日志流",
- "xpack.infra.enableLogsStreamDescription": "启用旧版日志流应用程序和仪表板面板。",
"xpack.infra.errorPage.errorOccurredTitle": "发生错误",
"xpack.infra.errorPage.tryAgainButtonLabel": "重试",
"xpack.infra.errorPage.tryAgainDescription ": "请点击后退按钮,然后重试。",
@@ -23752,8 +23750,6 @@
"xpack.infra.logsPage.toolbar.logFilterErrorToastTitle": "日志筛选错误",
"xpack.infra.logsSettingsPage.loadingButtonLabel": "正在加载",
"xpack.infra.logsStreamEmbeddable.deprecationWarningDescription": "将不再维护日志流面板。尝试将 {savedSearchDocsLink} 用于类似可视化。",
- "xpack.infra.logStreamEmbeddable.displayName": "日志流(已过时)",
- "xpack.infra.logStreamEmbeddable.title": "日志流",
"xpack.infra.logStreamPageTemplate.backtoLogsStream": "返回到日志流",
"xpack.infra.logStreamPageTemplate.widgetBadge": "小组件",
"xpack.infra.logStreamPageTemplate.widgetDescription": "您正在查看嵌入式小组件。更改将同步到 URL,但不会持续存在于默认日志流视图。",
@@ -33229,8 +33225,6 @@
"xpack.observability.obltNav.otherTools": "其他工具",
"xpack.observability.obltNav.otherTools.logsAnomalies": "日志异常",
"xpack.observability.obltNav.otherTools.logsCategories": "Visualize 库",
- "xpack.observability.obltNav.otherTools.logsSettings": "日志设置",
- "xpack.observability.obltNav.otherTools.logsStream": "日志流",
"xpack.observability.obltNav.stackManagement": "Stack Management",
"xpack.observability.overview.alerts.appLink": "显示告警",
"xpack.observability.overview.alerts.title": "告警",
diff --git a/x-pack/plugins/observability_solution/infra/common/ui_settings.ts b/x-pack/plugins/observability_solution/infra/common/ui_settings.ts
deleted file mode 100644
index 9b85630761942..0000000000000
--- a/x-pack/plugins/observability_solution/infra/common/ui_settings.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-/**
- * uiSettings definitions for the logs_data_access plugin.
- */
-import { schema } from '@kbn/config-schema';
-import { UiSettingsParams } from '@kbn/core-ui-settings-common';
-import { i18n } from '@kbn/i18n';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
-
-export const uiSettings: Record = {
- [OBSERVABILITY_ENABLE_LOGS_STREAM]: {
- category: ['observability'],
- name: i18n.translate('xpack.infra.enableLogsStream', {
- defaultMessage: 'Logs Stream',
- }),
- value: false,
- description: i18n.translate('xpack.infra.enableLogsStreamDescription', {
- defaultMessage: 'Enables the legacy Logs Stream application and dashboard panel. ',
- }),
- deprecation: {
- message: i18n.translate('xpack.infra.enableLogsStreamDeprecationWarning', {
- defaultMessage:
- 'Logs Stream is deprecated, and this setting will be removed in Kibana 9.0.',
- }),
- docLinksKey: 'generalSettings',
- },
- type: 'boolean',
- schema: schema.boolean(),
- requiresPageReload: true,
- },
-};
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx
index ecf5af5572b31..bdb738c33315c 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx
+++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx
@@ -9,7 +9,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiHeaderLink, EuiHeaderLinks } from '@elast
import { i18n } from '@kbn/i18n';
import React, { useContext } from 'react';
import { Routes, Route } from '@kbn/shared-ux-router';
-import { useKibana, useUiSetting } from '@kbn/kibana-react-plugin/public';
+import { useKibana } from '@kbn/kibana-react-plugin/public';
import { HeaderMenuPortal, useLinkProps } from '@kbn/observability-shared-plugin/public';
import { SharePublicStart } from '@kbn/share-plugin/public/plugin';
import {
@@ -20,7 +20,6 @@ import {
} from '@kbn/deeplinks-observability';
import { dynamic } from '@kbn/shared-ux-utility';
import { isDevMode } from '@kbn/xstate-utils';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { LazyAlertDropdownWrapper } from '../../alerting/log_threshold';
import { HelpCenterContent } from '../../components/help_center_content';
import { useReadOnlyBadge } from '../../hooks/use_readonly_badge';
@@ -29,16 +28,13 @@ import { RedirectWithQueryParams } from '../../utils/redirect_with_query_params'
import { NotFoundPage } from '../404';
import { getLogsAppRoutes } from './routes';
-const StreamPage = dynamic(() => import('./stream').then((mod) => ({ default: mod.StreamPage })));
const LogEntryCategoriesPage = dynamic(() =>
import('./log_entry_categories').then((mod) => ({ default: mod.LogEntryCategoriesPage }))
);
const LogEntryRatePage = dynamic(() =>
import('./log_entry_rate').then((mod) => ({ default: mod.LogEntryRatePage }))
);
-const LogsSettingsPage = dynamic(() =>
- import('./settings').then((mod) => ({ default: mod.LogsSettingsPage }))
-);
+
const StateMachinePlayground = dynamic(() =>
import('../../observability_logs/xstate_helpers').then((mod) => ({
default: mod.StateMachinePlayground,
@@ -48,8 +44,6 @@ const StateMachinePlayground = dynamic(() =>
export const LogsPageContent: React.FunctionComponent = () => {
const { application, share } = useKibana<{ share: SharePublicStart }>().services;
- const isLogsStreamEnabled: boolean = useUiSetting(OBSERVABILITY_ENABLE_LOGS_STREAM, false);
-
const uiCapabilities = application?.capabilities;
const onboardingLocator = share?.url.locators.get(
OBSERVABILITY_ONBOARDING_LOCATOR
@@ -60,7 +54,7 @@ export const LogsPageContent: React.FunctionComponent = () => {
useReadOnlyBadge(!uiCapabilities?.logs?.save);
- const routes = getLogsAppRoutes({ isLogsStreamEnabled });
+ const routes = getLogsAppRoutes();
const settingsLinkProps = useLinkProps({
app: 'logs',
@@ -94,34 +88,23 @@ export const LogsPageContent: React.FunctionComponent = () => {
)}
- {routes.stream ? (
-
- ) : (
- {
- share.url.locators
- .get(ALL_DATASETS_LOCATOR_ID)
- ?.navigate({});
-
- return null;
- }}
- />
- )}
+ {
+ share.url.locators.get(ALL_DATASETS_LOCATOR_ID)?.navigate({});
+
+ return null;
+ }}
+ />
-
{enableDeveloperRoutes && (
)}
-
+
} />
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts
index a5c38672a8bed..c575492a63e37 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts
+++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts
@@ -5,12 +5,7 @@
* 2.0.
*/
-import {
- logsAnomaliesTitle,
- logCategoriesTitle,
- settingsTitle,
- streamTitle,
-} from '../../translations';
+import { logsAnomaliesTitle, logCategoriesTitle } from '../../translations';
export interface LogsRoute {
id: string;
@@ -21,11 +16,9 @@ export interface LogsRoute {
export interface LogsAppRoutes {
logsAnomalies: LogsRoute;
logsCategories: LogsRoute;
- settings: LogsRoute;
- stream?: LogsRoute;
}
-export const getLogsAppRoutes = ({ isLogsStreamEnabled }: { isLogsStreamEnabled: boolean }) => {
+export const getLogsAppRoutes = () => {
const routes: LogsAppRoutes = {
logsAnomalies: {
id: 'anomalies',
@@ -37,20 +30,7 @@ export const getLogsAppRoutes = ({ isLogsStreamEnabled }: { isLogsStreamEnabled:
title: logCategoriesTitle,
path: '/log-categories',
},
- settings: {
- id: 'settings',
- title: settingsTitle,
- path: '/settings',
- },
};
- if (isLogsStreamEnabled) {
- routes.stream = {
- id: 'stream',
- title: streamTitle,
- path: '/stream',
- };
- }
-
return routes;
};
diff --git a/x-pack/plugins/observability_solution/infra/public/plugin.ts b/x-pack/plugins/observability_solution/infra/public/plugin.ts
index f9825915a6815..70a07b13b7c81 100644
--- a/x-pack/plugins/observability_solution/infra/public/plugin.ts
+++ b/x-pack/plugins/observability_solution/infra/public/plugin.ts
@@ -30,24 +30,19 @@ import {
map,
firstValueFrom,
} from 'rxjs';
-import type { EmbeddableApiContext } from '@kbn/presentation-publishing';
-import { apiCanAddNewPanel } from '@kbn/presentation-containers';
-import { IncompatibleActionError, ADD_PANEL_TRIGGER } from '@kbn/ui-actions-plugin/public';
-import { COMMON_EMBEDDABLE_GROUPING } from '@kbn/embeddable-plugin/public';
import {
ASSET_DETAILS_LOCATOR_ID,
INVENTORY_LOCATOR_ID,
type AssetDetailsLocatorParams,
type InventoryLocatorParams,
} from '@kbn/observability-shared-plugin/common';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { NavigationEntry } from '@kbn/observability-shared-plugin/public';
import { OBSERVABILITY_LOGS_EXPLORER_APP_ID } from '@kbn/deeplinks-observability/constants';
import type { InfraPublicConfig } from '../common/plugin_config_types';
import { createInventoryMetricRuleType } from './alerting/inventory';
import { createLogThresholdRuleType } from './alerting/log_threshold';
import { createMetricThresholdRuleType } from './alerting/metric_threshold';
-import { ADD_LOG_STREAM_ACTION_ID, LOG_STREAM_EMBEDDABLE } from './components/log_stream/constants';
+import { LOG_STREAM_EMBEDDABLE } from './components/log_stream/constants';
import { createMetricsFetchData, createMetricsHasData } from './metrics_overview_fetchers';
import { registerFeatures } from './register_feature';
import { InventoryViewsService } from './services/inventory_views';
@@ -62,7 +57,6 @@ import type {
InfraClientStartExports,
} from './types';
import { getLogsHasDataFetcher, getLogsOverviewDataFetcher } from './utils/logs_overview_fetchers';
-import type { LogStreamSerializedState } from './components/log_stream/types';
import {
hostsTitle,
inventoryTitle,
@@ -94,8 +88,6 @@ export class Plugin implements InfraClientPluginClass {
}
setup(core: InfraClientCoreSetup, pluginsSetup: InfraClientSetupDeps) {
- const isLogsStreamEnabled = core.uiSettings.get(OBSERVABILITY_ENABLE_LOGS_STREAM, false);
-
if (pluginsSetup.home) {
registerFeatures(pluginsSetup.home);
}
@@ -141,7 +133,7 @@ export class Plugin implements InfraClientPluginClass {
)
);
- const logRoutes = getLogsAppRoutes({ isLogsStreamEnabled });
+ const logRoutes = getLogsAppRoutes();
/** !! Need to be kept in sync with the deepLinks in x-pack/plugins/observability_solution/infra/public/plugin.ts */
pluginsSetup.observabilityShared.navigation.registerSections(
@@ -335,48 +327,11 @@ export class Plugin implements InfraClientPluginClass {
}
start(core: InfraClientCoreStart, plugins: InfraClientStartDeps) {
- const { http, uiSettings } = core;
- const isLogsStreamEnabled = uiSettings.get(OBSERVABILITY_ENABLE_LOGS_STREAM, false);
+ const { http } = core;
const inventoryViews = this.inventoryViews.start({ http });
const metricsExplorerViews = this.metricsExplorerViews?.start({ http });
const telemetry = this.telemetry.start();
- if (isLogsStreamEnabled) {
- plugins.uiActions.registerAction({
- id: ADD_LOG_STREAM_ACTION_ID,
- grouping: [COMMON_EMBEDDABLE_GROUPING.legacy],
- order: 30,
- getDisplayName: () =>
- i18n.translate('xpack.infra.logStreamEmbeddable.displayName', {
- defaultMessage: 'Log stream (deprecated)',
- }),
- getDisplayNameTooltip: () =>
- i18n.translate('xpack.infra.logStreamEmbeddable.description', {
- defaultMessage:
- 'Add a table of live streaming logs. For a more efficient experience, we recommend using the Discover Page to create a saved Discover session instead of using Log stream.',
- }),
- getIconType: () => 'logsApp',
- isCompatible: async ({ embeddable }) => {
- return apiCanAddNewPanel(embeddable);
- },
- execute: async ({ embeddable }) => {
- if (!apiCanAddNewPanel(embeddable)) throw new IncompatibleActionError();
- embeddable.addNewPanel(
- {
- panelType: LOG_STREAM_EMBEDDABLE,
- initialState: {
- title: i18n.translate('xpack.infra.logStreamEmbeddable.title', {
- defaultMessage: 'Log stream',
- }),
- },
- },
- true
- );
- },
- });
- plugins.uiActions.attachAction(ADD_PANEL_TRIGGER, ADD_LOG_STREAM_ACTION_ID);
- }
-
const startContract: InfraClientStartExports = {
inventoryViews,
metricsExplorerViews,
@@ -411,13 +366,9 @@ const getLogsNavigationEntries = ({
});
}
- // Display Stream nav entry when Logs Stream is enabled
- if (routes.stream) entries.push(createNavEntryFromRoute(routes.stream));
// Display always Logs Anomalies and Logs Categories entries
entries.push(createNavEntryFromRoute(routes.logsAnomalies));
entries.push(createNavEntryFromRoute(routes.logsCategories));
- // Display Logs Settings entry when Logs Stream is not enabled
- if (!routes.stream) entries.push(createNavEntryFromRoute(routes.settings));
return entries;
};
diff --git a/x-pack/plugins/observability_solution/infra/server/plugin.ts b/x-pack/plugins/observability_solution/infra/server/plugin.ts
index 6008954b63bde..6eac138e9fc91 100644
--- a/x-pack/plugins/observability_solution/infra/server/plugin.ts
+++ b/x-pack/plugins/observability_solution/infra/server/plugin.ts
@@ -52,7 +52,6 @@ import {
} from './types';
import { UsageCollector } from './usage/usage_collector';
import { mapSourceToLogView } from './utils/map_source_to_log_view';
-import { uiSettings } from '../common/ui_settings';
export interface KbnServer extends Server {
usage: any;
@@ -134,9 +133,6 @@ export class InfraServerPlugin
const inventoryViews = this.inventoryViews.setup();
const metricsExplorerViews = this.metricsExplorerViews?.setup();
- // Register uiSettings config
- core.uiSettings.register(uiSettings);
-
// Register saved object types
core.savedObjects.registerType(infraSourceConfigurationSavedObjectType);
core.savedObjects.registerType(inventoryViewSavedObjectType);
diff --git a/x-pack/plugins/observability_solution/infra/tsconfig.json b/x-pack/plugins/observability_solution/infra/tsconfig.json
index 639780d61ae82..6ec9100ce7661 100644
--- a/x-pack/plugins/observability_solution/infra/tsconfig.json
+++ b/x-pack/plugins/observability_solution/infra/tsconfig.json
@@ -101,7 +101,6 @@
"@kbn/react-kibana-context-render",
"@kbn/react-kibana-context-theme",
"@kbn/presentation-publishing",
- "@kbn/presentation-containers",
"@kbn/deeplinks-observability",
"@kbn/event-annotation-common",
"@kbn/logs-data-access-plugin",
@@ -110,8 +109,6 @@
"@kbn/core-application-browser",
"@kbn/shared-ux-page-no-data-types",
"@kbn/xstate-utils",
- "@kbn/management-settings-ids",
- "@kbn/core-ui-settings-common",
"@kbn/entityManager-plugin",
"@kbn/entities-schema",
"@kbn/zod",
diff --git a/x-pack/solutions/observability/plugins/observability/public/navigation_tree.ts b/x-pack/solutions/observability/plugins/observability/public/navigation_tree.ts
index 16718648c9724..2413a81b32f1c 100644
--- a/x-pack/solutions/observability/plugins/observability/public/navigation_tree.ts
+++ b/x-pack/solutions/observability/plugins/observability/public/navigation_tree.ts
@@ -397,12 +397,6 @@ function createNavTree({ streamsAvailable }: { streamsAvailable?: boolean }) {
}),
renderAs: 'panelOpener',
children: [
- {
- link: 'logs:stream',
- title: i18n.translate('xpack.observability.obltNav.otherTools.logsStream', {
- defaultMessage: 'Logs stream',
- }),
- },
{
link: 'logs:anomalies',
title: i18n.translate('xpack.observability.obltNav.otherTools.logsAnomalies', {
@@ -415,12 +409,6 @@ function createNavTree({ streamsAvailable }: { streamsAvailable?: boolean }) {
defaultMessage: 'Logs categories',
}),
},
- {
- link: 'logs:settings',
- title: i18n.translate('xpack.observability.obltNav.otherTools.logsSettings', {
- defaultMessage: 'Logs settings',
- }),
- },
{ link: 'maps' },
{ link: 'canvas' },
{ link: 'graph' },
diff --git a/x-pack/test/functional/apps/infra/logs/log_stream.ts b/x-pack/test/functional/apps/infra/logs/log_stream.ts
index 16dcc038f7aab..b8f926380e632 100644
--- a/x-pack/test/functional/apps/infra/logs/log_stream.ts
+++ b/x-pack/test/functional/apps/infra/logs/log_stream.ts
@@ -6,7 +6,6 @@
*/
import expect from '@kbn/expect';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { URL } from 'url';
import { FtrProviderContext } from '../../../ftr_provider_context';
@@ -17,20 +16,17 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const retry = getService('retry');
const browser = getService('browser');
const esArchiver = getService('esArchiver');
- const kibanaServer = getService('kibanaServer');
- describe('Log stream', function () {
+ describe.skip('Log stream', function () {
describe('Legacy URL handling', () => {
describe('Correctly handles legacy versions of logFilter', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/infra/8.0.0/logs_and_metrics');
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: true });
});
after(async () => {
await esArchiver.unload(
'x-pack/test/functional/es_archives/infra/8.0.0/logs_and_metrics'
);
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: false });
});
it('Expression and kind', async () => {
const location = {
diff --git a/x-pack/test/functional/apps/infra/logs/log_stream_date_nano.ts b/x-pack/test/functional/apps/infra/logs/log_stream_date_nano.ts
index 141d1bc38c3d3..eb0e23083ad6b 100644
--- a/x-pack/test/functional/apps/infra/logs/log_stream_date_nano.ts
+++ b/x-pack/test/functional/apps/infra/logs/log_stream_date_nano.ts
@@ -6,7 +6,6 @@
*/
import expect from '@kbn/expect';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { FtrProviderContext } from '../../../ftr_provider_context';
import { DATES } from '../constants';
@@ -15,7 +14,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const esArchiver = getService('esArchiver');
const logsUi = getService('logsUi');
const find = getService('find');
- const kibanaServer = getService('kibanaServer');
const logFilter = {
timeRange: {
from: DATES.metricsAndLogs.stream.startWithData,
@@ -23,14 +21,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
},
};
- describe('Log stream supports nano precision', function () {
+ describe.skip('Log stream supports nano precision', function () {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/infra/logs_with_nano_date');
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: true });
});
after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/infra/logs_with_nano_date');
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: false });
});
it('should display logs entries containing date_nano timestamps properly ', async () => {
diff --git a/x-pack/test/functional/apps/infra/logs/logs_source_configuration.ts b/x-pack/test/functional/apps/infra/logs/logs_source_configuration.ts
index 84158051021c3..27fa95ca16696 100644
--- a/x-pack/test/functional/apps/infra/logs/logs_source_configuration.ts
+++ b/x-pack/test/functional/apps/infra/logs/logs_source_configuration.ts
@@ -10,7 +10,6 @@ import {
ELASTIC_HTTP_VERSION_HEADER,
X_ELASTIC_INTERNAL_ORIGIN_REQUEST,
} from '@kbn/core-http-common';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { DATES } from '../constants';
import { FtrProviderContext } from '../../../ftr_provider_context';
@@ -29,14 +28,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const supertest = getService('supertest');
const kibanaServer = getService('kibanaServer');
- describe('Logs Source Configuration', function () {
+ describe.skip('Logs Source Configuration', function () {
before(async () => {
await kibanaServer.savedObjects.cleanStandardList();
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: true });
});
after(async () => {
await kibanaServer.savedObjects.cleanStandardList();
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: false });
});
describe('Allows indices configuration', () => {
diff --git a/x-pack/test/functional/apps/infra/page_not_found.ts b/x-pack/test/functional/apps/infra/page_not_found.ts
index eb1fc77b4f9f9..38860eae0ad71 100644
--- a/x-pack/test/functional/apps/infra/page_not_found.ts
+++ b/x-pack/test/functional/apps/infra/page_not_found.ts
@@ -6,36 +6,26 @@
*/
import expect from '@kbn/expect';
-import { OBSERVABILITY_ENABLE_LOGS_STREAM } from '@kbn/management-settings-ids';
import { FtrProviderContext } from '../../ftr_provider_context';
-const logsPages = ['logs/stream', 'logs/anomalies', 'logs/log-categories', 'logs/settings'];
+const logsPages = ['logs/anomalies', 'logs/log-categories'];
const metricsPages = [
'metrics/inventory',
'metrics/hosts',
'metrics/explorer',
- 'metrics/settings',
'metrics/detail/hosts/host_name',
];
export default ({ getPageObjects, getService }: FtrProviderContext) => {
const pageObjects = getPageObjects(['common', 'infraHome']);
const find = getService('find');
- const kibanaServer = getService('kibanaServer');
const testSubjects = getService('testSubjects');
describe('Infra Not Found page', function () {
this.tags('includeFirefox');
describe('Logs', () => {
- before(async () => {
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: true });
- });
- after(async () => {
- await kibanaServer.uiSettings.update({ [OBSERVABILITY_ENABLE_LOGS_STREAM]: false });
- });
-
it('should render the not found page when the route does not exist', async () => {
await pageObjects.common.navigateToApp('logs/broken-link');
await testSubjects.existOrFail('infraNotFoundPage');
From dec31c5b37e45898d155f430a8981765e10fc9a1 Mon Sep 17 00:00:00 2001
From: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
Date: Thu, 19 Dec 2024 12:39:12 +0000
Subject: [PATCH 06/59] [ObsUX] Use eui font size hook (#204903)
## Summary
Some font-size were not using the correct hook `useEuiFontSize`
---
.../components/shared/stacktrace/cause_stacktrace.tsx | 4 ++--
.../apm/public/components/shared/stacktrace/stackframe.tsx | 6 +++---
.../public/components/logging/log_minimap/time_ruler.tsx | 2 +-
.../inventory_view/components/waffle/gradient_legend.tsx | 5 +++--
.../metrics/inventory_view/components/waffle/group_name.tsx | 6 +++---
.../inventory_view/components/waffle/steps_legend.tsx | 3 ++-
6 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx
index d36a5bf422160..9db86f6147eb9 100644
--- a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx
+++ b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx
@@ -5,7 +5,7 @@
* 2.0.
*/
-import { EuiAccordion, EuiTitle } from '@elastic/eui';
+import { EuiAccordion, EuiTitle, useEuiFontSize } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import React from 'react';
import styled from '@emotion/styled';
@@ -24,7 +24,7 @@ const CausedByContainer = styled('h5')`
const CausedByHeading = styled('span')`
color: ${({ theme }) => theme.euiTheme.colors.textSubdued};
display: block;
- font-size: ${({ theme }) => theme.euiTheme.size.xs};
+ font-size: ${() => useEuiFontSize('xs').fontSize};
font-weight: ${({ theme }) => theme.euiTheme.font.weight.bold};
text-transform: uppercase;
`;
diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx
index 1180b1c9ed05c..8eb6138557d25 100644
--- a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx
+++ b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx
@@ -5,7 +5,7 @@
* 2.0.
*/
-import { EuiAccordion } from '@elastic/eui';
+import { EuiAccordion, useEuiFontSize } from '@elastic/eui';
import React from 'react';
import styled from '@emotion/styled';
import {
@@ -19,8 +19,8 @@ import { Variables } from './variables';
const ContextContainer = styled.div<{ isLibraryFrame: boolean }>`
position: relative;
font-family: ${({ theme }) => theme.euiTheme.font.familyCode};
- font-size: ${({ theme }) => theme.euiTheme.size.s};
- border: 1px solid ${({ theme }) => theme.euiTheme.colors.lightShade};
+ font-size: ${() => useEuiFontSize('s').fontSize};
+ border: ${({ theme }) => theme.euiTheme.border.thin};
border-radius: ${({ theme }) => theme.euiTheme.border.radius.small};
background: ${({ isLibraryFrame, theme }) =>
isLibraryFrame ? theme.euiTheme.colors.emptyShade : theme.euiTheme.colors.lightestShade};
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx
index 59e94333e94ee..93df67958144a 100644
--- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx
+++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx
@@ -60,7 +60,7 @@ export const TimeRuler: React.FC = ({ end, height, start, tickCo
TimeRuler.displayName = 'TimeRuler';
const TimeRulerTickLabel = styled.text`
- font-size: 9px;
+ font-size: ${() => useEuiFontSize('xxxs').fontSize};
line-height: ${() => useEuiFontSize('s').lineHeight};
fill: ${(props) => props.theme.euiTheme.colors.textSubdued};
user-select: none;
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
index d17cd89eaf067..f76f1af711970 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
+++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
@@ -7,6 +7,7 @@
import React from 'react';
import styled from '@emotion/styled';
+import { useEuiFontSize } from '@elastic/eui';
import {
InfraFormatter,
InfraWaffleMapBounds,
@@ -68,7 +69,7 @@ const GradientLegendTick = styled.div`
const GradientLegendTickLine = styled.div`
position: absolute;
- background-color: ${(props) => props.theme.euiTheme.border.color};
+ background-color: ${(props) => props.theme.euiTheme.colors.backgroundBaseSubdued};
width: 1px;
left: 0;
top: 15px;
@@ -83,7 +84,7 @@ const GradientLegendTickLine = styled.div`
const GradientLegendTickLabel = styled.div`
position: absolute;
- font-size: 11px;
+ font-size: ${() => useEuiFontSize('xxs').fontSize};
text-align: center;
top: 0;
left: 0;
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
index 6b93a205f6365..eeafce9a7ae49 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
+++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
@@ -5,7 +5,7 @@
* 2.0.
*/
-import { EuiLink, EuiToolTip } from '@elastic/eui';
+import { EuiLink, EuiToolTip, useEuiFontSize } from '@elastic/eui';
import React from 'react';
import styled from '@emotion/styled';
import { InfraWaffleMapGroup, InfraWaffleMapOptions } from '../../../../../common/inventory/types';
@@ -58,7 +58,7 @@ export class GroupName extends React.PureComponent {
const GroupNameContainer = styled.div`
position: relative;
text-align: center;
- font-size: 16px;
+ font-size: ${(props) => useEuiFontSize('m').fontSize};
margin-bottom: 5px;
top: 20px;
display: flex;
@@ -96,6 +96,6 @@ const Count = styled.div`
flex: 0 0 auto;
border-left: ${(props) => props.theme.euiTheme.border.thin};
padding: 6px 10px;
- font-size: 0.85em;
+ font-size: ${() => useEuiFontSize('xs').fontSize};
font-weight: normal;
`;
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
index 2cdb8ca7d2e2b..2c4ab09fa82d3 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
+++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
@@ -8,6 +8,7 @@
import { darken } from 'polished';
import React from 'react';
import styled from '@emotion/styled';
+import { useEuiFontSize } from '@elastic/eui';
import {
InfraFormatter,
InfraWaffleMapRuleOperator,
@@ -78,5 +79,5 @@ const StepSquareInner = styled.div`
`;
const StepLabel = styled.div`
- font-size: 12px;
+ font-size: ${() => useEuiFontSize('xs').fontSize};
`;
From f31661255b366bb2f50a47b9821874bdc0cd1b8e Mon Sep 17 00:00:00 2001
From: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
Date: Thu, 19 Dec 2024 12:51:11 +0000
Subject: [PATCH 07/59] [Cloud Security] Improve graph node label ellipsis
logic (#204580)
## Summary
This PR improves the logic of node's label truncation. It follows the
guidelines from design:
> - Set the maximum width for names to 160px
> - Truncate names to max two lines
> - I recommend truncating names in the middle, as entity IDs often
differ only in their last characters while starting similarly. This
approach will make it easier to identify differences between names
> - Display the full name in a tooltip on hover for better visibility
Before:
After:
https://github.com/user-attachments/assets/2ab04809-7599-45ab-9aaa-ae1fcabdf969
**How to test**
To test this PR you can run
```
yarn storybook cloud_security_posture_packages
```
### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
---------
Co-authored-by: Sean Rathier
Co-authored-by: Brad White
---
.../src/components/node/diamond_node.tsx | 4 +-
.../src/components/node/ellipse_node.tsx | 9 +-
.../src/components/node/hexagon_node.tsx | 4 +-
.../src/components/node/label.stories.tsx | 117 ++++++++++++++++++
.../graph/src/components/node/label.tsx | 104 ++++++++++++++++
.../src/components/node/pentagon_node.tsx | 4 +-
.../src/components/node/rectangle_node.tsx | 4 +-
.../graph/src/components/node/styles.tsx | 15 +--
8 files changed, 234 insertions(+), 27 deletions(-)
create mode 100644 x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.stories.tsx
create mode 100644 x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx
index c974c0c9a60e6..ac6f51284a98d 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx
@@ -11,7 +11,6 @@ import { Handle, Position } from '@xyflow/react';
import type { EntityNodeViewModel, NodeProps } from '../types';
import {
NodeShapeContainer,
- NodeLabel,
NodeShapeOnHoverSvg,
NodeShapeSvg,
NodeIcon,
@@ -20,6 +19,7 @@ import {
} from './styles';
import { DiamondHoverShape, DiamondShape } from './shapes/diamond_shape';
import { NodeExpandButton } from './node_expand_button';
+import { Label } from './label';
const NODE_WIDTH = 99;
const NODE_HEIGHT = 98;
@@ -81,7 +81,7 @@ export const DiamondNode: React.FC = memo((props: NodeProps) => {
style={HandleStyleOverride}
/>
- {label ? label : id}
+
>
);
});
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx
index 7fccea3b6bcf6..c8de632e893a0 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx
@@ -10,19 +10,18 @@ import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui';
import { Handle, Position } from '@xyflow/react';
import {
NodeShapeContainer,
- NodeLabel,
NodeShapeOnHoverSvg,
NodeShapeSvg,
NodeIcon,
NodeButton,
HandleStyleOverride,
+ NODE_WIDTH,
+ NODE_HEIGHT,
} from './styles';
import type { EntityNodeViewModel, NodeProps } from '../types';
import { EllipseHoverShape, EllipseShape } from './shapes/ellipse_shape';
import { NodeExpandButton } from './node_expand_button';
-
-const NODE_WIDTH = 90;
-const NODE_HEIGHT = 90;
+import { Label } from './label';
// eslint-disable-next-line react/display-name
export const EllipseNode: React.FC = memo((props: NodeProps) => {
@@ -81,7 +80,7 @@ export const EllipseNode: React.FC = memo((props: NodeProps) => {
style={HandleStyleOverride}
/>
- {label ? label : id}
+
>
);
});
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx
index ca90094344072..f5ee7d92605cc 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx
@@ -10,7 +10,6 @@ import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui';
import { Handle, Position } from '@xyflow/react';
import {
NodeShapeContainer,
- NodeLabel,
NodeShapeOnHoverSvg,
NodeShapeSvg,
NodeIcon,
@@ -20,6 +19,7 @@ import {
import type { EntityNodeViewModel, NodeProps } from '../types';
import { HexagonHoverShape, HexagonShape } from './shapes/hexagon_shape';
import { NodeExpandButton } from './node_expand_button';
+import { Label } from './label';
const NODE_WIDTH = 87;
const NODE_HEIGHT = 96;
@@ -81,7 +81,7 @@ export const HexagonNode: React.FC = memo((props: NodeProps) => {
style={HandleStyleOverride}
/>
- {label ? label : id}
+
>
);
});
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.stories.tsx
new file mode 100644
index 0000000000000..97a55f9b88f64
--- /dev/null
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.stories.tsx
@@ -0,0 +1,117 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import React from 'react';
+import { ThemeProvider } from '@emotion/react';
+import { pick } from 'lodash';
+import { ReactFlow, Controls, Background } from '@xyflow/react';
+import { Story } from '@storybook/react';
+import { NodeViewModel } from '../types';
+import { HexagonNode, PentagonNode, EllipseNode, RectangleNode, DiamondNode, LabelNode } from '.';
+
+import '@xyflow/react/dist/style.css';
+
+export default {
+ title: 'Components/Graph Components/Labels',
+ description: 'CDR - Graph visualization',
+ argTypes: {
+ color: {
+ options: ['primary', 'danger', 'warning'],
+ control: { type: 'radio' },
+ },
+ shape: {
+ options: ['ellipse', 'hexagon', 'pentagon', 'rectangle', 'diamond', 'label'],
+ control: { type: 'radio' },
+ },
+ expandButtonClick: { action: 'expandButtonClick' },
+ },
+};
+
+const nodeTypes = {
+ hexagon: HexagonNode,
+ pentagon: PentagonNode,
+ ellipse: EllipseNode,
+ rectangle: RectangleNode,
+ diamond: DiamondNode,
+ label: LabelNode,
+};
+
+const Template: Story = (args: NodeViewModel) => (
+
+
+
+
+
+
+);
+
+export const ShortLabel = Template.bind({});
+
+ShortLabel.args = {
+ id: 'siem-windows',
+ label: '',
+ color: 'primary',
+ shape: 'hexagon',
+ icon: 'okta',
+ interactive: true,
+};
+
+export const ArnLabel = Template.bind({});
+
+ArnLabel.args = {
+ id: 'siem-windows',
+ label: 'arn:aws:iam::1234567890:user/lorem-ipsumdol-sitamet-user-1234',
+ color: 'primary',
+ shape: 'hexagon',
+ icon: 'okta',
+ interactive: true,
+};
+
+export const DashedLabel = Template.bind({});
+
+DashedLabel.args = {
+ id: 'siem-windows',
+ label: 'lore-ipsumdol-sitameta-consectetu-adipis342',
+ color: 'primary',
+ shape: 'hexagon',
+ icon: 'okta',
+ interactive: true,
+};
+
+export const NoSpacesLabel = Template.bind({});
+
+NoSpacesLabel.args = {
+ id: 'siem-windows',
+ label: 'LoremIpsumDolorSitAmetConsectetur123',
+ color: 'primary',
+ shape: 'hexagon',
+ icon: 'okta',
+ interactive: true,
+};
+
+export const NoSpacesAllLoweredLabel = Template.bind({});
+
+NoSpacesAllLoweredLabel.args = {
+ id: 'siem-windows',
+ label: 'loremipsumdolorsitametconsectetur123',
+ color: 'primary',
+ shape: 'hexagon',
+ icon: 'okta',
+ interactive: true,
+};
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx
new file mode 100644
index 0000000000000..098a3e0dd89c7
--- /dev/null
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx
@@ -0,0 +1,104 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import React, { memo, type PropsWithChildren } from 'react';
+import { EuiText, EuiTextTruncate, EuiToolTip } from '@elastic/eui';
+import { css } from '@emotion/react';
+import styled from '@emotion/styled';
+import { NODE_LABEL_WIDTH, NODE_WIDTH } from './styles';
+
+const WORD_BOUNDARIES_REGEX = /\b/;
+const FORCE_BREAK_REGEX = /(.{10})/;
+
+/**
+ * A component that renders an element with breaking opportunities (``s)
+ * spliced into text children at word boundaries.
+ * Copied from x-pack/plugins/security_solution/public/resolver/view/generated_text.tsx
+ */
+const GeneratedText = memo>(function ({ children }) {
+ return <>{processedValue()}>;
+
+ function processedValue() {
+ return React.Children.map(children, (child) => {
+ if (typeof child === 'string') {
+ let valueSplitByWordBoundaries = child.split(WORD_BOUNDARIES_REGEX);
+
+ if (valueSplitByWordBoundaries.length < 2) {
+ valueSplitByWordBoundaries = child.split(FORCE_BREAK_REGEX);
+
+ if (valueSplitByWordBoundaries.length < 2) {
+ return valueSplitByWordBoundaries[0];
+ }
+ }
+
+ return [
+ valueSplitByWordBoundaries[0],
+ ...valueSplitByWordBoundaries
+ .splice(1)
+ .reduce((generatedTextMemo: Array, value) => {
+ if (
+ generatedTextMemo.length > 0 &&
+ typeof generatedTextMemo[generatedTextMemo.length - 1] === 'object'
+ ) {
+ return [...generatedTextMemo, value];
+ }
+ return [...generatedTextMemo, value, ];
+ }, []),
+ ];
+ } else {
+ return child;
+ }
+ });
+ }
+});
+
+GeneratedText.displayName = 'GeneratedText';
+
+export interface LabelProps {
+ text?: string;
+}
+
+const LabelComponent: React.FC = ({ text = '' }: LabelProps) => {
+ const [isTruncated, setIsTruncated] = React.useState(false);
+
+ return (
+
+
+
+ {(truncatedText) => (
+ <>
+ {setIsTruncated(truncatedText.length !== text.length)}
+ {{truncatedText} }
+ >
+ )}
+
+
+
+ );
+};
+
+export const Label = styled(LabelComponent)`
+ width: ${NODE_LABEL_WIDTH}px;
+ margin-left: ${-(NODE_LABEL_WIDTH - NODE_WIDTH) / 2}px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+`;
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx
index 159f78a83b279..6888f1c83c558 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx
@@ -11,7 +11,6 @@ import styled from '@emotion/styled';
import { Handle, Position } from '@xyflow/react';
import {
NodeShapeContainer,
- NodeLabel,
NodeShapeOnHoverSvg,
NodeShapeSvg,
NodeIcon,
@@ -21,6 +20,7 @@ import {
import type { EntityNodeViewModel, NodeProps } from '../types';
import { PentagonHoverShape, PentagonShape } from './shapes/pentagon_shape';
import { NodeExpandButton } from './node_expand_button';
+import { Label } from './label';
const PentagonShapeOnHover = styled(NodeShapeOnHoverSvg)`
transform: translate(-50%, -51.5%);
@@ -86,7 +86,7 @@ export const PentagonNode: React.FC = memo((props: NodeProps) => {
style={HandleStyleOverride}
/>
- {label ? label : id}
+
>
);
});
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx
index 6884974982838..8b55a0898586c 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx
@@ -10,7 +10,6 @@ import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui';
import { Handle, Position } from '@xyflow/react';
import {
NodeShapeContainer,
- NodeLabel,
NodeShapeOnHoverSvg,
NodeShapeSvg,
NodeIcon,
@@ -20,6 +19,7 @@ import {
import type { EntityNodeViewModel, NodeProps } from '../types';
import { RectangleHoverShape, RectangleShape } from './shapes/rectangle_shape';
import { NodeExpandButton } from './node_expand_button';
+import { Label } from './label';
const NODE_WIDTH = 81;
const NODE_HEIGHT = 80;
@@ -81,7 +81,7 @@ export const RectangleNode: React.FC = memo((props: NodeProps) => {
style={HandleStyleOverride}
/>
- {label ? label : id}
+
>
);
});
diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx
index eed8b50c9038c..2982c4145370e 100644
--- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx
+++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx
@@ -24,7 +24,7 @@ export const LABEL_PADDING_X = 15;
export const LABEL_BORDER_WIDTH = 1;
export const NODE_WIDTH = 90;
export const NODE_HEIGHT = 90;
-const NODE_LABEL_WIDTH = 120;
+export const NODE_LABEL_WIDTH = 160;
export const LabelNodeContainer = styled.div`
text-wrap: nowrap;
@@ -185,19 +185,6 @@ export const NodeIcon = ({ icon, color, x, y }: NodeIconProps) => {
);
};
-export const NodeLabel = styled(EuiText)`
- width: ${NODE_LABEL_WIDTH}px;
- margin-left: ${-(NODE_LABEL_WIDTH - NODE_WIDTH) / 2}px;
- text-overflow: ellipsis;
- // white-space: nowrap;
- overflow: hidden;
-`;
-
-NodeLabel.defaultProps = {
- size: 'xs',
- textAlign: 'center',
-};
-
export const ExpandButtonSize = 18;
export const RoundEuiButtonIcon = styled(EuiButtonIcon)`
From 6f28942e1ece04051c8e3d031b02ef185e81fc89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Loix?=
Date: Thu, 19 Dec 2024 12:52:35 +0000
Subject: [PATCH 08/59] [Serverless] Remove "userAndRoles" from es and security
nav tree (#204740)
---
x-pack/plugins/serverless_search/public/navigation_tree.ts | 4 ----
.../public/navigation/side_navigation.ts | 5 +----
.../functional/test_suites/search/navigation.ts | 2 --
3 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/x-pack/plugins/serverless_search/public/navigation_tree.ts b/x-pack/plugins/serverless_search/public/navigation_tree.ts
index ae1d856e8f529..7d62be658166a 100644
--- a/x-pack/plugins/serverless_search/public/navigation_tree.ts
+++ b/x-pack/plugins/serverless_search/public/navigation_tree.ts
@@ -165,10 +165,6 @@ export const navigationTree = ({ isAppRegistered }: ApplicationStart): Navigatio
defaultMessage: 'Management',
}),
},
- {
- id: 'cloudLinkUserAndRoles',
- cloudLink: 'userAndRoles',
- },
{
id: 'cloudLinkDeployment',
cloudLink: 'deployment',
diff --git a/x-pack/solutions/security/plugins/security_solution_serverless/public/navigation/side_navigation.ts b/x-pack/solutions/security/plugins/security_solution_serverless/public/navigation/side_navigation.ts
index 139e1fe1f8064..b8e7bdea916c5 100644
--- a/x-pack/solutions/security/plugins/security_solution_serverless/public/navigation/side_navigation.ts
+++ b/x-pack/solutions/security/plugins/security_solution_serverless/public/navigation/side_navigation.ts
@@ -31,10 +31,7 @@ export const initSideNavigation = async (services: Services) => {
) as GroupDefinition;
if (footerGroup) {
footerGroup.title = PROJECT_SETTINGS_TITLE;
- footerGroup.children.push(
- { cloudLink: 'userAndRoles', openInNewTab: true },
- { cloudLink: 'billingAndSub', openInNewTab: true }
- );
+ footerGroup.children.push({ cloudLink: 'billingAndSub', openInNewTab: true });
}
})
)
diff --git a/x-pack/test_serverless/functional/test_suites/search/navigation.ts b/x-pack/test_serverless/functional/test_suites/search/navigation.ts
index 3c1922892addc..6d482eeacbc7b 100644
--- a/x-pack/test_serverless/functional/test_suites/search/navigation.ts
+++ b/x-pack/test_serverless/functional/test_suites/search/navigation.ts
@@ -256,7 +256,6 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
await solutionNavigation.sidenav.expectLinkExists({ text: 'Trained models' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Management' });
- await solutionNavigation.sidenav.expectLinkExists({ text: 'Users and roles' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Performance' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Billing and subscription' });
@@ -281,7 +280,6 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
'project_settings_project_nav',
'ml:modelManagement',
'management',
- 'cloudLinkUserAndRoles',
'cloudLinkDeployment',
'cloudLinkBilling',
]);
From 094e4ae2d5e0c87a0adee394c650f1a9d27fb494 Mon Sep 17 00:00:00 2001
From: Peter Pisljar
Date: Thu, 19 Dec 2024 13:56:56 +0100
Subject: [PATCH 09/59] prerequesites part 1 for lens ESQL generation (#203962)
---
.../filters/build_filters/exists_filter.ts | 13 +++++++
.../src/filters/build_filters/range_filter.ts | 14 ++++++++
.../packages/shared/kbn-esql-utils/index.ts | 1 +
.../shared/kbn-esql-utils/src/index.ts | 1 +
.../src/utils/append_to_query.ts | 3 +-
.../src/utils/sanitaze_input.ts | 12 +++++++
.../buckets/lib/time_buckets/time_buckets.ts | 2 +-
.../utils/calculate_auto_time_expression.ts | 36 ++++++++++++++++---
.../data/common/search/expressions/esql.ts | 32 ++++++++++++++---
9 files changed, 104 insertions(+), 10 deletions(-)
create mode 100644 src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts
diff --git a/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts b/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts
index 5cce6d939156a..7246962a85269 100644
--- a/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts
+++ b/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts
@@ -57,3 +57,16 @@ export const buildExistsFilter = (field: DataViewFieldBase, indexPattern: DataVi
},
} as ExistsFilter;
};
+
+export const buildSimpleExistFilter = (fieldName: string, dataViewId: string) => {
+ return {
+ meta: {
+ index: dataViewId,
+ },
+ query: {
+ exists: {
+ field: fieldName,
+ },
+ },
+ } as ExistsFilter;
+};
diff --git a/packages/kbn-es-query/src/filters/build_filters/range_filter.ts b/packages/kbn-es-query/src/filters/build_filters/range_filter.ts
index ebc11d36550d2..5b89e57548655 100644
--- a/packages/kbn-es-query/src/filters/build_filters/range_filter.ts
+++ b/packages/kbn-es-query/src/filters/build_filters/range_filter.ts
@@ -187,6 +187,20 @@ export const buildRangeFilter = (
}
};
+export const buildSimpleNumberRangeFilter = (
+ fieldName: string,
+ params: RangeFilterParams,
+ value: string,
+ dataViewId: string
+) => {
+ return buildRangeFilter(
+ { name: fieldName, type: 'number' },
+ params,
+ { id: dataViewId, title: dataViewId },
+ value
+ );
+};
+
/**
* @internal
*/
diff --git a/src/platform/packages/shared/kbn-esql-utils/index.ts b/src/platform/packages/shared/kbn-esql-utils/index.ts
index 0956816c59ed7..7d75e230389f5 100644
--- a/src/platform/packages/shared/kbn-esql-utils/index.ts
+++ b/src/platform/packages/shared/kbn-esql-utils/index.ts
@@ -33,6 +33,7 @@ export {
isESQLColumnGroupable,
isESQLFieldGroupable,
TextBasedLanguages,
+ sanitazeESQLInput,
queryCannotBeSampled,
} from './src';
diff --git a/src/platform/packages/shared/kbn-esql-utils/src/index.ts b/src/platform/packages/shared/kbn-esql-utils/src/index.ts
index d56a56c62d6ba..a28d9c6244f74 100644
--- a/src/platform/packages/shared/kbn-esql-utils/src/index.ts
+++ b/src/platform/packages/shared/kbn-esql-utils/src/index.ts
@@ -37,3 +37,4 @@ export {
isESQLColumnGroupable,
isESQLFieldGroupable,
} from './utils/esql_fields_utils';
+export { sanitazeESQLInput } from './utils/sanitaze_input';
diff --git a/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts
index 36af3c91a8f04..4a7736714effa 100644
--- a/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts
+++ b/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts
@@ -8,6 +8,7 @@
*/
import { getAstAndSyntaxErrors } from '@kbn/esql-ast';
+import { sanitazeESQLInput } from './sanitaze_input';
// Append in a new line the appended text to take care of the case where the user adds a comment at the end of the query
// in these cases a base query such as "from index // comment" will result in errors or wrong data if we don't append in a new line
@@ -43,7 +44,7 @@ export function appendWhereClauseToESQLQuery(
let filterValue =
typeof value === 'string' ? `"${value.replace(/\\/g, '\\\\').replace(/\"/g, '\\"')}"` : value;
// Adding the backticks here are they are needed for special char fields
- let fieldName = `\`${field}\``;
+ let fieldName = sanitazeESQLInput(field);
// casting to string
// there are some field types such as the ip that need
diff --git a/src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts
new file mode 100644
index 0000000000000..a776b1b4ae961
--- /dev/null
+++ b/src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts
@@ -0,0 +1,12 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+export function sanitazeESQLInput(input: string): string | undefined {
+ return `\`${input.replace(/`/g, '``')}\``;
+}
diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts
index 9028a696ef022..054a7b923ca6a 100644
--- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts
+++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts
@@ -23,7 +23,7 @@ import {
} from './calc_es_interval';
import { autoInterval } from '../../_interval_options';
-interface TimeBucketsInterval extends moment.Duration {
+export interface TimeBucketsInterval extends moment.Duration {
// TODO double-check whether all of these are needed
description: string;
esValue: EsInterval['value'];
diff --git a/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts b/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts
index c16810f27280b..fa9e2b45f0562 100644
--- a/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts
+++ b/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts
@@ -8,6 +8,7 @@
*/
import moment from 'moment';
+import { TimeBucketsInterval } from '../buckets/lib/time_buckets/time_buckets';
import { UI_SETTINGS } from '../../../constants';
import { TimeRange } from '../../../query';
import { TimeBuckets } from '../buckets/lib/time_buckets';
@@ -15,7 +16,28 @@ import { toAbsoluteDates } from './date_interval_utils';
import { autoInterval } from '../buckets/_interval_options';
export function getCalculateAutoTimeExpression(getConfig: (key: string) => any) {
- return function calculateAutoTimeExpression(range: TimeRange) {
+ function calculateAutoTimeExpression(range: TimeRange): string | undefined;
+ function calculateAutoTimeExpression(
+ range: TimeRange,
+ interval: string,
+ asExpression?: true
+ ): string | undefined;
+ function calculateAutoTimeExpression(
+ range: TimeRange,
+ interval: string,
+ asExpression: false
+ ): TimeBucketsInterval | undefined;
+ function calculateAutoTimeExpression(
+ range: TimeRange,
+ interval?: string,
+ asExpression?: boolean
+ ): string | TimeBucketsInterval | undefined;
+
+ function calculateAutoTimeExpression(
+ range: TimeRange,
+ interval: string = autoInterval,
+ asExpression: boolean = true
+ ): string | TimeBucketsInterval | undefined {
const dates = toAbsoluteDates(range);
if (!dates) {
return;
@@ -28,12 +50,18 @@ export function getCalculateAutoTimeExpression(getConfig: (key: string) => any)
'dateFormat:scaled': getConfig('dateFormat:scaled'),
});
- buckets.setInterval(autoInterval);
+ buckets.setInterval(interval);
buckets.setBounds({
min: moment(dates.from),
max: moment(dates.to),
});
- return buckets.getInterval().expression;
- };
+ const intervalResult = buckets.getInterval();
+ if (asExpression) {
+ return intervalResult.expression;
+ }
+ return intervalResult;
+ }
+
+ return calculateAutoTimeExpression;
}
diff --git a/src/plugins/data/common/search/expressions/esql.ts b/src/plugins/data/common/search/expressions/esql.ts
index cc1180ff57e49..59f5d2a642fbf 100644
--- a/src/plugins/data/common/search/expressions/esql.ts
+++ b/src/plugins/data/common/search/expressions/esql.ts
@@ -17,7 +17,7 @@ import type {
} from '@kbn/search-types';
import type { Datatable, ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common';
import { RequestAdapter } from '@kbn/inspector-plugin/common';
-import { getStartEndParams } from '@kbn/esql-utils';
+import { getIndexPatternFromESQLQuery, getStartEndParams } from '@kbn/esql-utils';
import { zipObject } from 'lodash';
import { catchError, defer, map, Observable, switchMap, tap, throwError } from 'rxjs';
import { buildEsQuery, type Filter } from '@kbn/es-query';
@@ -58,6 +58,7 @@ interface Arguments {
*/
titleForInspector?: string;
descriptionForInspector?: string;
+ ignoreGlobalFilters?: boolean;
}
export type EsqlExpressionFunctionDefinition = ExpressionFunctionDefinition<
@@ -140,10 +141,24 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
defaultMessage: 'The description to show in Inspector.',
}),
},
+ ignoreGlobalFilters: {
+ types: ['boolean'],
+ default: false,
+ help: i18n.translate('data.search.esql.ignoreGlobalFilters.help', {
+ defaultMessage: 'Whether to ignore or use global query and filters',
+ }),
+ },
},
fn(
input,
- { query, /* timezone, */ timeField, locale, titleForInspector, descriptionForInspector },
+ {
+ query,
+ /* timezone, */ timeField,
+ locale,
+ titleForInspector,
+ descriptionForInspector,
+ ignoreGlobalFilters,
+ },
{ abortSignal, inspectorAdapters, getKibanaRequest }
) {
return defer(() =>
@@ -202,7 +217,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
: undefined;
const filters = [
- ...(input.filters ?? []),
+ ...(ignoreGlobalFilters ? [] : input.filters ?? []),
...(timeFilter ? [timeFilter] : []),
...(delayFilter ? [delayFilter] : []),
];
@@ -311,6 +326,8 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
const lookup = new Set(
hasEmptyColumns ? body.columns?.map(({ name }) => name) || [] : []
);
+ const indexPattern = getIndexPatternFromESQLQuery(query);
+
const allColumns =
(body.all_columns ?? body.columns)?.map(({ name, type }) => ({
id: name,
@@ -323,8 +340,11 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
? {
appliedTimeRange: input?.timeRange,
params: {},
+ indexPattern,
}
- : {},
+ : {
+ indexPattern,
+ },
},
isNull: hasEmptyColumns ? !lookup.has(name) : false,
})) ?? [];
@@ -341,6 +361,10 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
type: 'datatable',
meta: {
type: ESQL_TABLE_TYPE,
+ query,
+ statistics: {
+ totalCount: body.values.length,
+ },
},
columns: allColumns,
rows,
From f72b63f3b7c9575605b30d9dcffeec6d9d68574e Mon Sep 17 00:00:00 2001
From: Elena Stoeva <59341489+ElenaStoeva@users.noreply.github.com>
Date: Thu, 19 Dec 2024 13:11:52 +0000
Subject: [PATCH 10/59] [Index Management] Add bulk edit data retention
(#203083)
Closes https://github.com/elastic/kibana/issues/165142
## Summary
This PR adds bulk edit data retention to Data streams table.
On all offerings apart from serverless security project:
https://github.com/user-attachments/assets/aa091fc1-5029-4542-b76b-8045c65dda27
On serverless security project:
https://github.com/user-attachments/assets/cbccc8bd-d3f1-4511-8134-bfb0a9e8587f
### How to test:
Testing in serverless security project:
1. Start ES with `yarn es serverless --projectType security -E
data_streams.lifecycle.retention.max=200d` and Kibana with `yarn
serverless-security`
2. Navigate to console and create a few data streams following [these
instructions](https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-a-data-stream.html#create-component-templates)
3. Navigate to Index Management -> Data streams
4. Select multiple data streams and click on bulk edit data retention
button
5. Verify that:
- The help text displays the set max data retention with a link to
cloud.
- The form doesn't allow setting a data retention higher than the max
data retention.
- If any of the data streams has a reduced data retention period, an
error banner is shown, displaying the affected data streams.
Testing in stateful and searc/oblt serverless project:
1. Start ES with `yarn es serverless` and Kibana with `yarn
serverless-security`
2. Navigate to console and create a few data streams following [this
instructions](https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-a-data-stream.html#create-component-templates)
3. Navigate to Index Management -> Data streams
4. Select multiple data streams and click on bulk edit data retention
button
5. Verify that:
- There is no help text displaying the max data retention and no
validation for the data retention period.
- If any of the data streams has a reduced data retention period, an
error banner is shown, displaying the affected data streams.
Configure cloud locally by adding the following to
`config/kibana.dev.yml` and restarting Kibana:
```
xpack.cloud.id: 'test'
xpack.cloud.base_url: "https://cloud.elastic.co"
xpack.cloud.deployment_url: "/deployments/deploymentId"
```
### Checklist
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed -
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7619
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
.../translations/translations/fr-FR.json | 7 -
.../translations/translations/ja-JP.json | 7 -
.../translations/translations/zh-CN.json | 6 -
.../home/data_streams_tab.helpers.ts | 12 +
.../home/data_streams_tab.test.ts | 174 ++++++++-
.../data_stream_actions_menu.tsx | 66 ++++
.../data_stream_actions_menu/index.ts | 8 +
.../data_stream_detail_panel.tsx | 3 +-
.../data_stream_table/data_stream_table.tsx | 60 ++-
.../edit_data_retention_modal.tsx | 356 ++++++++----------
.../mixed_indices_callout.tsx | 74 ++++
.../edit_data_retention_modal/schema.ts | 110 ++++++
.../edit_data_retention_modal/validations.ts | 5 +-
.../public/application/services/api.ts | 10 +-
.../index_management/public/index.scss | 4 +
.../api/data_streams/data_streams.test.ts | 12 +-
.../api/data_streams/register_get_route.ts | 6 +
.../api/data_streams/register_put_route.ts | 15 +-
x-pack/plugins/index_management/tsconfig.json | 1 +
.../index_management/data_streams.ts | 41 +-
.../data_streams_tab/data_streams_tab.ts | 184 +++++----
.../page_objects/index_management_page.ts | 11 +
.../common/index_management/datastreams.ts | 9 +-
23 files changed, 840 insertions(+), 341 deletions(-)
create mode 100644 x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
create mode 100644 x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
create mode 100644 x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx
create mode 100644 x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts
diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
index 458e4ab1e73e5..3c7628ebbdd67 100644
--- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json
+++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
@@ -22141,7 +22141,6 @@
"xpack.idxMgmt.dataStreamList.table.actionDeleteText": "Supprimer",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "Conservation des données",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "Les données sont conservées au moins pour cette durée avant leur suppression automatique. La valeur de rétention de données s'applique uniquement aux données gérées directement par le flux de données. {canDisableDataRetention, plural, one {Si certaines données sont sujettes à une politique de gestion du cycle de vie de l'index, alors la valeur de conservation des données réglée pour le flux de données ne s'applique par à ces données.} other {}}",
- "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "Supprimer {count, plural, one {le flux de données} other {les flux de données} }",
"xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "Intégrité",
"xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "Masqué",
"xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "Index",
@@ -22157,22 +22156,16 @@
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "Statistiques incluses",
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "L'inclusion de statistiques peut augmenter le temps de rechargement",
"xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "En savoir plus.",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "Annuler",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "Activer la conservation des données",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "Conservation des données",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "Une valeur positive est requise.",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError": "Une valeur de conservation des données est requise.",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification": "Erreur lors de la mise à niveau de la conservation des données : \"{error}\"",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "Stratégie ILM",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "Afin de modifier la conservation des données pour ce flux de données, vous devez modifier le {link} associé.",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "Ce flux de données et les index associés sont gérés par la stratégie ILM",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "Comment ça fonctionne ?",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "Enregistrer",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "Un index ou plus sont gérés par une politique ILM ({viewAllIndicesLink}). La mise à niveau de la conservation des données pour ce flux de données n'aura pas d'incidence sur ces index. À la place, vous devrez mettre à niveau la politique {ilmPolicyLink}.",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "Certains index sont gérés par la stratégie ILM",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "Conservation des données {disabledDataRetention, plural, one { désactivée } other { mise à niveau } }",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "Unité de temps",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "Unité de temps",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "afficher les index",
"xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "Gérer",
"xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "La valeur doit être un nombre entier.",
diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
index f396226fdf560..75df793165671 100644
--- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json
+++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
@@ -21999,7 +21999,6 @@
"xpack.idxMgmt.dataStreamList.table.actionDeleteText": "削除",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "データ保持",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "データは少なくともこの期間保存された後、自動的に削除されます。データ保持値は、データストリームによって直接管理されたデータにのみ適用されます。{canDisableDataRetention, plural, one {一部のデータにインデックスライフサイクル管理ポリシーが適用される場合、データストリームに設定されたデータ保持値はそのデータに適用されません。} other {}}",
- "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "{count, plural, other {個のデータストリーム}}を削除",
"xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "ヘルス",
"xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "非表示",
"xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "インデックス",
@@ -22015,22 +22014,16 @@
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "統計情報を含める",
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "統計情報を含めると、再読み込み時間が長くなることがあります",
"xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "詳細情報",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "キャンセル",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "データ保持を有効化",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "データ保持",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "正の値が必要です。",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError": "データ保持値が必要です。",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification": "データ保持の更新エラー:''{error}''",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "ILMポリシー",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "このデータストリームのデータ保持を編集するには、関連する{link}を編集する必要があります。",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "このデータストリームと関連するインデックスはILMによって管理されます。",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "仕組み",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "保存",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "ILMポリシー({viewAllIndicesLink})によって1つ以上のインデックスが管理されます。このデータストリームのデータ保持を更新しても、これらのインデックスには影響しません。代わりに、{ilmPolicyLink}ポリシーを更新する必要があります。",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "一部のインデックスはILMによって管理されます。",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "データ保持が{disabledDataRetention, plural, one {無効化されました} other {更新されました} }",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "時間単位",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "時間単位",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "インデックスを表示",
"xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "管理",
"xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "値は整数でなければなりません。",
diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
index 73ef6cc59c976..59207bbfc580b 100644
--- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json
+++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
@@ -21653,7 +21653,6 @@
"xpack.idxMgmt.dataStreamList.table.actionDeleteText": "删除",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "数据保留",
"xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "会至少在这个时长内保留数据,然后自动将其删除。数据保留值仅适用于由数据流直接管理的数据。{canDisableDataRetention, plural, one {如果某些数据受索引生命周期管理策略约束,则为数据流设置的数据保留值不适用于该数据。} other {}}",
- "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "删除{count, plural, other {数据流} }",
"xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "运行状况",
"xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "隐藏",
"xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "索引",
@@ -21669,7 +21668,6 @@
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "包含统计信息",
"xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "包含统计信息可能会延长重新加载时间",
"xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "了解详情。",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "取消",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "启用数据保留",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "数据保留",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "需要提供正值。",
@@ -21677,13 +21675,9 @@
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "ILM 策略",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "要编辑此数据流的数据保留,必须编辑其关联 {link}。",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "此数据流及其关联索引由 ILM 管理",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "工作原理?",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "保存",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "一个或多个索引由 ILM 策略管理 ({viewAllIndicesLink})。更新此数据流的数据保留不会影响到这些索引。相反,您必须更新 {ilmPolicyLink} 策略。",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "某些索引由 ILM 管理",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "数据保留{disabledDataRetention, plural, one {已禁用} other {已更新} }",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "时间单位",
- "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "时间单位",
"xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "查看索引",
"xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "管理",
"xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "此值应为整数。",
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
index 608d2ce5390da..b75d1c507cc7a 100644
--- a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
+++ b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
@@ -37,6 +37,8 @@ export interface DataStreamsTabTestBed extends TestBed {
clickDeleteDataStreamButton: () => void;
clickEditDataRetentionButton: () => void;
clickDetailPanelIndexTemplateLink: () => void;
+ clickManageDataStreamsButton: () => void;
+ clickBulkEditDataRetentionButton: () => void;
};
findDeleteActionAt: (index: number) => ReactWrapper;
findDeleteConfirmationModal: () => ReactWrapper;
@@ -210,6 +212,14 @@ export const setup = async (
component.update();
};
+ const clickManageDataStreamsButton = () => {
+ testBed.find('dataStreamActionsPopoverButton').simulate('click');
+ };
+
+ const clickBulkEditDataRetentionButton = () => {
+ testBed.find('bulkEditDataRetentionButton').simulate('click');
+ };
+
const findDetailPanel = () => {
const { find } = testBed;
return find('dataStreamDetailPanel');
@@ -258,6 +268,8 @@ export const setup = async (
clickDeleteDataStreamButton,
clickEditDataRetentionButton,
clickDetailPanelIndexTemplateLink,
+ clickManageDataStreamsButton,
+ clickBulkEditDataRetentionButton,
},
findDeleteActionAt,
findDeleteConfirmationModal,
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
index 3bc122ad867f6..d3368371de336 100644
--- a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
+++ b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
@@ -449,6 +449,158 @@ describe('Data Streams tab', () => {
});
});
+ describe('bulk update data retention', () => {
+ beforeAll(async () => {
+ const { setLoadDataStreamsResponse, setLoadDataStreamResponse } = httpRequestsMockHelpers;
+
+ const ds1 = createDataStreamPayload({
+ name: 'dataStream1',
+ lifecycle: {
+ enabled: false,
+ },
+ });
+ const ds2 = createDataStreamPayload({
+ name: 'dataStream2',
+ lifecycle: {
+ enabled: true,
+ },
+ });
+
+ setLoadDataStreamsResponse([ds1, ds2]);
+ setLoadDataStreamResponse(ds1.name, ds1);
+
+ testBed = await setup(httpSetup, {
+ history: createMemoryHistory(),
+ url: urlServiceMock,
+ });
+ await act(async () => {
+ testBed.actions.goToDataStreamsList();
+ });
+ testBed.component.update();
+ });
+
+ test('can set data retention period for mutliple data streams', async () => {
+ const {
+ actions: {
+ selectDataStream,
+ clickManageDataStreamsButton,
+ clickBulkEditDataRetentionButton,
+ },
+ } = testBed;
+
+ selectDataStream('dataStream1', true);
+ selectDataStream('dataStream2', true);
+ clickManageDataStreamsButton();
+
+ clickBulkEditDataRetentionButton();
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', {
+ success: true,
+ });
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', {
+ success: true,
+ });
+
+ // set data retention value
+ testBed.form.setInputValue('dataRetentionValue', '7');
+ // Set data retention unit
+ testBed.find('show-filters-button').simulate('click');
+ testBed.find('filter-option-h').simulate('click');
+
+ await act(async () => {
+ testBed.find('saveButton').simulate('click');
+ });
+ testBed.component.update();
+
+ expect(httpSetup.put).toHaveBeenLastCalledWith(
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({
+ body: JSON.stringify({
+ dataRetention: '7h',
+ dataStreams: ['dataStream1', 'dataStream2'],
+ }),
+ })
+ );
+ });
+
+ test('can disable lifecycle', async () => {
+ const {
+ actions: {
+ selectDataStream,
+ clickManageDataStreamsButton,
+ clickBulkEditDataRetentionButton,
+ },
+ } = testBed;
+
+ selectDataStream('dataStream1', true);
+ selectDataStream('dataStream2', true);
+ clickManageDataStreamsButton();
+
+ clickBulkEditDataRetentionButton();
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', {
+ success: true,
+ });
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', {
+ success: true,
+ });
+
+ testBed.form.toggleEuiSwitch('dataRetentionEnabledField.input');
+
+ await act(async () => {
+ testBed.find('saveButton').simulate('click');
+ });
+ testBed.component.update();
+
+ expect(httpSetup.put).toHaveBeenLastCalledWith(
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({
+ body: JSON.stringify({ enabled: false, dataStreams: ['dataStream1', 'dataStream2'] }),
+ })
+ );
+ });
+
+ test('allows to set infinite retention period', async () => {
+ const {
+ actions: {
+ selectDataStream,
+ clickManageDataStreamsButton,
+ clickBulkEditDataRetentionButton,
+ },
+ } = testBed;
+
+ selectDataStream('dataStream1', true);
+ selectDataStream('dataStream2', true);
+ clickManageDataStreamsButton();
+
+ clickBulkEditDataRetentionButton();
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', {
+ success: true,
+ });
+
+ httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', {
+ success: true,
+ });
+
+ testBed.form.toggleEuiSwitch('infiniteRetentionPeriod.input');
+
+ await act(async () => {
+ testBed.find('saveButton').simulate('click');
+ });
+ testBed.component.update();
+
+ expect(httpSetup.put).toHaveBeenLastCalledWith(
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({
+ body: JSON.stringify({ dataStreams: ['dataStream1', 'dataStream2'] }),
+ })
+ );
+ });
+ });
+
describe('detail panel', () => {
test('opens when the data stream name in the table is clicked', async () => {
const { actions, findDetailPanel, findDetailPanelTitle } = testBed;
@@ -557,8 +709,10 @@ describe('Data Streams tab', () => {
testBed.component.update();
expect(httpSetup.put).toHaveBeenLastCalledWith(
- `${API_BASE_PATH}/data_streams/dataStream1/data_retention`,
- expect.objectContaining({ body: JSON.stringify({ dataRetention: '7h' }) })
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({
+ body: JSON.stringify({ dataRetention: '7h', dataStreams: ['dataStream1'] }),
+ })
);
});
@@ -583,8 +737,10 @@ describe('Data Streams tab', () => {
testBed.component.update();
expect(httpSetup.put).toHaveBeenLastCalledWith(
- `${API_BASE_PATH}/data_streams/dataStream1/data_retention`,
- expect.objectContaining({ body: JSON.stringify({ enabled: false }) })
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({
+ body: JSON.stringify({ enabled: false, dataStreams: ['dataStream1'] }),
+ })
);
});
@@ -609,8 +765,8 @@ describe('Data Streams tab', () => {
testBed.component.update();
expect(httpSetup.put).toHaveBeenLastCalledWith(
- `${API_BASE_PATH}/data_streams/dataStream1/data_retention`,
- expect.objectContaining({ body: JSON.stringify({}) })
+ `${API_BASE_PATH}/data_streams/data_retention`,
+ expect.objectContaining({ body: JSON.stringify({ dataStreams: ['dataStream1'] }) })
);
});
});
@@ -664,6 +820,7 @@ describe('Data Streams tab', () => {
enabled: true,
data_retention: '7d',
},
+ ilmPolicyName: 'testILM',
indices: [
{
managedBy: 'Index Lifecycle Management',
@@ -1028,17 +1185,20 @@ describe('Data Streams tab', () => {
test('displays/hides delete action depending on data streams privileges', async () => {
const {
- actions: { selectDataStream },
+ actions: { selectDataStream, clickManageDataStreamsButton },
find,
} = testBed;
selectDataStream('dataStreamNoDelete', true);
+ clickManageDataStreamsButton();
expect(find('deleteDataStreamsButton').exists()).toBeFalsy();
selectDataStream('dataStreamWithDelete', true);
+ clickManageDataStreamsButton();
expect(find('deleteDataStreamsButton').exists()).toBeFalsy();
selectDataStream('dataStreamNoDelete', false);
+ clickManageDataStreamsButton();
expect(find('deleteDataStreamsButton').exists()).toBeTruthy();
});
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
new file mode 100644
index 0000000000000..2464f7ac03e3c
--- /dev/null
+++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
@@ -0,0 +1,66 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui';
+import React, { useState } from 'react';
+import { FormattedMessage } from '@kbn/i18n-react';
+import { EuiContextMenuPanelItemDescriptor } from '@elastic/eui/src/components/context_menu/context_menu';
+import { i18n } from '@kbn/i18n';
+
+interface Props {
+ dataStreamActions: EuiContextMenuPanelItemDescriptor[];
+ selectedDataStreamsCount: number;
+}
+
+export const DataStreamActionsMenu = ({ dataStreamActions, selectedDataStreamsCount }: Props) => {
+ const [isPopoverOpen, setIsPopoverOpen] = useState(false);
+
+ const popoverButton = (
+ setIsPopoverOpen(!isPopoverOpen)}
+ iconType="arrowDown"
+ iconSide="right"
+ fill={true}
+ >
+
+
+ );
+
+ return (
+ setIsPopoverOpen(false)}
+ panelPaddingSize="none"
+ anchorPosition="rightUp"
+ repositionOnScroll={true}
+ >
+
+
+ );
+};
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
new file mode 100644
index 0000000000000..0eb726d3eb79f
--- /dev/null
+++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
@@ -0,0 +1,8 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export { DataStreamActionsMenu } from './data_stream_actions_menu';
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
index 10ef17c566241..0f09a47f43880 100644
--- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
+++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
@@ -550,7 +550,8 @@ export const DataStreamDetailPanel: React.FunctionComponent = ({
}}
ilmPolicyName={dataStream?.ilmPolicyName}
ilmPolicyLink={ilmPolicyLink}
- dataStream={dataStream}
+ dataStreams={[dataStream]}
+ isBulkEdit={false}
/>
)}
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
index 59daae719bf47..e419bda67aeae 100644
--- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
+++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
@@ -24,6 +24,7 @@ import {
import { ScopedHistory } from '@kbn/core/public';
import { useEuiTablePersist } from '@kbn/shared-ux-table-persist';
+import { EuiContextMenuPanelItemDescriptor } from '@elastic/eui/src/components/context_menu/context_menu';
import { MAX_DATA_RETENTION } from '../../../../../../common/constants';
import { useAppContext } from '../../../../app_context';
import { DataStream } from '../../../../../../common/types';
@@ -39,6 +40,8 @@ import { isDataStreamFullyManagedByILM } from '../../../../lib/data_streams';
import { indexModeLabels } from '../../../../lib/index_mode_labels';
import { FilterListButton, Filters } from '../../components';
import { type DataStreamFilterName } from '../data_stream_list';
+import { DataStreamActionsMenu } from '../data_stream_actions_menu';
+import { EditDataRetentionModal } from '../edit_data_retention_modal';
interface TableDataStream extends DataStream {
isDataStreamFullyManagedByILM: boolean;
@@ -70,6 +73,9 @@ export const DataStreamTable: React.FunctionComponent = ({
}) => {
const [selection, setSelection] = useState([]);
const [dataStreamsToDelete, setDataStreamsToDelete] = useState([]);
+ const [dataStreamsToEditDataRetention, setDataStreamsToEditDataRetention] = useState<
+ DataStream[]
+ >([]);
const { config } = useAppContext();
const data = useMemo(() => {
@@ -284,25 +290,40 @@ export const DataStreamTable: React.FunctionComponent = ({
onSelectionChange: setSelection,
};
+ const dataStreamActions: EuiContextMenuPanelItemDescriptor[] = [
+ {
+ name: i18n.translate('xpack.idxMgmt.dataStreamList.table.bulkEditDataRetentionButtonLabel', {
+ defaultMessage: 'Edit data retention',
+ }),
+ icon: 'pencil',
+ onClick: () => setDataStreamsToEditDataRetention(selection),
+ 'data-test-subj': 'bulkEditDataRetentionButton',
+ },
+ ];
+
+ if (selection.every((dataStream: DataStream) => dataStream.privileges.delete_index)) {
+ dataStreamActions.push({
+ name: i18n.translate('xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel', {
+ defaultMessage: 'Delete data streams',
+ }),
+ icon: 'trash',
+ onClick: () => setDataStreamsToDelete(selection.map(({ name }: DataStream) => name)),
+ className: 'dataStreamsBulkDeleteButton',
+ 'data-test-subj': 'deleteDataStreamsButton',
+ });
+ }
+
const searchConfig = {
query: filters,
box: {
incremental: true,
},
toolsLeft:
- selection.length > 0 &&
- selection.every((dataStream: DataStream) => dataStream.privileges.delete_index) ? (
- setDataStreamsToDelete(selection.map(({ name }: DataStream) => name))}
- color="danger"
- >
-
-
+ selection.length > 0 ? (
+
) : undefined,
toolsRight: [
@@ -365,6 +386,19 @@ export const DataStreamTable: React.FunctionComponent = ({
return (
<>
+ {dataStreamsToEditDataRetention && dataStreamsToEditDataRetention.length > 0 ? (
+ {
+ if (res && res.hasUpdatedDataRetention) {
+ reload();
+ } else {
+ setDataStreamsToEditDataRetention([]);
+ }
+ }}
+ dataStreams={dataStreamsToEditDataRetention}
+ isBulkEdit={true}
+ />
+ ) : null}
{dataStreamsToDelete && dataStreamsToDelete.length > 0 ? (
{
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
index b8f2593131663..55d8348400f5f 100644
--- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
+++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
@@ -20,26 +20,20 @@ import {
EuiCallOut,
} from '@elastic/eui';
import { has } from 'lodash';
-import { ScopedHistory } from '@kbn/core/public';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
-import { isBiggerThanGlobalMaxRetention } from './validations';
+import { isRetentionBiggerThan } from './validations';
+import { editDataRetentionFormSchema } from './schema';
import {
useForm,
useFormData,
useFormIsModified,
Form,
- fieldFormatters,
- FormSchema,
- FIELD_TYPES,
UseField,
ToggleField,
NumericField,
- fieldValidators,
} from '../../../../../shared_imports';
-import { reactRouterNavigate } from '../../../../../shared_imports';
-import { getIndexListUri } from '../../../../services/routing';
import { documentationService } from '../../../../services/documentation';
import { splitSizeAndUnits, DataStream } from '../../../../../../common';
import { timeUnits } from '../../../../constants/time_units';
@@ -47,179 +41,36 @@ import { deserializeGlobalMaxRetention, isDSLWithILMIndices } from '../../../../
import { useAppContext } from '../../../../app_context';
import { UnitField } from '../../../../components/shared';
import { updateDataRetention } from '../../../../services/api';
+import { MixedIndicesCallout } from './mixed_indices_callout';
interface Props {
- dataStream: DataStream;
+ dataStreams: DataStream[];
ilmPolicyName?: string;
- ilmPolicyLink: string;
+ ilmPolicyLink?: string;
onClose: (data?: { hasUpdatedDataRetention: boolean }) => void;
+ isBulkEdit: boolean;
}
-const configurationFormSchema: FormSchema = {
- dataRetention: {
- type: FIELD_TYPES.TEXT,
- label: i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField',
- {
- defaultMessage: 'Data retention period',
- }
- ),
- formatters: [fieldFormatters.toInt],
- validations: [
- {
- validator: fieldValidators.isInteger({
- message: i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldIntegerError',
- {
- defaultMessage: 'Only integers are allowed.',
- }
- ),
- }),
- },
- {
- validator: ({ value, formData, customData }) => {
- // We only need to validate the data retention field if infiniteRetentionPeriod is set to false
- if (!formData.infiniteRetentionPeriod) {
- // If project level data retention is enabled, we need to enforce the global max retention
- const { globalMaxRetention, enableProjectLevelRetentionChecks } =
- customData.value as any;
- if (enableProjectLevelRetentionChecks) {
- return isBiggerThanGlobalMaxRetention(value, formData.timeUnit, globalMaxRetention);
- }
- }
- },
- },
- {
- validator: (args) => {
- // We only need to validate the data retention field if infiniteRetentionPeriod is set to false
- if (!args.formData.infiniteRetentionPeriod) {
- return fieldValidators.emptyField(
- i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError',
- {
- defaultMessage: 'A data retention value is required.',
- }
- )
- )(args);
- }
- },
- },
- {
- validator: (args) => {
- // We only need to validate the data retention field if infiniteRetentionPeriod is set to false
- if (!args.formData.infiniteRetentionPeriod) {
- return fieldValidators.numberGreaterThanField({
- than: 0,
- allowEquality: false,
- message: i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError',
- {
- defaultMessage: `A positive value is required.`,
- }
- ),
- })(args);
- }
- },
- },
- ],
- },
- timeUnit: {
- type: FIELD_TYPES.TEXT,
- label: i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField',
- {
- defaultMessage: 'Time unit',
- }
- ),
- },
- infiniteRetentionPeriod: {
- type: FIELD_TYPES.TOGGLE,
- defaultValue: false,
- },
- dataRetentionEnabled: {
- type: FIELD_TYPES.TOGGLE,
- defaultValue: false,
- label: i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField',
- {
- defaultMessage: 'Enable data retention',
- }
- ),
- },
-};
-
-interface MixedIndicesCalloutProps {
- history: ScopedHistory;
- ilmPolicyLink: string;
- ilmPolicyName?: string;
- dataStreamName: string;
-}
-
-const MixedIndicesCallout = ({
- ilmPolicyLink,
- ilmPolicyName,
- dataStreamName,
- history,
-}: MixedIndicesCalloutProps) => {
- const { core } = useAppContext();
-
- return (
-
-
- core.application.navigateToUrl(ilmPolicyLink)}
- >
- {ilmPolicyName}
-
- ),
- viewAllIndicesLink: (
-
-
-
- ),
- }}
- />
-
-
- );
-};
-
export const EditDataRetentionModal: React.FunctionComponent = ({
- dataStream,
+ dataStreams,
ilmPolicyName,
ilmPolicyLink,
onClose,
+ isBulkEdit,
}) => {
- const lifecycle = dataStream?.lifecycle;
- const dataStreamName = dataStream?.name as string;
+ const lifecycle = dataStreams[0]?.lifecycle;
+ const isSingleDataStream = dataStreams.length === 1;
- const { history } = useAppContext();
- const dslWithIlmIndices = isDSLWithILMIndices(dataStream);
- const { size, unit } = splitSizeAndUnits(lifecycle?.data_retention as string);
+ const {
+ history,
+ plugins: { cloud },
+ } = useAppContext();
+ const dataStreamNames = dataStreams.map(({ name }: DataStream) => name as string);
const globalMaxRetention = deserializeGlobalMaxRetention(lifecycle?.globalMaxRetention);
+ const { size, unit } = isSingleDataStream
+ ? splitSizeAndUnits(lifecycle?.data_retention as string)
+ : { size: undefined, unit: undefined };
+
const {
services: { notificationService },
config: { enableTogglingDataRetention, enableProjectLevelRetentionChecks },
@@ -229,13 +80,14 @@ export const EditDataRetentionModal: React.FunctionComponent = ({
defaultValue: {
dataRetention: size,
timeUnit: unit || 'd',
- dataRetentionEnabled: lifecycle?.enabled,
+ dataRetentionEnabled: isSingleDataStream ? lifecycle?.enabled : true,
// When data retention is not set and lifecycle is enabled, is the only scenario in
// which data retention will be infinite. If lifecycle isnt set or is not enabled, we
// dont have inifinite data retention.
- infiniteRetentionPeriod: lifecycle?.enabled && !lifecycle?.data_retention,
+ infiniteRetentionPeriod:
+ isSingleDataStream && lifecycle?.enabled && !lifecycle?.data_retention,
},
- schema: configurationFormSchema,
+ schema: editDataRetentionFormSchema,
id: 'editDataRetentionForm',
});
const [formData] = useFormData({ form });
@@ -247,8 +99,10 @@ export const EditDataRetentionModal: React.FunctionComponent = ({
// Whenever the timeUnit field changes, we need to re-validate
// the dataRetention field
useEffect(() => {
- form.validateFields(['dataRetention']);
- }, [formData.timeUnit, form]);
+ if (formData.dataRetention) {
+ form.validateFields(['dataRetention']);
+ }
+ }, [formData.timeUnit, form, formData.dataRetention]);
const onSubmitForm = async () => {
const { isValid, data } = await form.submit();
@@ -267,7 +121,7 @@ export const EditDataRetentionModal: React.FunctionComponent = ({
data.dataRetentionEnabled = true;
}
- return updateDataRetention(dataStreamName, data).then(({ data: responseData, error }) => {
+ return updateDataRetention(dataStreamNames, data).then(({ data: responseData, error }) => {
if (responseData) {
// If the response came back with a warning from ES, rely on that for the
// toast message.
@@ -276,27 +130,45 @@ export const EditDataRetentionModal: React.FunctionComponent = ({
return onClose({ hasUpdatedDataRetention: true });
}
- const successMessage = i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification',
- {
- defaultMessage:
- 'Data retention {disabledDataRetention, plural, one { disabled } other { updated } }',
- values: { disabledDataRetention: !data.dataRetentionEnabled ? 1 : 0 },
- }
- );
+ const successMessage = isBulkEdit
+ ? i18n.translate(
+ 'xpack.idxMgmt.dataStreams.editDataRetentionModal.successBulkDataRetentionNotification',
+ {
+ defaultMessage:
+ 'Data retention has been updated for {dataStreamCount, plural, one {one data stream} other {{dataStreamCount} data streams}}.',
+ values: { dataStreamCount: dataStreams.length },
+ }
+ )
+ : i18n.translate(
+ 'xpack.idxMgmt.dataStreams.editDataRetentionModal.successDataRetentionNotification',
+ {
+ defaultMessage:
+ 'Data retention {disabledDataRetention, plural, one { disabled } other { updated } }',
+ values: { disabledDataRetention: !data.dataRetentionEnabled ? 1 : 0 },
+ }
+ );
+
notificationService.showSuccessToast(successMessage);
return onClose({ hasUpdatedDataRetention: true });
}
if (error) {
- const errorMessage = i18n.translate(
- 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification',
- {
- defaultMessage: "Error updating data retention: ''{error}''",
- values: { error: error.message },
- }
- );
+ const errorMessage = isBulkEdit
+ ? i18n.translate(
+ 'xpack.idxMgmt.dataStreams.editDataRetentionModal.errorBulkDataRetentionNotification',
+ {
+ defaultMessage:
+ 'There was an error updating the retention period. Try again later.',
+ }
+ )
+ : i18n.translate(
+ 'xpack.idxMgmt.dataStreams.editDataRetentionModal.errorDataRetentionNotification',
+ {
+ defaultMessage: "Error updating data retention: ''{error}''",
+ values: { error: error.message },
+ }
+ );
notificationService.showDangerToast(errorMessage);
}
@@ -304,39 +176,61 @@ export const EditDataRetentionModal: React.FunctionComponent = ({
});
};
+ const affectedDataStreams = dataStreams
+ .filter(
+ (ds: DataStream) =>
+ formData.dataRetention &&
+ formData.timeUnit &&
+ ((ds.lifecycle?.enabled &&
+ !ds.lifecycle?.data_retention &&
+ !ds.lifecycle?.effective_retention) ||
+ (typeof ds.lifecycle?.data_retention === 'string' &&
+ isRetentionBiggerThan(
+ ds.lifecycle.data_retention,
+ `${formData.dataRetention}${formData.timeUnit}`
+ )) ||
+ (ds.lifecycle?.effective_retention &&
+ isRetentionBiggerThan(
+ ds.lifecycle.effective_retention,
+ `${formData.dataRetention}${formData.timeUnit}`
+ )))
+ )
+ .map(({ name }: DataStream) => name);
+
return (
onClose()}
data-test-subj="editDataRetentionModal"
- css={{ minWidth: 450 }}
+ css={{ minWidth: isBulkEdit ? 650 : 450, maxWidth: 650 }}
>
+ }
+ actions={
+
+
+ createConnector()}
+ isLoading={isLoading}
+ >
+ {i18n.translate('xpack.serverlessSearch.connectorsEmpty.selfManagedButton', {
+ defaultMessage: 'Self-managed connector',
+ })}
+
+
+
+
+
+
+ navigateToUrl(`${BASE_CONNECTORS_PATH}/${ELASTIC_MANAGED_CONNECTOR_PATH}`)
+ }
+ >
+ {i18n.translate('xpack.serverlessSearch.connectorsEmpty.elasticManagedButton', {
+ defaultMessage: 'Elastic managed connector',
+ })}
+
+
+
+ {BACK_LABEL}
+
+
+
+
+ }
+ />
+ );
+};
diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx
index e645ede3d67e8..63ab217b0c0fd 100644
--- a/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx
+++ b/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx
@@ -5,16 +5,13 @@
* 2.0.
*/
+import React, { useMemo } from 'react';
import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
-import React, { useMemo } from 'react';
-
import { LEARN_MORE_LABEL } from '../../../common/i18n_string';
-
+import { ElasticManagedConnectorsEmptyPrompt } from './connectors/elastic_managed_connectors_empty_prompt';
import { useKibanaServices } from '../hooks/use_kibana';
-import { ElasticManagedConnectorComingSoon } from './connectors/elastic_managed_connector_coming_soon';
-
import { docLinks } from '../../../common/doc_links';
export const ConnectorsElasticManaged = () => {
@@ -55,7 +52,7 @@ export const ConnectorsElasticManaged = () => {
-
+
{embeddableConsole}
diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx
index 775cec8db1551..42430df155e3d 100644
--- a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx
+++ b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx
@@ -20,16 +20,15 @@ import { FormattedMessage } from '@kbn/i18n-react';
import React, { useMemo, useState } from 'react';
import { GithubLink } from '@kbn/search-api-panels';
+import { SelfManagedConnectorsEmptyPrompt } from './connectors/self_managed_connectors_empty_prompt';
import { docLinks } from '../../../common/doc_links';
import { LEARN_MORE_LABEL } from '../../../common/i18n_string';
import { useConnectors } from '../hooks/api/use_connectors';
import { useCreateConnector } from '../hooks/api/use_create_connector';
import { useKibanaServices } from '../hooks/use_kibana';
-import { EmptyConnectorsPrompt } from './connectors/empty_connectors_prompt';
import { ConnectorsTable } from './connectors/connectors_table';
import { ConnectorPrivilegesCallout } from './connectors/connector_config/connector_privileges_callout';
import { useAssetBasePath } from '../hooks/use_asset_base_path';
-
import { BASE_CONNECTORS_PATH, ELASTIC_MANAGED_CONNECTOR_PATH } from '../constants';
const CALLOUT_KEY = 'search.connectors.ElasticManaged.ComingSoon.feedbackCallout';
@@ -42,15 +41,11 @@ export const ConnectorsOverview = () => {
() => (consolePlugin?.EmbeddableConsole ? : null),
[consolePlugin]
);
-
const canManageConnectors = !data || data.canManageConnectors;
-
const {
application: { navigateToUrl },
} = useKibanaServices();
-
const [showCallOut, setShowCallOut] = useState(sessionStorage.getItem(CALLOUT_KEY) !== 'hidden');
-
const onDismiss = () => {
setShowCallOut(false);
sessionStorage.setItem(CALLOUT_KEY, 'hidden');
@@ -155,7 +150,7 @@ export const ConnectorsOverview = () => {
>
) : (
-
+
)}
{embeddableConsole}
diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx
index 487c80ce48b6f..91d8ad707d423 100644
--- a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx
+++ b/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx
@@ -9,7 +9,7 @@ import React from 'react';
import { EuiButtonEmpty, EuiPanel } from '@elastic/eui';
import { BACK_LABEL } from '../../../../common/i18n_string';
-import { EmptyConnectorsPrompt } from '../connectors/empty_connectors_prompt';
+import { SelfManagedConnectorsEmptyPrompt } from '../connectors/self_managed_connectors_empty_prompt';
interface ConnectorIndexEmptyPromptProps {
indexName: string;
@@ -27,7 +27,7 @@ export const ConnectorIndexEmptyPrompt = ({ onBackClick }: ConnectorIndexEmptyPr
>
{BACK_LABEL}
-
+
);
};
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx
deleted file mode 100644
index ba146ed847990..0000000000000
--- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import React from 'react';
-import {
- EuiFlexGroup,
- EuiFlexItem,
- EuiPanel,
- EuiIcon,
- EuiTitle,
- EuiText,
- EuiBadge,
- EuiButtonEmpty,
-} from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
-
-import { useKibanaServices } from '../../hooks/use_kibana';
-import { useAssetBasePath } from '../../hooks/use_asset_base_path';
-
-import { BACK_LABEL } from '../../../../common/i18n_string';
-import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper';
-
-export const ElasticManagedWebCrawlersCommingSoon: React.FC = () => {
- const {
- application: { navigateToUrl },
- } = useKibanaServices();
-
- const assetBasePath = useAssetBasePath();
- const webCrawlerIcon = assetBasePath + '/web_crawlers.svg';
-
- return (
-
-
-
-
-
- navigateToUrl(`./`)}
- >
- {BACK_LABEL}
-
-
-
-
-
-
-
-
- {i18n.translate('xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.title', {
- defaultMessage: 'Elastic managed web crawlers',
- })}
-
-
-
-
- Coming soon
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.description',
- {
- defaultMessage:
- "We're actively developing Elastic managed web crawlers, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:",
- }
- )}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideOneDescription',
- {
- defaultMessage: 'Set one or more domain URLs you want to crawl',
- }
- )}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideThreeDescription',
- {
- defaultMessage:
- 'Configure all the web crawler process using Kibana',
- }
- )}
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-};
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx
new file mode 100644
index 0000000000000..15160fc1b6a1d
--- /dev/null
+++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx
@@ -0,0 +1,121 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+import React from 'react';
+import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiPanel, EuiText } from '@elastic/eui';
+import { i18n } from '@kbn/i18n';
+import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui';
+import { SERVERLESS_ES_WEB_CRAWLERS_ID } from '@kbn/deeplinks-search/constants';
+import { BACK_LABEL, COMING_SOON_LABEL } from '../../../../common/i18n_string';
+import { useAssetBasePath } from '../../hooks/use_asset_base_path';
+import { useKibanaServices } from '../../hooks/use_kibana';
+
+export const ElasticManagedWebCrawlersEmptyPrompt = () => {
+ const {
+ application: { navigateToApp },
+ } = useKibanaServices();
+ const assetBasePath = useAssetBasePath();
+ const webCrawlersIcon = assetBasePath + '/web_crawlers.svg';
+
+ return (
+ navigateToApp(SERVERLESS_ES_WEB_CRAWLERS_ID),
+ }}
+ icon={webCrawlersIcon}
+ title={i18n.translate('xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.title', {
+ defaultMessage: 'Elastic managed web crawlers',
+ })}
+ isComingSoon
+ comingSoonLabel={COMING_SOON_LABEL}
+ description={i18n.translate(
+ 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.description',
+ {
+ defaultMessage:
+ "We're actively developing Elastic managed web crawlers, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:",
+ }
+ )}
+ body={
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideOneDescription',
+ {
+ defaultMessage: 'Set one or more domain URLs you want to crawl',
+ }
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideThreeDescription',
+ {
+ defaultMessage: 'Configure all the web crawler process using Kibana',
+ }
+ )}
+
+
+
+
+
+
+
+
+
+ }
+ />
+ );
+};
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx
deleted file mode 100644
index 20c05f86747a8..0000000000000
--- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx
+++ /dev/null
@@ -1,270 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import React from 'react';
-import {
- EuiFlexGroup,
- EuiFlexItem,
- EuiPanel,
- EuiIcon,
- EuiTitle,
- EuiText,
- EuiLink,
- EuiButton,
- EuiBadge,
-} from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
-import { FormattedMessage } from '@kbn/i18n-react';
-
-import { useKibanaServices } from '../../hooks/use_kibana';
-import { useAssetBasePath } from '../../hooks/use_asset_base_path';
-
-import { ELASTIC_MANAGED_WEB_CRAWLERS_PATH, BASE_WEB_CRAWLERS_PATH } from '../../constants';
-import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper';
-
-export const EmptyWebCrawlersPrompt: React.FC = () => {
- const {
- application: { navigateToUrl },
- } = useKibanaServices();
-
- const assetBasePath = useAssetBasePath();
- const webCrawlersIcon = assetBasePath + '/web_crawlers.svg';
- const githubIcon = assetBasePath + '/github_white.svg';
-
- return (
-
-
-
-
-
-
-
-
-
-
- {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.title', {
- defaultMessage: 'Set up a web crawler',
- })}
-
-
-
-
-
-
- {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.description', {
- defaultMessage:
- "To set up and deploy a web crawler you'll be working between data source, your terminal, and the Kibana UI. The high level process looks like this:",
- })}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.webCrawlersEmpty.sourceLabel',
- { defaultMessage: 'source' }
- )}
-
- ),
- docker: (
-
- {i18n.translate(
- 'xpack.serverlessSearch.webCrawlersEmpty.dockerLabel',
- { defaultMessage: 'Docker' }
- )}
-
- ),
- }}
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.webCrawlersEmpty.guideOneDescription',
- {
- defaultMessage: 'Set one or more domain URLs you want to crawl',
- }
- )}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate(
- 'xpack.serverlessSearch.webCrawlersEmpty.guideThreeDescription',
- {
- defaultMessage:
- 'Configure your web crawler and connect it to Elasticsearch',
- }
- )}
-
-
-
-
-
-
-
-
-
-
-
-
- {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.selfManagedButton', {
- defaultMessage: 'Self-managed web crawler',
- })}
-
-
-
-
-
-
- navigateToUrl(
- `${BASE_WEB_CRAWLERS_PATH}/${ELASTIC_MANAGED_WEB_CRAWLERS_PATH}`
- )
- }
- >
- {i18n.translate(
- 'xpack.serverlessSearch.webCrawlersEmpty.elasticManagedButton',
- {
- defaultMessage: 'Elastic managed web crawler',
- }
- )}
-
-
-
- Coming soon
-
-
-
-
-
-
-
-
- );
-};
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx
new file mode 100644
index 0000000000000..b820e7704c856
--- /dev/null
+++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx
@@ -0,0 +1,229 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+import React from 'react';
+import {
+ EuiBadge,
+ EuiButton,
+ EuiFlexGroup,
+ EuiFlexItem,
+ EuiIcon,
+ EuiLink,
+ EuiPanel,
+ EuiText,
+} from '@elastic/eui';
+import { i18n } from '@kbn/i18n';
+import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui';
+import { FormattedMessage } from '@kbn/i18n-react';
+import { ELASTIC_MANAGED_WEB_CRAWLERS_PATH, BASE_WEB_CRAWLERS_PATH } from '../../constants';
+import { COMING_SOON_LABEL } from '../../../../common/i18n_string';
+import { useKibanaServices } from '../../hooks/use_kibana';
+import { useAssetBasePath } from '../../hooks/use_asset_base_path';
+
+export const SelfManagedWebCrawlersEmptyPrompt = () => {
+ const {
+ application: { navigateToUrl },
+ } = useKibanaServices();
+
+ const assetBasePath = useAssetBasePath();
+ const webCrawlersIcon = assetBasePath + '/web_crawlers.svg';
+ const githubIcon = assetBasePath + '/github_white.svg';
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.webCrawlersEmpty.sourceLabel',
+ { defaultMessage: 'source' }
+ )}
+
+ ),
+ docker: (
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.webCrawlersEmpty.dockerLabel',
+ { defaultMessage: 'Docker' }
+ )}
+
+ ),
+ }}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.webCrawlersEmpty.guideOneDescription',
+ {
+ defaultMessage: 'Set one or more domain URLs you want to crawl',
+ }
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.serverlessSearch.webCrawlersEmpty.guideThreeDescription',
+ {
+ defaultMessage:
+ 'Configure your web crawler and connect it to Elasticsearch',
+ }
+ )}
+
+
+
+
+
+
+
+
+
+ }
+ actions={
+ <>
+
+
+ {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.selfManagedButton', {
+ defaultMessage: 'Self-managed web crawler',
+ })}
+
+
+
+
+
+
+ navigateToUrl(`${BASE_WEB_CRAWLERS_PATH}/${ELASTIC_MANAGED_WEB_CRAWLERS_PATH}`)
+ }
+ >
+ {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.elasticManagedButton', {
+ defaultMessage: 'Elastic managed web crawler',
+ })}
+
+
+
+ {COMING_SOON_LABEL}
+
+
+
+ >
+ }
+ />
+ );
+};
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx
index 0cf3445f0a5b8..e2594cc621f42 100644
--- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx
+++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx
@@ -9,11 +9,9 @@ import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import React, { useMemo } from 'react';
-
import { LEARN_MORE_LABEL } from '../../../common/i18n_string';
-
import { useKibanaServices } from '../hooks/use_kibana';
-import { ElasticManagedWebCrawlersCommingSoon } from './web_crawlers/elastic_managed_web_crawler_coming_soon';
+import { ElasticManagedWebCrawlersEmptyPrompt } from './web_crawlers/elastic_managed_web_crawlers_empty_prompt';
export const WebCrawlersElasticManaged = () => {
const { console: consolePlugin } = useKibanaServices();
@@ -54,7 +52,7 @@ export const WebCrawlersElasticManaged = () => {
-
+
{embeddableConsole}
diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx
index 1a112304df69b..e9e31f6c074c1 100644
--- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx
+++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx
@@ -5,15 +5,13 @@
* 2.0.
*/
+import React, { useMemo } from 'react';
import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
-import React, { useMemo } from 'react';
-
import { LEARN_MORE_LABEL } from '../../../common/i18n_string';
-
import { useKibanaServices } from '../hooks/use_kibana';
-import { EmptyWebCrawlersPrompt } from './web_crawlers/empty_web_crawlers_prompt';
+import { SelfManagedWebCrawlersEmptyPrompt } from './web_crawlers/self_managed_web_crawlers_empty_prompt';
export const WebCrawlersOverview = () => {
const { console: consolePlugin } = useKibanaServices();
@@ -54,7 +52,7 @@ export const WebCrawlersOverview = () => {
-
+
{embeddableConsole}
diff --git a/x-pack/plugins/serverless_search/tsconfig.json b/x-pack/plugins/serverless_search/tsconfig.json
index 854a90fdb5fb5..1af7677bc4983 100644
--- a/x-pack/plugins/serverless_search/tsconfig.json
+++ b/x-pack/plugins/serverless_search/tsconfig.json
@@ -56,5 +56,6 @@
"@kbn/security-plugin-types-public",
"@kbn/deeplinks-search",
"@kbn/core-application-browser",
+ "@kbn/search-shared-ui",
]
}
From 841bf7368417a1519bfeff20749a6bf44100bcb2 Mon Sep 17 00:00:00 2001
From: "elastic-renovate-prod[bot]"
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 18:34:50 +0100
Subject: [PATCH 33/59] Update dependency @elastic/charts to v68.0.4 (main)
(#203955)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
dependencies | patch | [`68.0.3` ->
`68.0.4`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/68.0.3/68.0.4)
|
This version of charts exports a helper function to correct an issue
with the chart background color for the new Borealis theme. In addition
to this we created a simplified hook `useElasticChartsTheme` from the
`@kbn/charts-theme` package which reads the `euiTheme`.
```diff
-import { Chart, Settings, LIGHT_THEME, DARK_THEME } from '@elastic/charts';
+import { Chart, Settings } from '@elastic/charts';
-import { useEuiTheme } from '@elastic/eui';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
export function MyComponent() {
- const euiTheme = useEuiTheme();
- const baseTheme = euiTheme.colorMode === 'LIGHT' ? LIGHT_THEME : DARK_THEME;
+ const baseTheme = useElasticChartsTheme();
return (
{/* ... */}
)
}
```
---
### Release Notes
elastic/elastic-charts (@elastic/charts)
###
[`v68.0.4`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6804-2024-12-11)
[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v68.0.3...v68.0.4)
##### Bug Fixes
- **xy:** compute per series and global minPointsDistance
([#2571](https://togithub.com/elastic/elastic-charts/issues/2571))
([8dae2c1](https://togithub.com/elastic/elastic-charts/commit/8dae2c1f4c99146aa757b2d3eec9d72846248cc7))
##### Performance Improvements
- fix unnecessary re-render
([#2573](https://togithub.com/elastic/elastic-charts/issues/2573))
([feacfd6](https://togithub.com/elastic/elastic-charts/commit/feacfd6247b9580a8d32bc5d6284329b2035c1ba))
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).
---------
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: nickofthyme
Co-authored-by: adcoelho
Co-authored-by: Marco Vettorello
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
.github/CODEOWNERS | 1 +
package.json | 3 ++-
.../components/views_stats/views_chart.tsx | 18 +++++++-------
.../content_insights_public/tsconfig.json | 1 +
packages/kbn-charts-theme/README.md | 24 +++++++++++++++++++
packages/kbn-charts-theme/index.ts | 23 ++++++++++++++++++
packages/kbn-charts-theme/jest.config.js | 14 +++++++++++
packages/kbn-charts-theme/kibana.jsonc | 5 ++++
packages/kbn-charts-theme/package.json | 6 +++++
packages/kbn-charts-theme/tsconfig.json | 19 +++++++++++++++
.../public/services/theme/theme.test.tsx | 2 +-
tsconfig.base.json | 2 ++
.../public/app/components/chart_panel.tsx | 9 ++++---
.../plugins/private/data_usage/tsconfig.json | 1 +
.../memory_usage/memory_tree_map/tree_map.tsx | 20 ++++------------
.../platform/plugins/shared/ml/tsconfig.json | 1 +
.../ui_components/chart_preview/index.tsx | 8 +++----
.../distribution/index.tsx | 9 ++++---
.../observability_solution/apm/tsconfig.json | 1 +
.../alert_details_app_section/index.tsx | 7 +++---
.../infra/tsconfig.json | 3 ++-
.../public/hooks/use_chart_theme.tsx | 9 ++++---
.../observability_shared/tsconfig.json | 1 +
.../.storybook/decorator.tsx | 7 ++++--
.../plugins/triggers_actions_ui/tsconfig.json | 3 ++-
.../public/hooks/use_chart_theme.ts | 8 +++----
.../tsconfig.json | 1 +
.../overview/overview/metric_item.tsx | 5 ++--
.../waterfall/waterfall_bar_chart.tsx | 4 ++--
.../waterfall/waterfall_chart_fixed_axis.tsx | 4 ++--
.../public/hooks/use_base_chart_theme.ts | 18 --------------
.../plugins/synthetics/tsconfig.json | 3 ++-
.../components/waterfall_bar_chart.tsx | 4 ++--
.../components/waterfall_chart_fixed_axis.tsx | 4 ++--
.../hooks/use_base_chart_theme.ts | 17 -------------
.../plugins/uptime/tsconfig.json | 1 +
.../migration_result_panel.tsx | 12 ++++------
.../plugins/security_solution/tsconfig.json | 3 ++-
yarn.lock | 12 ++++++----
39 files changed, 174 insertions(+), 119 deletions(-)
create mode 100644 packages/kbn-charts-theme/README.md
create mode 100644 packages/kbn-charts-theme/index.ts
create mode 100644 packages/kbn-charts-theme/jest.config.js
create mode 100644 packages/kbn-charts-theme/kibana.jsonc
create mode 100644 packages/kbn-charts-theme/package.json
create mode 100644 packages/kbn-charts-theme/tsconfig.json
delete mode 100644 x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts
delete mode 100644 x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index a6d5f85891f62..655c8ef55079e 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -296,6 +296,7 @@ packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core
packages/kbn-cases-components @elastic/response-ops
packages/kbn-cbor @elastic/kibana-operations
packages/kbn-chart-icons @elastic/kibana-visualizations
+packages/kbn-charts-theme @elastic/kibana-visualizations
packages/kbn-check-mappings-update-cli @elastic/kibana-core
packages/kbn-check-prod-native-modules-cli @elastic/kibana-operations
packages/kbn-ci-stats-core @elastic/kibana-operations
diff --git a/package.json b/package.json
index 0b62d48e35a04..fe6bf82ad0350 100644
--- a/package.json
+++ b/package.json
@@ -111,7 +111,7 @@
"@elastic/apm-rum": "^5.16.1",
"@elastic/apm-rum-core": "^5.21.1",
"@elastic/apm-rum-react": "^2.0.3",
- "@elastic/charts": "68.0.3",
+ "@elastic/charts": "68.0.4",
"@elastic/datemath": "5.0.3",
"@elastic/ebt": "^1.1.1",
"@elastic/ecs": "^8.11.1",
@@ -209,6 +209,7 @@
"@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common",
"@kbn/chart-icons": "link:packages/kbn-chart-icons",
"@kbn/charts-plugin": "link:src/plugins/charts",
+ "@kbn/charts-theme": "link:packages/kbn-charts-theme",
"@kbn/cloud": "link:packages/cloud",
"@kbn/cloud-chat-plugin": "link:x-pack/plugins/cloud_integrations/cloud_chat",
"@kbn/cloud-data-migration-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration",
diff --git a/packages/content-management/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx b/packages/content-management/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
index f05f8c2dbca69..c207f8fb18e19 100644
--- a/packages/content-management/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
+++ b/packages/content-management/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
@@ -8,11 +8,14 @@
*/
import React from 'react';
-import { Chart, Settings, DARK_THEME, LIGHT_THEME, BarSeries, Axis } from '@elastic/charts';
-import { formatDate, useEuiTheme } from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
import moment from 'moment';
+import { Chart, Settings, BarSeries, Axis } from '@elastic/charts';
+import { formatDate } from '@elastic/eui';
+
+import { i18n } from '@kbn/i18n';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
+
const dateFormatter = (d: Date) => formatDate(d, `MM/DD`);
const seriesName = i18n.translate('contentManagement.contentEditor.viewsStats.viewsLabel', {
@@ -26,8 +29,7 @@ const weekOfFormatter = (date: Date) =>
});
export const ViewsChart = ({ data }: { data: Array<[week: number, views: number]> }) => {
- const { colorMode } = useEuiTheme();
-
+ const baseTheme = useElasticChartsTheme();
const momentDow = moment().localeData().firstDayOfWeek(); // configured from advanced settings
const isoDow = momentDow === 0 ? 7 : momentDow;
@@ -35,11 +37,7 @@ export const ViewsChart = ({ data }: { data: Array<[week: number, views: number]
return (
-
+
+
+ {/* ... */}
+
+ )
+}
+```
\ No newline at end of file
diff --git a/packages/kbn-charts-theme/index.ts b/packages/kbn-charts-theme/index.ts
new file mode 100644
index 0000000000000..933af3cc77257
--- /dev/null
+++ b/packages/kbn-charts-theme/index.ts
@@ -0,0 +1,23 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import { type Theme, getChartsTheme } from '@elastic/charts';
+import { useEuiTheme } from '@elastic/eui';
+import { useMemo } from 'react';
+
+/**
+ * A hook used to get the `@elastic/charts` theme based on the current eui theme.
+ */
+export function useElasticChartsTheme(): Theme {
+ const { euiTheme, colorMode } = useEuiTheme();
+ return useMemo(
+ () => getChartsTheme(euiTheme.themeName, colorMode),
+ [colorMode, euiTheme.themeName]
+ );
+}
diff --git a/packages/kbn-charts-theme/jest.config.js b/packages/kbn-charts-theme/jest.config.js
new file mode 100644
index 0000000000000..9216db5e10b6b
--- /dev/null
+++ b/packages/kbn-charts-theme/jest.config.js
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../..',
+ roots: ['/packages/kbn-charts-theme'],
+};
diff --git a/packages/kbn-charts-theme/kibana.jsonc b/packages/kbn-charts-theme/kibana.jsonc
new file mode 100644
index 0000000000000..b43497bc92ba9
--- /dev/null
+++ b/packages/kbn-charts-theme/kibana.jsonc
@@ -0,0 +1,5 @@
+{
+ "type": "shared-common",
+ "id": "@kbn/charts-theme",
+ "owner": "@elastic/kibana-visualizations"
+}
diff --git a/packages/kbn-charts-theme/package.json b/packages/kbn-charts-theme/package.json
new file mode 100644
index 0000000000000..1aa732346ed3b
--- /dev/null
+++ b/packages/kbn-charts-theme/package.json
@@ -0,0 +1,6 @@
+{
+ "name": "@kbn/charts-theme",
+ "private": true,
+ "version": "1.0.0",
+ "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0"
+}
\ No newline at end of file
diff --git a/packages/kbn-charts-theme/tsconfig.json b/packages/kbn-charts-theme/tsconfig.json
new file mode 100644
index 0000000000000..87f865132f4b4
--- /dev/null
+++ b/packages/kbn-charts-theme/tsconfig.json
@@ -0,0 +1,19 @@
+{
+ "extends": "../../tsconfig.base.json",
+ "compilerOptions": {
+ "outDir": "target/types",
+ "types": [
+ "jest",
+ "node",
+ "react"
+ ]
+ },
+ "include": [
+ "**/*.ts",
+ "**/*.tsx",
+ ],
+ "exclude": [
+ "target/**/*"
+ ],
+ "kbn_references": []
+}
diff --git a/src/plugins/charts/public/services/theme/theme.test.tsx b/src/plugins/charts/public/services/theme/theme.test.tsx
index df0acfbede1cf..b478dc284d0d6 100644
--- a/src/plugins/charts/public/services/theme/theme.test.tsx
+++ b/src/plugins/charts/public/services/theme/theme.test.tsx
@@ -74,7 +74,7 @@ describe('ThemeService', () => {
});
});
- describe('useBaseChartTheme', () => {
+ describe('useChartsBaseTheme', () => {
it('updates when the theme setting change', () => {
setUpMockTheme.theme$ = createTheme$Mock(false);
const themeService = new ThemeService();
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 10c2066c09866..744538cf60313 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -144,6 +144,8 @@
"@kbn/chart-icons/*": ["packages/kbn-chart-icons/*"],
"@kbn/charts-plugin": ["src/plugins/charts"],
"@kbn/charts-plugin/*": ["src/plugins/charts/*"],
+ "@kbn/charts-theme": ["packages/kbn-charts-theme"],
+ "@kbn/charts-theme/*": ["packages/kbn-charts-theme/*"],
"@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"],
"@kbn/check-mappings-update-cli/*": ["packages/kbn-check-mappings-update-cli/*"],
"@kbn/check-prod-native-modules-cli": ["packages/kbn-check-prod-native-modules-cli"],
diff --git a/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx b/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx
index 9a7700a5de828..464c23d28fbee 100644
--- a/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx
+++ b/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx
@@ -6,7 +6,7 @@
*/
import React, { useCallback, useMemo } from 'react';
-import { EuiFlexItem, EuiPanel, EuiTitle, useEuiTheme } from '@elastic/eui';
+import { EuiFlexItem, EuiPanel, EuiTitle } from '@elastic/eui';
import {
Chart,
Axis,
@@ -14,10 +14,9 @@ import {
Settings,
ScaleType,
niceTimeFormatter,
- DARK_THEME,
- LIGHT_THEME,
LineSeries,
} from '@elastic/charts';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { i18n } from '@kbn/i18n';
import { LegendAction } from './legend_action';
import { type MetricTypes, type MetricSeries } from '../../../common/rest_types';
@@ -49,7 +48,7 @@ export const ChartPanel: React.FC = ({
popoverOpen,
togglePopover,
}) => {
- const theme = useEuiTheme();
+ const baseTheme = useElasticChartsTheme();
const chartTimestamps = series.flatMap((stream) => stream.data.map((d) => d.x));
@@ -97,7 +96,7 @@ export const ChartPanel: React.FC = ({
= ({ node, type, height }) => {
- const {
- services: { theme: themeService },
- } = useMlKibana();
- const isDarkTheme = useIsDarkTheme(themeService);
-
- const baseTheme = useMemo(() => (isDarkTheme ? DARK_THEME : LIGHT_THEME), [isDarkTheme]);
+ const baseTheme = useElasticChartsTheme();
const { isADEnabled, isDFAEnabled, isNLPEnabled } = useEnabledFeatures();
diff --git a/x-pack/platform/plugins/shared/ml/tsconfig.json b/x-pack/platform/plugins/shared/ml/tsconfig.json
index dce8710d648f3..4d5a3668403eb 100644
--- a/x-pack/platform/plugins/shared/ml/tsconfig.json
+++ b/x-pack/platform/plugins/shared/ml/tsconfig.json
@@ -136,5 +136,6 @@
"@kbn/core-saved-objects-api-server",
"@kbn/core-ui-settings-server",
"@kbn/core-security-server",
+ "@kbn/charts-theme",
]
}
diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx
index 0136fcfb88f39..c895be7294a2c 100644
--- a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx
+++ b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx
@@ -10,8 +10,6 @@ import {
Axis,
BarSeries,
Chart,
- LIGHT_THEME,
- DARK_THEME,
LineAnnotation,
Position,
RectAnnotation,
@@ -22,13 +20,14 @@ import {
Tooltip,
niceTimeFormatter,
} from '@elastic/charts';
-import { COLOR_MODES_STANDARD, EuiSpacer, useEuiTheme } from '@elastic/eui';
+import { EuiSpacer, useEuiTheme } from '@elastic/eui';
import React, { useMemo } from 'react';
import { IUiSettingsClient } from '@kbn/core/public';
import { TimeUnitChar } from '@kbn/observability-plugin/common';
import { UI_SETTINGS } from '@kbn/data-plugin/public';
import moment from 'moment';
import { i18n } from '@kbn/i18n';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { Coordinate } from '../../../../../typings/timeseries';
import { getTimeZone } from '../../../shared/charts/helper/timezone';
import { TimeLabelForData, TIME_LABELS, getDomain } from './chart_preview_helper';
@@ -54,6 +53,7 @@ export function ChartPreview({
totalGroups,
}: ChartPreviewProps) {
const theme = useEuiTheme();
+ const baseTheme = useElasticChartsTheme();
const thresholdOpacity = 0.3;
const DEFAULT_DATE_FORMAT = 'Y-MM-DD HH:mm:ss';
@@ -122,7 +122,7 @@ export function ChartPreview({
legendPosition={'bottom'}
legendSize={legendSize}
locale={i18n.getLocale()}
- theme={theme.colorMode === COLOR_MODES_STANDARD.dark ? DARK_THEME : LIGHT_THEME}
+ baseTheme={baseTheme}
/>
String(threshold);
const AlertDetailsAppSection = ({ rule, alert }: AlertDetailsAppSectionProps) => {
const { logsShared } = useKibanaContextForPlugin().services;
const theme = useTheme();
+ const baseTheme = useElasticChartsTheme();
const timeRange = getPaddedAlertTimeRange(alert.fields[ALERT_START]!, alert.fields[ALERT_END]);
const alertEnd = alert.fields[ALERT_END] ? moment(alert.fields[ALERT_END]).valueOf() : undefined;
const interval = `${rule.params.timeSize}${rule.params.timeUnit}`;
@@ -93,7 +94,7 @@ const AlertDetailsAppSection = ({ rule, alert }: AlertDetailsAppSectionProps) =>
{
const themeOverrides: PartialTheme = {
diff --git a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json b/x-pack/plugins/observability_solution/observability_shared/tsconfig.json
index 15ae8d34c7f55..84c98161d5d46 100644
--- a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json
+++ b/x-pack/plugins/observability_solution/observability_shared/tsconfig.json
@@ -46,6 +46,7 @@
"@kbn/es-query",
"@kbn/serverless",
"@kbn/data-views-plugin",
+ "@kbn/charts-theme",
"@kbn/deeplinks-observability",
],
"exclude": ["target/**/*", ".storybook/**/*.js"]
diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx b/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx
index 8947cf9f6bbe8..fcaf0ce7597ce 100644
--- a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx
+++ b/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx
@@ -15,7 +15,7 @@ import { KibanaThemeProvider, KibanaServices } from '@kbn/kibana-react-plugin/pu
import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common';
import type { NotificationsStart, ApplicationStart } from '@kbn/core/public';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
-import { DARK_THEME, LIGHT_THEME } from '@elastic/charts';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { KibanaContextProvider } from '../public/common/lib/kibana';
import { ExperimentalFeaturesService } from '../public/common/experimental_features_service';
import { getHttp } from './context/http';
@@ -74,6 +74,9 @@ export const StorybookContextDecorator: FC
@@ -99,7 +102,7 @@ export const StorybookContextDecorator: FC (darkMode ? DARK_THEME : LIGHT_THEME),
+ useChartsBaseTheme: () => baseTheme,
useSparklineOverrides: () => ({
lineSeriesStyle: {
point: {
diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/plugins/triggers_actions_ui/tsconfig.json
index 7004ad1b1b08c..2fd21149f4e8f 100644
--- a/x-pack/plugins/triggers_actions_ui/tsconfig.json
+++ b/x-pack/plugins/triggers_actions_ui/tsconfig.json
@@ -74,7 +74,8 @@
"@kbn/core-application-browser",
"@kbn/cloud-plugin",
"@kbn/response-ops-rule-form",
- "@kbn/core-user-profile-browser-mocks"
+ "@kbn/core-user-profile-browser-mocks",
+ "@kbn/charts-theme"
],
"exclude": ["target/**/*"]
}
diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts
index 65873a13de506..063d4c4eef5f4 100644
--- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts
+++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts
@@ -5,14 +5,12 @@
* 2.0.
*/
-import { DARK_THEME, LIGHT_THEME, PartialTheme } from '@elastic/charts';
-import { useEuiTheme } from '@elastic/eui';
+import { PartialTheme } from '@elastic/charts';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { useMemo } from 'react';
export function useChartTheme() {
- const theme = useEuiTheme();
-
- const baseTheme = theme.colorMode === 'DARK' ? DARK_THEME : LIGHT_THEME;
+ const baseTheme = useElasticChartsTheme();
return useMemo(() => {
const themeOverrides: PartialTheme = {
diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json
index af075027d9cd4..212a36a502441 100644
--- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json
@@ -80,6 +80,7 @@
"@kbn/observability-ai-common",
"@kbn/llm-tasks-plugin",
"@kbn/product-doc-common",
+ "@kbn/charts-theme",
"@kbn/ai-assistant-icon",
],
"exclude": [
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx
index 37836f6ef0711..c8c266db63736 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx
@@ -10,7 +10,7 @@ import { FormattedMessage } from '@kbn/i18n-react';
import { css } from '@emotion/react';
import { Chart, Settings, Metric, MetricTrendShape } from '@elastic/charts';
import { EuiPanel, EuiSpacer } from '@elastic/eui';
-import { DARK_THEME } from '@elastic/charts';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { useTheme } from '@kbn/observability-shared-plugin/public';
import moment from 'moment';
import { useSelector, useDispatch } from 'react-redux';
@@ -132,8 +132,7 @@ export const MetricItem = ({
});
}
}}
- // TODO connect to charts.theme service see src/plugins/charts/public/services/theme/README.md
- baseTheme={DARK_THEME}
+ baseTheme={useElasticChartsTheme()}
locale={i18n.getLocale()}
/>
{
- const baseChartTheme = useBaseChartTheme();
+ const baseChartTheme = useElasticChartsTheme();
const { euiTheme } = useEuiTheme();
const { onElementClick, onProjectionClick } = useWaterfallContext();
const handleElementClick = useMemo(() => onElementClick, [onElementClick]);
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx
index 6ec71ee66f1a4..1d496c0f1e48b 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx
@@ -21,7 +21,7 @@ import {
} from '@elastic/charts';
import { useEuiTheme } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
-import { useBaseChartTheme } from '../../../../../../hooks/use_base_chart_theme';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { WaterfallChartFixedAxisContainer } from './styles';
import { WaterfallChartMarkers } from './waterfall_marker/waterfall_markers';
@@ -32,7 +32,7 @@ interface Props {
}
export const WaterfallChartFixedAxis = ({ tickFormat, domain, barStyleAccessor }: Props) => {
- const baseChartTheme = useBaseChartTheme();
+ const baseChartTheme = useElasticChartsTheme();
const { euiTheme } = useEuiTheme();
return (
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts b/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts
deleted file mode 100644
index 413081b998aec..0000000000000
--- a/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import { DARK_THEME, LIGHT_THEME, Theme } from '@elastic/charts';
-import { useMemo } from 'react';
-import { useDarkMode } from '@kbn/kibana-react-plugin/public';
-
-export const useBaseChartTheme = (): Theme => {
- const darkMode = useDarkMode(false);
-
- return useMemo(() => {
- return darkMode ? DARK_THEME : LIGHT_THEME;
- }, [darkMode]);
-};
diff --git a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
index ece2a3934e60c..075ef1d3c6443 100644
--- a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
@@ -107,7 +107,8 @@
"@kbn/core-rendering-browser",
"@kbn/index-lifecycle-management-common-shared",
"@kbn/core-http-server-utils",
- "@kbn/apm-data-access-plugin"
+ "@kbn/apm-data-access-plugin",
+ "@kbn/charts-theme"
],
"exclude": ["target/**/*"]
}
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_bar_chart.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_bar_chart.tsx
index 57b20eb3a179c..8f2c5dcf05da5 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_bar_chart.tsx
+++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_bar_chart.tsx
@@ -21,9 +21,9 @@ import {
Tooltip,
} from '@elastic/charts';
import { i18n } from '@kbn/i18n';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { useAppFixedViewport } from '@kbn/core-rendering-browser';
import { BAR_HEIGHT } from './constants';
-import { useBaseChartTheme } from '../../../../../hooks/use_base_chart_theme';
import { WaterfallChartChartContainer, WaterfallChartTooltip } from './styles';
import { useWaterfallContext, WaterfallData } from '..';
import { WaterfallTooltipContent } from './waterfall_tooltip_content';
@@ -76,7 +76,7 @@ export const WaterfallBarChart = ({
barStyleAccessor,
index,
}: Props) => {
- const baseChartTheme = useBaseChartTheme();
+ const baseChartTheme = useElasticChartsTheme();
const { onElementClick, onProjectionClick } = useWaterfallContext();
const handleElementClick = useMemo(() => onElementClick, [onElementClick]);
const handleProjectionClick = useMemo(() => onProjectionClick, [onProjectionClick]);
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx
index 25d9f554f9fa4..4038b2f2d731e 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx
+++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx
@@ -20,7 +20,7 @@ import {
Tooltip,
} from '@elastic/charts';
import { i18n } from '@kbn/i18n';
-import { useBaseChartTheme } from '../../../../../hooks/use_base_chart_theme';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { WaterfallChartFixedAxisContainer } from './styles';
import { WaterfallChartMarkers } from './waterfall_markers';
@@ -31,7 +31,7 @@ interface Props {
}
export const WaterfallChartFixedAxis = ({ tickFormat, domain, barStyleAccessor }: Props) => {
- const baseChartTheme = useBaseChartTheme();
+ const baseChartTheme = useElasticChartsTheme();
return (
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts
deleted file mode 100644
index 007d463c63e1b..0000000000000
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import { useMemo } from 'react';
-import { useDarkMode } from '@kbn/kibana-react-plugin/public';
-import { DARK_THEME, LIGHT_THEME, Theme } from '@elastic/charts';
-
-export const useBaseChartTheme = (): Theme => {
- const darkMode = useDarkMode();
- return useMemo(() => {
- return darkMode ? DARK_THEME : LIGHT_THEME;
- }, [darkMode]);
-};
diff --git a/x-pack/solutions/observability/plugins/uptime/tsconfig.json b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
index 6761601deb208..75d0e1521db38 100644
--- a/x-pack/solutions/observability/plugins/uptime/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
@@ -78,6 +78,7 @@
"@kbn/deeplinks-observability",
"@kbn/ebt-tools",
"@kbn/core-rendering-browser",
+ "@kbn/charts-theme",
"@kbn/charts-plugin",
],
"exclude": ["target/**/*"]
diff --git a/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/migration_status_panels/migration_result_panel.tsx b/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/migration_status_panels/migration_result_panel.tsx
index cce11abcd8eb7..c8f12d4374834 100644
--- a/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/migration_status_panels/migration_result_panel.tsx
+++ b/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/migration_status_panels/migration_result_panel.tsx
@@ -16,11 +16,11 @@ import {
EuiBasicTable,
EuiHealth,
EuiText,
- useEuiTheme,
} from '@elastic/eui';
-import { Chart, BarSeries, Settings, ScaleType, DARK_THEME, LIGHT_THEME } from '@elastic/charts';
+import { Chart, BarSeries, Settings, ScaleType } from '@elastic/charts';
import { SecurityPageName } from '@kbn/security-solution-navigation';
import { AssistantIcon } from '@kbn/ai-assistant-icon';
+import { useElasticChartsTheme } from '@kbn/charts-theme';
import { PanelText } from '../../../../common/components/panel_text';
import {
convertTranslationResultIntoText,
@@ -120,7 +120,7 @@ MigrationResultPanel.displayName = 'MigrationResultPanel';
const TranslationResultsChart = React.memo<{
translationStats: RuleMigrationTranslationStats;
}>(({ translationStats }) => {
- const { colorMode } = useEuiTheme();
+ const baseTheme = useElasticChartsTheme();
const translationResultColors = useResultVisColors();
const data = [
{
@@ -154,11 +154,7 @@ const TranslationResultsChart = React.memo<{
return (
-
+
Date: Thu, 19 Dec 2024 18:49:22 +0100
Subject: [PATCH 34/59] lens embeddable forceDSL flag (#203963)
---
.../public/chart/histogram.tsx | 3 +++
.../datasources/form_based/form_based.tsx | 13 +++++++++++--
.../datasources/form_based/to_expression.ts | 9 ++++++---
.../editor_frame/expression_helpers.ts | 11 ++++++++---
.../editor_frame/state_helpers.ts | 2 ++
.../workspace_panel/workspace_panel.tsx | 2 ++
.../public/editor_frame_service/service.tsx | 5 ++++-
x-pack/plugins/lens/public/plugin.ts | 3 ++-
.../public/react_embeddable/data_loader.ts | 1 +
.../expressions/expression_params.ts | 12 +++++++++---
.../initialize_dashboard_services.ts | 1 +
.../lens_custom_renderer_component.tsx | 2 ++
.../lens/public/react_embeddable/types.ts | 19 ++++++++++++++++---
x-pack/plugins/lens/public/types.ts | 4 +++-
14 files changed, 70 insertions(+), 17 deletions(-)
diff --git a/src/plugins/unified_histogram/public/chart/histogram.tsx b/src/plugins/unified_histogram/public/chart/histogram.tsx
index 8e3aa78da8d9d..19f92d8b4495a 100644
--- a/src/plugins/unified_histogram/public/chart/histogram.tsx
+++ b/src/plugins/unified_histogram/public/chart/histogram.tsx
@@ -212,6 +212,9 @@ export function Histogram({
>
+ toExpression: (
+ state,
+ layerId,
+ indexPatterns,
+ dateRange,
+ nowInstant,
+ searchSessionId,
+ forceDSL
+ ) =>
toExpression(
state,
layerId,
@@ -458,7 +466,8 @@ export function getFormBasedDatasource({
uiSettings,
dateRange,
nowInstant,
- searchSessionId
+ searchSessionId,
+ forceDSL
),
LayerSettingsComponent(props) {
diff --git a/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts b/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts
index 743efc9cb8db7..31478cab6bfc8 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts
@@ -71,7 +71,8 @@ function getExpressionForLayer(
uiSettings: IUiSettingsClient,
dateRange: DateRange,
nowInstant: Date,
- searchSessionId?: string
+ searchSessionId?: string,
+ forceDSL?: boolean
): ExpressionAstExpression | null {
const { columnOrder } = layer;
if (columnOrder.length === 0 || !indexPattern) {
@@ -523,7 +524,8 @@ export function toExpression(
uiSettings: IUiSettingsClient,
dateRange: DateRange,
nowInstant: Date,
- searchSessionId?: string
+ searchSessionId?: string,
+ forceDSL?: boolean
) {
if (state.layers[layerId]) {
return getExpressionForLayer(
@@ -532,7 +534,8 @@ export function toExpression(
uiSettings,
dateRange,
nowInstant,
- searchSessionId
+ searchSessionId,
+ forceDSL
);
}
diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts
index 424e91d1a007d..012fc5c208fe4 100644
--- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts
+++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts
@@ -15,7 +15,8 @@ export function getDatasourceExpressionsByLayers(
indexPatterns: IndexPatternMap,
dateRange: DateRange,
nowInstant: Date,
- searchSessionId?: string
+ searchSessionId?: string,
+ forceDSL?: boolean
): null | Record {
const datasourceExpressions: Array<[string, Ast | string]> = [];
@@ -34,7 +35,8 @@ export function getDatasourceExpressionsByLayers(
indexPatterns,
dateRange,
nowInstant,
- searchSessionId
+ searchSessionId,
+ forceDSL
);
if (result) {
datasourceExpressions.push([layerId, result]);
@@ -67,6 +69,7 @@ export function buildExpression({
dateRange,
nowInstant,
searchSessionId,
+ forceDSL,
}: {
title?: string;
description?: string;
@@ -79,6 +82,7 @@ export function buildExpression({
searchSessionId?: string;
dateRange: DateRange;
nowInstant: Date;
+ forceDSL?: boolean;
}): Ast | null {
// if an unregistered visualization is passed in the SO
// then this will be set as "undefined". Relax the check to catch both
@@ -92,7 +96,8 @@ export function buildExpression({
indexPatterns,
dateRange,
nowInstant,
- searchSessionId
+ searchSessionId,
+ forceDSL
);
const visualizationExpression = visualization.toExpression(
diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts
index efe3ccc84f560..c70d43d4d843b 100644
--- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts
+++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts
@@ -367,6 +367,7 @@ export async function persistedStateToExpression(
timefilter: TimefilterContract;
nowProvider: DataPublicPluginStart['nowProvider'];
eventAnnotationService: EventAnnotationServiceType;
+ forceDSL?: boolean;
}
): Promise {
const {
@@ -459,6 +460,7 @@ export async function persistedStateToExpression(
datasourceLayers,
indexPatterns,
dateRange: { fromDate: currentTimeRange.from, toDate: currentTimeRange.to },
+ forceDSL: services.forceDSL,
nowInstant: services.nowProvider.get(),
}),
activeVisualizationState,
diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx
index 5775748da8cee..31228d8bb1da8 100644
--- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx
+++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx
@@ -328,6 +328,7 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({
dateRange: framePublicAPI.dateRange,
nowInstant: plugins.data.nowProvider.get(),
searchSessionId,
+ forceDSL: framePublicAPI.forceDSL,
});
if (ast) {
@@ -373,6 +374,7 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({
datasourceLayers,
dataViews.indexPatterns,
framePublicAPI.dateRange,
+ framePublicAPI.forceDSL,
plugins.data.nowProvider,
searchSessionId,
addUserMessages,
diff --git a/x-pack/plugins/lens/public/editor_frame_service/service.tsx b/x-pack/plugins/lens/public/editor_frame_service/service.tsx
index a677e0c6105b8..30a3a3be805f1 100644
--- a/x-pack/plugins/lens/public/editor_frame_service/service.tsx
+++ b/x-pack/plugins/lens/public/editor_frame_service/service.tsx
@@ -93,7 +93,10 @@ export class EditorFrameService {
* This is an asynchronous process.
* @param doc parsed Lens saved object
*/
- public documentToExpression = async (doc: LensDocument, services: EditorFramePlugins) => {
+ public documentToExpression = async (
+ doc: LensDocument,
+ services: EditorFramePlugins & { forceDSL?: boolean }
+ ) => {
const [resolvedDatasources, resolvedVisualizations] = await Promise.all([
this.loadDatasources(),
this.loadVisualizations(),
diff --git a/x-pack/plugins/lens/public/plugin.ts b/x-pack/plugins/lens/public/plugin.ts
index 538e14518bf6e..d02f0a0685cff 100644
--- a/x-pack/plugins/lens/public/plugin.ts
+++ b/x-pack/plugins/lens/public/plugin.ts
@@ -367,13 +367,14 @@ export class LensPlugin {
coreStart,
timefilter: plugins.data.query.timefilter.timefilter,
expressionRenderer: plugins.expressions.ReactExpressionRenderer,
- documentToExpression: (doc: LensDocument) =>
+ documentToExpression: (doc: LensDocument, forceDSL?: boolean) =>
this.editorFrameService!.documentToExpression(doc, {
dataViews: plugins.dataViews,
storage: new Storage(localStorage),
uiSettings: core.uiSettings,
timefilter: plugins.data.query.timefilter.timefilter,
nowProvider: plugins.data.nowProvider,
+ forceDSL,
eventAnnotationService,
}),
injectFilterReferences: data.query.filterManager.inject.bind(data.query.filterManager),
diff --git a/x-pack/plugins/lens/public/react_embeddable/data_loader.ts b/x-pack/plugins/lens/public/react_embeddable/data_loader.ts
index a1d2e713d3f81..fe11a7fe66a16 100644
--- a/x-pack/plugins/lens/public/react_embeddable/data_loader.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/data_loader.ts
@@ -224,6 +224,7 @@ export function loadEmbeddableData(
handleEvent,
disableTriggers,
updateBlockingErrors,
+ forceDSL: (parentApi as { forceDSL?: boolean }).forceDSL,
getDisplayOptions: internalApi.getDisplayOptions,
}),
getUsedDataViews(
diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts b/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts
index ff6206f3f70e4..f3d4a359ca949 100644
--- a/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts
@@ -62,15 +62,20 @@ interface GetExpressionRendererPropsParams {
api: LensApi;
addUserMessages: (messages: UserMessage[]) => void;
updateBlockingErrors: (error: Error) => void;
+ forceDSL?: boolean;
getDisplayOptions: () => VisualizationDisplayOptions;
}
async function getExpressionFromDocument(
document: LensDocument,
- documentToExpression: (doc: LensDocument) => Promise
+ documentToExpression: (
+ doc: LensDocument,
+ forceDSL?: boolean
+ ) => Promise,
+ forceDSL?: boolean
) {
const { ast, indexPatterns, indexPatternRefs, activeVisualizationState, activeDatasourceState } =
- await documentToExpression(document);
+ await documentToExpression(document, forceDSL);
return {
expression: ast ? toExpression(ast) : null,
indexPatterns,
@@ -147,6 +152,7 @@ export async function getExpressionRendererParams(
addUserMessages,
updateBlockingErrors,
searchContext,
+ forceDSL,
getDisplayOptions,
}: GetExpressionRendererPropsParams
): Promise<{
@@ -165,7 +171,7 @@ export async function getExpressionRendererParams(
indexPatternRefs,
activeVisualizationState,
activeDatasourceState,
- } = await getExpressionFromDocument(state.attributes, documentToExpression);
+ } = await getExpressionFromDocument(state.attributes, documentToExpression, forceDSL);
// Apparently this change produces had lots of issues with solutions not using
// the Embeddable incorrectly. Will comment for now and later on will restore it when
diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts
index 67a5d3a89a1c2..06e72def12c62 100644
--- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts
@@ -182,6 +182,7 @@ export function initializeDashboardServices(
className: getUnchangingComparator(),
overrides: overridesComparator,
disableTriggers: disabledTriggersComparator,
+ forceDSL: getUnchangingComparator(),
isNewPanel: getUnchangingComparator<{ isNewPanel?: boolean }, 'isNewPanel'>(),
parentApi: getUnchangingComparator, 'parentApi'>(),
},
diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx
index 3caada55b81db..1f60c93679952 100644
--- a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx
+++ b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx
@@ -60,6 +60,7 @@ export function LensRenderer({
timeRange,
disabledActions,
searchSessionId,
+ forceDSL,
hidePanelTitles,
lastReloadRequestTime,
...props
@@ -157,6 +158,7 @@ export function LensRenderer({
...initialStateRef.current,
attributes: props.attributes,
}),
+ forceDSL,
hidePanelTitle: hidePanelTitles$,
reload$, // trigger a reload (replacement for deprepcated searchSessionId)
})}
diff --git a/x-pack/plugins/lens/public/react_embeddable/types.ts b/x-pack/plugins/lens/public/react_embeddable/types.ts
index 98b85860f414f..32cdb6728f041 100644
--- a/x-pack/plugins/lens/public/react_embeddable/types.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/types.ts
@@ -135,7 +135,10 @@ export type LensEmbeddableStartServices = Simplify<
coreStart: CoreStart;
capabilities: RecursiveReadonly;
expressionRenderer: ReactExpressionRendererType;
- documentToExpression: (doc: LensDocument) => Promise;
+ documentToExpression: (
+ doc: LensDocument,
+ forceDSL?: boolean
+ ) => Promise;
injectFilterReferences: FilterManager['inject'];
visualizationMap: VisualizationMap;
datasourceMap: DatasourceMap;
@@ -261,6 +264,7 @@ export interface LensSharedProps {
className?: string;
noPadding?: boolean;
viewMode?: ViewMode;
+ forceDSL?: boolean;
}
interface LensRequestHandlersProps {
@@ -323,7 +327,13 @@ export type LensComponentProps = Simplify<
*/
export type LensComponentForwardedProps = Pick<
LensComponentProps,
- 'style' | 'className' | 'noPadding' | 'abortController' | 'executionContext' | 'viewMode'
+ | 'style'
+ | 'className'
+ | 'noPadding'
+ | 'abortController'
+ | 'executionContext'
+ | 'viewMode'
+ | 'forceDSL'
>;
/**
@@ -347,7 +357,10 @@ export type LensRendererProps = Simplify;
export type LensRuntimeState = Simplify<
Omit & {
attributes: NonNullable;
- } & Pick &
+ } & Pick<
+ LensComponentForwardedProps,
+ 'viewMode' | 'abortController' | 'executionContext' | 'forceDSL'
+ > &
ContentManagementProps
>;
diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts
index f6d4edc02e16d..9b44a951cfcd6 100644
--- a/x-pack/plugins/lens/public/types.ts
+++ b/x-pack/plugins/lens/public/types.ts
@@ -432,7 +432,8 @@ export interface Datasource ExpressionAstExpression | string | null;
getDatasourceSuggestionsForField: (
@@ -962,6 +963,7 @@ export interface FramePublicAPI {
*/
activeData?: Record;
dataViews: DataViewsState;
+ forceDSL?: boolean;
}
/**
From ddb34ae6a8d3d1649651f775b31a1cba05d2866d Mon Sep 17 00:00:00 2001
From: Peter Pisljar
Date: Thu, 19 Dec 2024 18:49:36 +0100
Subject: [PATCH 35/59] Lens IndexPattern getFormatterForField (#203964)
---
x-pack/plugins/lens/public/data_views_service/loader.ts | 6 ++++++
x-pack/plugins/lens/public/data_views_service/mocks.ts | 1 +
.../lens/public/datasources/form_based/datapanel.test.tsx | 2 ++
.../form_based/dimension_panel/dimension_panel.test.tsx | 2 ++
.../form_based/dimension_panel/droppable/mocks.ts | 2 ++
.../lens/public/datasources/form_based/form_based.test.ts | 3 +++
.../datasources/form_based/form_based_suggestions.test.tsx | 7 +++++++
.../lens/public/datasources/form_based/layerpanel.test.tsx | 3 +++
x-pack/plugins/lens/public/datasources/form_based/mocks.ts | 4 ++++
.../datasources/form_based/operations/definitions.test.ts | 1 +
.../operations/definitions/date_histogram.test.tsx | 4 ++++
.../operations/definitions/ranges/ranges.test.tsx | 1 +
.../form_based/operations/layer_helpers.test.ts | 2 ++
.../datasources/form_based/operations/operations.test.ts | 1 +
.../datasources/text_based/components/datapanel.test.tsx | 1 +
.../datasources/text_based/text_based_languages.test.ts | 1 +
.../initializers/initialize_actions.test.ts | 1 +
x-pack/plugins/lens/public/types.ts | 3 +++
18 files changed, 45 insertions(+)
diff --git a/x-pack/plugins/lens/public/data_views_service/loader.ts b/x-pack/plugins/lens/public/data_views_service/loader.ts
index 37c768de6ef8f..16468ff01a22d 100644
--- a/x-pack/plugins/lens/public/data_views_service/loader.ts
+++ b/x-pack/plugins/lens/public/data_views_service/loader.ts
@@ -72,6 +72,12 @@ export function convertDataViewIntoLensIndexPattern(
])
),
fields: newFields,
+ getFormatterForField(sourceField: string): unknown {
+ const dvField = dataView.getFieldByName(sourceField);
+ if (dvField) {
+ return dataView.getFormatterForField(dvField);
+ }
+ },
getFieldByName: getFieldByNameFactory(newFields),
hasRestrictions: !!typeMeta?.aggs,
spec: dataView.toSpec(false),
diff --git a/x-pack/plugins/lens/public/data_views_service/mocks.ts b/x-pack/plugins/lens/public/data_views_service/mocks.ts
index b4acacbe98b73..b5db98c16ec18 100644
--- a/x-pack/plugins/lens/public/data_views_service/mocks.ts
+++ b/x-pack/plugins/lens/public/data_views_service/mocks.ts
@@ -48,6 +48,7 @@ const indexPattern1 = {
hasRestrictions: false,
isPersisted: () => true,
toSpec: () => ({}),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
fields: [
{
name: 'timestamp',
diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx
index c8fec4184190d..9208b0f4f7f25 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx
@@ -165,6 +165,7 @@ const indexPatterns = {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: getFieldByNameFactory(fieldsOne),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -175,6 +176,7 @@ const indexPatterns = {
hasRestrictions: true,
fields: fieldsTwo,
getFieldByName: getFieldByNameFactory(fieldsTwo),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx
index aa6837a7e3393..ff08447f2a247 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx
@@ -150,6 +150,7 @@ const expectedIndexPatterns = {
hasRestrictions: false,
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -2377,6 +2378,7 @@ describe('FormBasedDimensionEditor', () => {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts
index ceb16345f475c..4cf0171de9e0f 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts
@@ -77,6 +77,7 @@ export const mockDataViews = (): IndexPatternMap => {
hasRestrictions: false,
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -87,6 +88,7 @@ export const mockDataViews = (): IndexPatternMap => {
timeFieldName: 'timestamp',
fields: [fields[0]],
getFieldByName: getFieldByNameFactory([fields[0]]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts b/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts
index cd26abe0fdd86..77063a2e1a739 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts
@@ -171,6 +171,7 @@ const expectedIndexPatterns = {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: getFieldByNameFactory(fieldsOne),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
spec: {},
isPersisted: true,
},
@@ -181,6 +182,7 @@ const expectedIndexPatterns = {
hasRestrictions: true,
fields: fieldsTwo,
getFieldByName: getFieldByNameFactory(fieldsTwo),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
spec: {},
isPersisted: true,
},
@@ -3032,6 +3034,7 @@ describe('IndexPattern Data Source', () => {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: getFieldByNameFactory(fieldsOne),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
spec: {},
isPersisted: true,
};
diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx
index 0a0c0dcc05eeb..923c0c814c326 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx
@@ -156,6 +156,7 @@ const expectedIndexPatterns = {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: getFieldByNameFactory(fieldsOne),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -166,6 +167,7 @@ const expectedIndexPatterns = {
timeFieldName: 'timestamp',
fields: fieldsTwo,
getFieldByName: getFieldByNameFactory(fieldsTwo),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -420,6 +422,7 @@ describe('IndexPattern Data Source suggestions', () => {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -664,6 +667,7 @@ describe('IndexPattern Data Source suggestions', () => {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -2899,6 +2903,7 @@ describe('IndexPattern Data Source suggestions', () => {
hasRestrictions: false,
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -2996,6 +3001,7 @@ describe('IndexPattern Data Source suggestions', () => {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -3078,6 +3084,7 @@ describe('IndexPattern Data Source suggestions', () => {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx
index bbcecf15d2bd1..93902547dd603 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx
@@ -194,6 +194,7 @@ describe('Layer Data Panel', () => {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: getFieldByNameFactory(fieldsOne),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -204,6 +205,7 @@ describe('Layer Data Panel', () => {
timeFieldName: 'timestamp',
fields: fieldsTwo,
getFieldByName: getFieldByNameFactory(fieldsTwo),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
@@ -214,6 +216,7 @@ describe('Layer Data Panel', () => {
hasRestrictions: false,
fields: fieldsThree,
getFieldByName: getFieldByNameFactory(fieldsThree),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/mocks.ts b/x-pack/plugins/lens/public/datasources/form_based/mocks.ts
index f98107eebbcca..f625c8b192d66 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/mocks.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/mocks.ts
@@ -94,6 +94,7 @@ export const createMockedIndexPattern = (
hasRestrictions: false,
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
...someProps,
@@ -128,6 +129,7 @@ export const createMockedRestrictedIndexPattern = () => {
fieldFormatMap: { bytes: { id: 'bytes', params: { pattern: '0.0' } } },
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
typeMeta: {
@@ -188,6 +190,7 @@ export const createMockedIndexPatternWithoutType = (
...otherIndexPatternProps,
fields: filteredFields,
getFieldByName: getFieldByNameFactory(filteredFields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
};
};
@@ -200,5 +203,6 @@ export const createMockedIndexPatternWithAdditionalFields = (
...otherIndexPatternProps,
fields: completeFields,
getFieldByName: getFieldByNameFactory(completeFields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
};
};
diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts
index 3dc58b7f1ef6c..94b406039284c 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts
@@ -76,6 +76,7 @@ const indexPattern = {
hasRestrictions: false,
fields: indexPatternFields,
getFieldByName: getFieldByNameFactory([...indexPatternFields]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
};
diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx
index fb1c95f57a8f3..0a49a10ada25f 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx
@@ -60,6 +60,7 @@ const indexPattern1: IndexPattern = {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
};
@@ -88,6 +89,7 @@ const indexPattern2: IndexPattern = {
searchable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
};
@@ -248,6 +250,7 @@ describe('date_histogram', () => {
},
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
},
layer,
uiSettingsMock,
@@ -709,6 +712,7 @@ describe('date_histogram', () => {
},
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
};
const instance = shallow(
diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx
index 8bf71089b21e0..a7c6e436dcfab 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx
@@ -116,6 +116,7 @@ const defaultOptions = {
aggregatable: true,
},
]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts
index 11ea2a7b18414..a7aafc0c272d7 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts
@@ -111,6 +111,7 @@ const indexPattern = {
hasRestrictions: false,
fields: indexPatternFields,
getFieldByName: getFieldByNameFactory([...indexPatternFields, documentField]),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
};
@@ -2902,6 +2903,7 @@ describe('state_helpers', () => {
title: '',
hasRestrictions: true,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
fields,
isPersisted: true,
spec: {},
diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts
index 1f6f041b4eee2..fa9063183eb9d 100644
--- a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts
+++ b/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts
@@ -42,6 +42,7 @@ const expectedIndexPatterns = {
hasRestrictions: false,
fields,
getFieldByName: getFieldByNameFactory(fields),
+ getFormatterForField: () => ({ convert: (v: unknown) => v }),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx b/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx
index 878abc2e7f66a..f66ef72296b13 100644
--- a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx
+++ b/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx
@@ -144,6 +144,7 @@ describe('TextBased Query Languages Data Panel', () => {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: jest.fn(),
+ getFormatterForField: jest.fn(),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts
index ab96f6d802a97..7c2d546587c3e 100644
--- a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts
+++ b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts
@@ -69,6 +69,7 @@ const expectedIndexPatterns = {
hasRestrictions: false,
fields: fieldsOne,
getFieldByName: jest.fn(),
+ getFormatterForField: jest.fn(),
spec: {},
isPersisted: true,
},
diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts
index d7a073f10e024..ae2e170e5422f 100644
--- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts
@@ -109,6 +109,7 @@ describe('Dashboard actions', () => {
},
],
getFieldByName: jest.fn(),
+ getFormatterForField: jest.fn(),
isPersisted: true,
spec: {},
},
diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts
index 9b44a951cfcd6..4aff41450df4c 100644
--- a/x-pack/plugins/lens/public/types.ts
+++ b/x-pack/plugins/lens/public/types.ts
@@ -83,6 +83,9 @@ export interface IndexPatternRef {
}
export interface IndexPattern {
+ getFormatterForField( // used extensively in lens
+ sourceField: string
+ ): unknown;
id: string;
fields: IndexPatternField[];
getFieldByName(name: string): IndexPatternField | undefined;
From b80980694a30f957fbd97dc57f16334daf59850d Mon Sep 17 00:00:00 2001
From: Catherine Liu
Date: Thu, 19 Dec 2024 10:12:09 -0800
Subject: [PATCH 36/59] [Embeddable] EUI Visual Refresh Integration (#204452)
## Summary
Related to https://github.com/elastic/kibana/issues/203132.
Part of [#204596](https://github.com/elastic/kibana/issues/204596).
This replaces all references to euiThemeVars in favor of the useEuiTheme
hook.
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
### Identify risks
Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.
- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine
---
.../eui_markdown/eui_markdown_react_embeddable.tsx | 6 +++---
.../field_list/field_list_react_embeddable.tsx | 6 +++---
.../saved_book/saved_book_react_embeddable.tsx | 14 +++++++++++---
.../search/search_react_embeddable.tsx | 6 +++---
examples/embeddable_examples/tsconfig.json | 1 -
5 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx b/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx
index 2ad9cd639a223..7c262d744a55e 100644
--- a/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx
+++ b/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx
@@ -7,7 +7,7 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import { EuiMarkdownEditor, EuiMarkdownFormat } from '@elastic/eui';
+import { EuiMarkdownEditor, EuiMarkdownFormat, useEuiTheme } from '@elastic/eui';
import { css } from '@emotion/react';
import { ReactEmbeddableFactory } from '@kbn/embeddable-plugin/public';
import { i18n } from '@kbn/i18n';
@@ -16,7 +16,6 @@ import {
useInheritedViewMode,
useStateFromPublishingSubject,
} from '@kbn/presentation-publishing';
-import { euiThemeVars } from '@kbn/ui-theme';
import React from 'react';
import { BehaviorSubject } from 'rxjs';
import { EUI_MARKDOWN_ID } from './constants';
@@ -80,6 +79,7 @@ export const markdownEmbeddableFactory: ReactEmbeddableFactory<
// get state for rendering
const content = useStateFromPublishingSubject(content$);
const viewMode = useInheritedViewMode(api) ?? 'view';
+ const { euiTheme } = useEuiTheme();
return viewMode === 'edit' ? (
{content ?? ''}
diff --git a/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx b/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx
index c6b13d2419971..c88219d1fafc3 100644
--- a/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx
+++ b/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx
@@ -7,7 +7,7 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
+import { EuiFlexGroup, EuiFlexItem, useEuiTheme } from '@elastic/eui';
import { css } from '@emotion/react';
import type { Reference } from '@kbn/content-management-utils';
import { CoreStart } from '@kbn/core-lifecycle-browser';
@@ -17,7 +17,6 @@ import { ReactEmbeddableFactory } from '@kbn/embeddable-plugin/public';
import { i18n } from '@kbn/i18n';
import { initializeTitles, useBatchedPublishingSubjects } from '@kbn/presentation-publishing';
import { LazyDataViewPicker, withSuspense } from '@kbn/presentation-util-plugin/public';
-import { euiThemeVars } from '@kbn/ui-theme';
import {
UnifiedFieldListSidebarContainer,
type UnifiedFieldListSidebarContainerProps,
@@ -150,6 +149,7 @@ export const getFieldListFactory = (
dataViews$,
selectedFieldNames$
);
+ const { euiTheme } = useEuiTheme();
const selectedDataView = renderDataViews?.[0];
@@ -165,7 +165,7 @@ export const getFieldListFactory = (
{
bookAttributesManager.bookTitle,
bookAttributesManager.bookSynopsis
);
+ const { euiTheme } = useEuiTheme();
return (
{
)}
{
api,
Component: () => {
const [count, error] = useBatchedPublishingSubjects(count$, blockingError$);
+ const { euiTheme } = useEuiTheme();
useEffect(() => {
return () => {
@@ -138,7 +138,7 @@ export const getSearchEmbeddableFactory = (services: Services) => {
Date: Thu, 19 Dec 2024 11:19:48 -0700
Subject: [PATCH 37/59] [embeddable] remove embeddable factory methods from
setup and start API (#204797)
Part of embeddable rebuild cleanup. PR removes legacy embeddable factory
registration APIs.
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine
---
.../add_new_panel/use_get_dashboard_panels.ts | 11 +-
.../top_nav/editor_menu.test.tsx | 7 +-
.../public/services/kibana_services.ts | 2 +-
src/plugins/embeddable/common/lib/extract.ts | 2 +-
src/plugins/embeddable/common/lib/inject.ts | 2 +-
src/plugins/embeddable/common/lib/migrate.ts | 2 +-
.../embeddable/common/lib/telemetry.ts | 2 +-
src/plugins/embeddable/common/types.ts | 2 +-
.../public/__snapshots__/plugin.test.ts.snap | 8 -
.../add_from_library_flyout.tsx | 8 +-
.../public/enhancements/registry.ts | 51 +++++
.../embeddable/public/enhancements/types.ts | 21 ++
src/plugins/embeddable/public/index.ts | 17 +-
.../embeddable/public/kibana_services.ts | 2 +-
.../default_embeddable_factory_provider.ts | 65 ------
.../lib/embeddables/embeddable_factory.ts | 153 -------------
.../embeddable_factory_definition.ts | 44 ----
.../public/lib/embeddables/index.ts | 3 -
.../embeddable/public/lib/errors.test.ts | 14 +-
src/plugins/embeddable/public/lib/errors.ts | 15 --
.../run_factory_migrations.test.ts | 77 -------
.../run_factory_migrations.ts | 47 ----
src/plugins/embeddable/public/lib/index.ts | 1 -
src/plugins/embeddable/public/mocks.tsx | 15 +-
src/plugins/embeddable/public/plugin.test.ts | 98 --------
src/plugins/embeddable/public/plugin.tsx | 215 ++----------------
.../embeddable/public/tests/test_plugin.ts | 3 +-
src/plugins/embeddable/public/types.ts | 83 ++++---
.../translations/translations/fr-FR.json | 1 -
.../translations/translations/ja-JP.json | 1 -
.../translations/translations/zh-CN.json | 1 -
.../canvas/common/lib/embeddable_dataurl.ts | 7 +-
.../__stories__/editor_menu.stories.tsx | 47 ----
.../editor_menu/editor_menu.component.tsx | 79 +------
.../editor_menu/editor_menu.tsx | 75 +-----
.../canvas/public/services/kibana_services.ts | 2 +-
.../embeddables/profiling_embeddable.tsx | 59 -----
.../public/application/application.test.tsx | 12 +-
38 files changed, 172 insertions(+), 1082 deletions(-)
delete mode 100644 src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap
create mode 100644 src/plugins/embeddable/public/enhancements/registry.ts
create mode 100644 src/plugins/embeddable/public/enhancements/types.ts
delete mode 100644 src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts
delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts
delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts
delete mode 100644 src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts
delete mode 100644 src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts
delete mode 100644 x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/profiling_embeddable.tsx
diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts b/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts
index d074bcb98bd18..4556991816c99 100644
--- a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts
+++ b/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts
@@ -10,8 +10,7 @@
import { useCallback, useMemo, useRef } from 'react';
import { AsyncSubject, defer, from, lastValueFrom, map, type Subscription } from 'rxjs';
-import type { IconType } from '@elastic/eui';
-import { COMMON_EMBEDDABLE_GROUPING, EmbeddableFactory } from '@kbn/embeddable-plugin/public';
+import { COMMON_EMBEDDABLE_GROUPING } from '@kbn/embeddable-plugin/public';
import { PresentationContainer } from '@kbn/presentation-containers';
import { ADD_PANEL_TRIGGER } from '@kbn/ui-actions-plugin/public';
import { VisGroups, type BaseVisType, type VisTypeAlias } from '@kbn/visualizations-plugin/public';
@@ -28,14 +27,6 @@ interface UseGetDashboardPanelsArgs {
createNewVisType: (visType: BaseVisType | VisTypeAlias) => () => void;
}
-export interface FactoryGroup {
- id: string;
- appName: string;
- icon?: IconType;
- factories: EmbeddableFactory[];
- order: number;
-}
-
const sortGroupPanelsByOrder = (panelGroups: T[]): T[] => {
return panelGroups.sort(
// larger number sorted to the top
diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx
index e1bbef897d538..f82ad60929f24 100644
--- a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx
+++ b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx
@@ -13,13 +13,8 @@ import { buildMockDashboardApi } from '../../mocks';
import { EditorMenu } from './editor_menu';
import { DashboardContext } from '../../dashboard_api/use_dashboard_api';
-import {
- embeddableService,
- uiActionsService,
- visualizationsService,
-} from '../../services/kibana_services';
+import { uiActionsService, visualizationsService } from '../../services/kibana_services';
-jest.spyOn(embeddableService, 'getEmbeddableFactories').mockReturnValue(new Map().values());
jest.spyOn(uiActionsService, 'getTriggerCompatibleActions').mockResolvedValue([]);
jest.spyOn(visualizationsService, 'getByGroup').mockReturnValue([]);
jest.spyOn(visualizationsService, 'getAliases').mockReturnValue([]);
diff --git a/src/plugins/dashboard/public/services/kibana_services.ts b/src/plugins/dashboard/public/services/kibana_services.ts
index e3fde8c37c2a9..f7fe132ff7a38 100644
--- a/src/plugins/dashboard/public/services/kibana_services.ts
+++ b/src/plugins/dashboard/public/services/kibana_services.ts
@@ -13,7 +13,7 @@ import type { ContentManagementPublicStart } from '@kbn/content-management-plugi
import type { CoreStart } from '@kbn/core/public';
import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
import type { DataViewEditorStart } from '@kbn/data-view-editor-plugin/public';
-import type { EmbeddableStart } from '@kbn/embeddable-plugin/public/plugin';
+import type { EmbeddableStart } from '@kbn/embeddable-plugin/public';
import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public/plugin';
import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public';
import type { NoDataPagePluginStart } from '@kbn/no-data-page-plugin/public';
diff --git a/src/plugins/embeddable/common/lib/extract.ts b/src/plugins/embeddable/common/lib/extract.ts
index f922ca3322236..5c7964dfed65b 100644
--- a/src/plugins/embeddable/common/lib/extract.ts
+++ b/src/plugins/embeddable/common/lib/extract.ts
@@ -14,7 +14,7 @@ import { extractBaseEmbeddableInput } from './migrate_base_input';
export const getExtractFunction = (embeddables: CommonEmbeddableStartContract) => {
return (state: EmbeddableStateWithType) => {
const enhancements = state.enhancements || {};
- const factory = embeddables.getEmbeddableFactory(state.type);
+ const factory = embeddables.getEmbeddableFactory?.(state.type);
const baseResponse = extractBaseEmbeddableInput(state);
let updatedInput = baseResponse.state;
diff --git a/src/plugins/embeddable/common/lib/inject.ts b/src/plugins/embeddable/common/lib/inject.ts
index 07acdd82d0a74..8435827df2555 100644
--- a/src/plugins/embeddable/common/lib/inject.ts
+++ b/src/plugins/embeddable/common/lib/inject.ts
@@ -15,7 +15,7 @@ import { injectBaseEmbeddableInput } from './migrate_base_input';
export const getInjectFunction = (embeddables: CommonEmbeddableStartContract) => {
return (state: EmbeddableStateWithType, references: SavedObjectReference[]) => {
const enhancements = state.enhancements || {};
- const factory = embeddables.getEmbeddableFactory(state.type);
+ const factory = embeddables.getEmbeddableFactory?.(state.type);
let updatedInput = injectBaseEmbeddableInput(state, references);
diff --git a/src/plugins/embeddable/common/lib/migrate.ts b/src/plugins/embeddable/common/lib/migrate.ts
index 37a3678bc412c..cb1c7e3d32c68 100644
--- a/src/plugins/embeddable/common/lib/migrate.ts
+++ b/src/plugins/embeddable/common/lib/migrate.ts
@@ -16,7 +16,7 @@ export type MigrateFunction = (state: SerializableRecord, version: string) => Se
export const getMigrateFunction = (embeddables: CommonEmbeddableStartContract) => {
const migrateFn: MigrateFunction = (state: SerializableRecord, version: string) => {
const enhancements = (state.enhancements as SerializableRecord) || {};
- const factory = embeddables.getEmbeddableFactory(state.type as string);
+ const factory = embeddables.getEmbeddableFactory?.(state.type as string);
let updatedInput = baseEmbeddableMigrations[version]
? baseEmbeddableMigrations[version](state)
diff --git a/src/plugins/embeddable/common/lib/telemetry.ts b/src/plugins/embeddable/common/lib/telemetry.ts
index ea747d210166e..757ad762f350d 100644
--- a/src/plugins/embeddable/common/lib/telemetry.ts
+++ b/src/plugins/embeddable/common/lib/telemetry.ts
@@ -17,7 +17,7 @@ export const getTelemetryFunction = (embeddables: CommonEmbeddableStartContract)
telemetryData: Record = {}
) => {
const enhancements = state.enhancements || {};
- const factory = embeddables.getEmbeddableFactory(state.type);
+ const factory = embeddables.getEmbeddableFactory?.(state.type);
let outputTelemetryData = telemetryBaseEmbeddableInput(state, telemetryData);
if (factory) {
diff --git a/src/plugins/embeddable/common/types.ts b/src/plugins/embeddable/common/types.ts
index 951ecd9026ded..85bf9b59bfbe6 100644
--- a/src/plugins/embeddable/common/types.ts
+++ b/src/plugins/embeddable/common/types.ts
@@ -97,7 +97,7 @@ export interface EmbeddableRegistryDefinition<
export type EmbeddablePersistableStateService = PersistableStateService;
export interface CommonEmbeddableStartContract {
- getEmbeddableFactory: (
+ getEmbeddableFactory?: (
embeddableFactoryId: string
) => PersistableState & { isContainerType: boolean };
getEnhancement: (enhancementId: string) => PersistableState;
diff --git a/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap b/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap
deleted file mode 100644
index 6ef25188283e5..0000000000000
--- a/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap
+++ /dev/null
@@ -1,8 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`embeddable factory migrateToLatest returns list of all migrations 1`] = `
-Object {
- "7.11.0": [Function],
- "7.12.0": [Function],
-}
-`;
diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx b/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx
index 3f68e5c2c08ab..eed7226a029ff 100644
--- a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx
+++ b/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx
@@ -27,7 +27,6 @@ import {
contentManagement,
usageCollection,
} from '../kibana_services';
-import { EmbeddableFactoryNotFoundError } from '../lib';
import { getAddFromLibraryType, useAddFromLibraryTypes } from './registry';
const runAddTelemetry = (
@@ -61,7 +60,12 @@ export const AddFromLibraryFlyout = ({
) => {
const libraryType = getAddFromLibraryType(type);
if (!libraryType) {
- core.notifications.toasts.addWarning(new EmbeddableFactoryNotFoundError(type).message);
+ core.notifications.toasts.addWarning(
+ i18n.translate('embeddableApi.addPanel.typeNotFound', {
+ defaultMessage: 'Unable to load type: {type}',
+ values: { type },
+ })
+ );
return;
}
diff --git a/src/plugins/embeddable/public/enhancements/registry.ts b/src/plugins/embeddable/public/enhancements/registry.ts
new file mode 100644
index 0000000000000..8fbd155e5c57a
--- /dev/null
+++ b/src/plugins/embeddable/public/enhancements/registry.ts
@@ -0,0 +1,51 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import { identity } from 'lodash';
+import { SerializableRecord } from '@kbn/utility-types';
+import { EnhancementRegistryDefinition, EnhancementRegistryItem } from './types';
+
+export class EnhancementsRegistry {
+ private registry: Map = new Map();
+
+ public registerEnhancement = (enhancement: EnhancementRegistryDefinition) => {
+ if (this.registry.has(enhancement.id)) {
+ throw new Error(`enhancement with id ${enhancement.id} already exists in the registry`);
+ }
+ this.registry.set(enhancement.id, {
+ id: enhancement.id,
+ telemetry: enhancement.telemetry || ((state, stats) => stats),
+ inject: enhancement.inject || identity,
+ extract:
+ enhancement.extract ||
+ ((state: SerializableRecord) => {
+ return { state, references: [] };
+ }),
+ migrations: enhancement.migrations || {},
+ });
+ };
+
+ public getEnhancements = (): EnhancementRegistryItem[] => {
+ return Array.from(this.registry.values());
+ };
+
+ public getEnhancement = (id: string): EnhancementRegistryItem => {
+ return (
+ this.registry.get(id) || {
+ id: 'unknown',
+ telemetry: (state, stats) => stats,
+ inject: identity,
+ extract: (state: SerializableRecord) => {
+ return { state, references: [] };
+ },
+ migrations: {},
+ }
+ );
+ };
+}
diff --git a/src/plugins/embeddable/public/enhancements/types.ts b/src/plugins/embeddable/public/enhancements/types.ts
new file mode 100644
index 0000000000000..289772bef9cec
--- /dev/null
+++ b/src/plugins/embeddable/public/enhancements/types.ts
@@ -0,0 +1,21 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import type { SerializableRecord } from '@kbn/utility-types';
+import { PersistableState, PersistableStateDefinition } from '@kbn/kibana-utils-plugin/common';
+
+export interface EnhancementRegistryDefinition
+ extends PersistableStateDefinition
{
+ id: string;
+}
+
+export interface EnhancementRegistryItem
+ extends PersistableState
{
+ id: string;
+}
diff --git a/src/plugins/embeddable/public/index.ts b/src/plugins/embeddable/public/index.ts
index 2cc322940a77b..4ec1c43df2dbb 100644
--- a/src/plugins/embeddable/public/index.ts
+++ b/src/plugins/embeddable/public/index.ts
@@ -17,13 +17,10 @@ export {
CELL_VALUE_TRIGGER,
contextMenuTrigger,
CONTEXT_MENU_TRIGGER,
- defaultEmbeddableFactoryProvider,
Embeddable,
- EmbeddableFactoryNotFoundError,
EmbeddableStateTransfer,
ErrorEmbeddable,
isContextMenuTriggerContext,
- isExplicitInputWithAttributes,
isMultiValueClickTriggerContext,
isRangeSelectTriggerContext,
isRowClickTriggerContext,
@@ -37,7 +34,6 @@ export {
PANEL_BADGE_TRIGGER,
PANEL_HOVER_TRIGGER,
PANEL_NOTIFICATION_TRIGGER,
- runEmbeddableFactoryMigrations,
SELECT_RANGE_TRIGGER,
VALUE_CLICK_TRIGGER,
ViewMode,
@@ -47,26 +43,17 @@ export type {
ChartActionContext,
EmbeddableContext,
EmbeddableEditorState,
- EmbeddableFactory,
- EmbeddableFactoryDefinition,
EmbeddableInput,
- EmbeddableInstanceConfiguration,
EmbeddableOutput,
EmbeddablePackageState,
IEmbeddable,
MultiValueClickContext,
- OutputSpec,
PropertySpec,
RangeSelectContext,
ValueClickContext,
} from './lib';
-export type {
- EmbeddableSetup,
- EmbeddableSetupDependencies,
- EmbeddableStart,
- EmbeddableStartDependencies,
-} from './plugin';
-export type { EnhancementRegistryDefinition } from './types';
+export type { EmbeddableSetup, EmbeddableStart } from './types';
+export type { EnhancementRegistryDefinition } from './enhancements/types';
export {
ReactEmbeddableRenderer,
diff --git a/src/plugins/embeddable/public/kibana_services.ts b/src/plugins/embeddable/public/kibana_services.ts
index c7fe839c1dd0e..51dc61599d7a8 100644
--- a/src/plugins/embeddable/public/kibana_services.ts
+++ b/src/plugins/embeddable/public/kibana_services.ts
@@ -11,7 +11,7 @@ import { BehaviorSubject } from 'rxjs';
import { CoreStart } from '@kbn/core/public';
-import { EmbeddableStart, EmbeddableStartDependencies } from '.';
+import { EmbeddableStart, EmbeddableStartDependencies } from './types';
export let core: CoreStart;
export let embeddableStart: EmbeddableStart;
diff --git a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts b/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts
deleted file mode 100644
index 13baf96962a3a..0000000000000
--- a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { SavedObjectAttributes } from '@kbn/core/public';
-import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common';
-import { EmbeddableFactory } from './embeddable_factory';
-import { EmbeddableStateWithType } from '../../../common/types';
-import { EmbeddableFactoryDefinition } from './embeddable_factory_definition';
-import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable';
-import { runEmbeddableFactoryMigrations } from '../factory_migrations/run_factory_migrations';
-
-export const defaultEmbeddableFactoryProvider = <
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable,
- T extends FinderAttributes = SavedObjectAttributes
->(
- def: EmbeddableFactoryDefinition
-): EmbeddableFactory => {
- if (def.migrations && !def.latestVersion) {
- throw new Error(
- 'To run clientside Embeddable migrations a latest version key is required on the factory'
- );
- }
-
- const factory: EmbeddableFactory = {
- ...def,
- latestVersion: def.latestVersion,
- isContainerType: def.isContainerType ?? false,
- canCreateNew: def.canCreateNew ? def.canCreateNew.bind(def) : () => true,
- getDefaultInput: def.getDefaultInput ? def.getDefaultInput.bind(def) : () => ({}),
- getExplicitInput: def.getExplicitInput
- ? def.getExplicitInput.bind(def)
- : () => Promise.resolve({}),
- createFromSavedObject: def.createFromSavedObject
- ? def.createFromSavedObject.bind(def)
- : (savedObjectId: string, input: Partial, parent?: unknown) => {
- throw new Error(`Creation from saved object not supported by type ${def.type}`);
- },
- create: (...args) => {
- const [initialInput, ...otherArgs] = args;
- const { input } = runEmbeddableFactoryMigrations(initialInput, def);
- const createdEmbeddable = def.create.bind(def)(input as I, ...otherArgs);
- return createdEmbeddable;
- },
- type: def.type,
- isEditable: def.isEditable.bind(def),
- getDisplayName: def.getDisplayName.bind(def),
- getDescription: def.getDescription ? def.getDescription.bind(def) : () => '',
- getIconType: def.getIconType ? def.getIconType.bind(def) : () => 'empty',
- savedObjectMetaData: def.savedObjectMetaData,
- telemetry: def.telemetry || ((state, stats) => stats),
- inject: def.inject || ((state: EmbeddableStateWithType) => state),
- extract: def.extract || ((state: EmbeddableStateWithType) => ({ state, references: [] })),
- migrations: def.migrations || {},
- grouping: def.grouping,
- };
- return factory;
-};
diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts
deleted file mode 100644
index e363af639e252..0000000000000
--- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import type { SavedObjectMetaData } from '@kbn/saved-objects-finder-plugin/public';
-import { PersistableState } from '@kbn/kibana-utils-plugin/common';
-import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common';
-import { UiActionsPresentableGrouping } from '@kbn/ui-actions-plugin/public';
-import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable';
-import { ErrorEmbeddable } from './error_embeddable';
-import { PropertySpec } from '../types';
-import { EmbeddableStateWithType } from '../../../common/types';
-
-export interface EmbeddableInstanceConfiguration {
- id: string;
- savedObjectId?: string;
-}
-
-export interface OutputSpec {
- [key: string]: PropertySpec;
-}
-
-export interface ExplicitInputWithAttributes {
- newInput: Partial;
- attributes?: unknown;
-}
-
-export const isExplicitInputWithAttributes = (
- value: ExplicitInputWithAttributes | Partial
-): value is ExplicitInputWithAttributes => {
- return Boolean((value as ExplicitInputWithAttributes).newInput);
-};
-
-/**
- * EmbeddableFactories create and initialize an embeddable instance
- */
-export interface EmbeddableFactory<
- TEmbeddableInput extends EmbeddableInput = EmbeddableInput,
- TEmbeddableOutput extends EmbeddableOutput = EmbeddableOutput,
- TEmbeddable extends IEmbeddable = IEmbeddable<
- TEmbeddableInput,
- TEmbeddableOutput
- >,
- TSavedObjectAttributes extends FinderAttributes = FinderAttributes
-> extends PersistableState {
- /**
- * The version of this Embeddable factory. This will be used in the client side migration system
- * to ensure that input from any source is compatible with the latest version of this embeddable.
- * If the latest version is not defined, all clientside migrations will be skipped. If migrations
- * are added to this factory but a latestVersion is not set, an error will be thrown on server start
- */
- readonly latestVersion?: string;
-
- // A unique identified for this factory, which will be used to map an embeddable spec to
- // a factory that can generate an instance of it.
- readonly type: string;
-
- /**
- * Returns whether the current user should be allowed to edit this type of
- * embeddable. Most of the time this should be based off the capabilities service, hence it's async.
- */
- readonly isEditable: () => Promise;
-
- readonly savedObjectMetaData?: SavedObjectMetaData;
-
- /**
- * Indicates the grouping this factory should appear in a sub-menu. Example, this is used for grouping
- * options in the editors menu in Dashboard for creating new embeddables
- */
- readonly grouping?: UiActionsPresentableGrouping;
-
- /**
- * True if is this factory create embeddables that are Containers. Used in the add panel to
- * conditionally show whether these can be added to another container. It's just not
- * supported right now, but once nested containers are officially supported we can probably get
- * rid of this interface.
- */
- readonly isContainerType: boolean;
-
- /**
- * Returns a display name for this type of embeddable. Used in "Create new... " options
- * in the add panel for containers.
- */
- getDisplayName(): string;
-
- /**
- * Returns an EUI Icon type to be displayed in a menu.
- */
- getIconType(): string;
-
- /**
- * Returns a description about the embeddable.
- */
- getDescription(): string;
-
- /**
- * If false, this type of embeddable can't be created with the "createNew" functionality. Instead,
- * use createFromSavedObject, where an existing saved object must first exist.
- */
- canCreateNew(): boolean;
-
- /**
- * Can be used to get the default input, to be passed in to during the creation process. Default
- * input will not be stored in a parent container, so all inherited input from a container will trump
- * default input parameters.
- * @param partial
- */
- getDefaultInput(partial: Partial): Partial;
-
- /**
- * Can be used to request explicit input from the user, to be passed in to `EmbeddableFactory:create`.
- * Explicit input is stored on the parent container for this embeddable. It overrides all inherited
- * input passed down from the parent container.
- *
- * Can be used to edit an embeddable by re-requesting explicit input. Initial input can be provided to allow the editor to show the current state.
- *
- * If saved object information is needed for creation use-cases, getExplicitInput can also return an unknown typed attributes object which will be passed
- * into the container's addNewEmbeddable function.
- */
- getExplicitInput(
- initialInput?: Partial,
- parent?: unknown
- ): Promise | ExplicitInputWithAttributes>;
-
- /**
- * Creates a new embeddable instance based off the saved object id.
- * @param savedObjectId
- * @param input - some input may come from a parent, or user, if it's not stored with the saved object. For example, the time
- * range of the parent container.
- * @param parent
- */
- createFromSavedObject(
- savedObjectId: string,
- input: Partial,
- parent?: unknown
- ): Promise;
-
- /**
- * Creates an Embeddable instance, running the inital input through all registered migrations. Resolves to undefined if a new Embeddable
- * cannot be directly created and the user will instead be redirected elsewhere.
- */
- create(
- initialInput: TEmbeddableInput,
- parent?: unknown
- ): Promise;
-
- order?: number;
-}
diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts
deleted file mode 100644
index e718bd4de9288..0000000000000
--- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common';
-import { IEmbeddable } from './i_embeddable';
-import { EmbeddableFactory } from './embeddable_factory';
-import { EmbeddableInput, EmbeddableOutput } from '..';
-
-export type EmbeddableFactoryDefinition<
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable,
- T extends FinderAttributes = FinderAttributes
-> =
- // Required parameters
- Pick<
- EmbeddableFactory,
- 'create' | 'type' | 'latestVersion' | 'isEditable' | 'getDisplayName'
- > &
- // Optional parameters
- Partial<
- Pick<
- EmbeddableFactory,
- | 'createFromSavedObject'
- | 'isContainerType'
- | 'getExplicitInput'
- | 'savedObjectMetaData'
- | 'canCreateNew'
- | 'getDefaultInput'
- | 'telemetry'
- | 'extract'
- | 'inject'
- | 'migrations'
- | 'grouping'
- | 'getIconType'
- | 'getDescription'
- >
- >;
diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/plugins/embeddable/public/lib/embeddables/index.ts
index 16b4fb7413769..029a653a9f1c6 100644
--- a/src/plugins/embeddable/public/lib/embeddables/index.ts
+++ b/src/plugins/embeddable/public/lib/embeddables/index.ts
@@ -8,10 +8,7 @@
*/
export * from '../../../common/lib/saved_object_embeddable';
-export * from './default_embeddable_factory_provider';
export { Embeddable } from './embeddable';
export { EmbeddableErrorHandler } from './embeddable_error_handler';
-export * from './embeddable_factory';
-export * from './embeddable_factory_definition';
export { ErrorEmbeddable } from './error_embeddable';
export type { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable';
diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/plugins/embeddable/public/lib/errors.test.ts
index 48c38b25c2621..ebac7371acd51 100644
--- a/src/plugins/embeddable/public/lib/errors.test.ts
+++ b/src/plugins/embeddable/public/lib/errors.test.ts
@@ -8,7 +8,7 @@
*/
import { IncompatibleActionError } from '@kbn/ui-actions-plugin/public';
-import { PanelNotFoundError, EmbeddableFactoryNotFoundError } from './errors';
+import { PanelNotFoundError } from './errors';
describe('IncompatibleActionError', () => {
test('is instance of error', () => {
@@ -33,15 +33,3 @@ describe('PanelNotFoundError', () => {
expect(error.code).toBe('PANEL_NOT_FOUND');
});
});
-
-describe('EmbeddableFactoryNotFoundError', () => {
- test('is instance of error', () => {
- const error = new EmbeddableFactoryNotFoundError('type1');
- expect(error).toBeInstanceOf(Error);
- });
-
- test('has EMBEDDABLE_FACTORY_NOT_FOUND code', () => {
- const error = new EmbeddableFactoryNotFoundError('type1');
- expect(error.code).toBe('EMBEDDABLE_FACTORY_NOT_FOUND');
- });
-});
diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/plugins/embeddable/public/lib/errors.ts
index 0ee0cbc2868bb..79f61f7fbe471 100644
--- a/src/plugins/embeddable/public/lib/errors.ts
+++ b/src/plugins/embeddable/public/lib/errors.ts
@@ -33,18 +33,3 @@ export class PanelIncompatibleError extends Error {
);
}
}
-
-export class EmbeddableFactoryNotFoundError extends Error {
- code = 'EMBEDDABLE_FACTORY_NOT_FOUND';
-
- constructor(type: string) {
- super(
- i18n.translate('embeddableApi.errors.embeddableFactoryNotFound', {
- defaultMessage: `{type} can't be loaded. Please upgrade to the default distribution of Elasticsearch and Kibana with the appropriate license.`,
- values: {
- type,
- },
- })
- );
- }
-}
diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts b/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts
deleted file mode 100644
index aa94bc1695284..0000000000000
--- a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { EmbeddableInput } from '../embeddables';
-import { runEmbeddableFactoryMigrations } from './run_factory_migrations';
-
-describe('Run embeddable factory migrations', () => {
- interface TestInputTypeVersion009 extends EmbeddableInput {
- version: '0.0.9';
- keyThatAlwaysExists: string;
- keyThatGetsRemoved: string;
- }
- interface TestInputTypeVersion100 extends EmbeddableInput {
- version: '1.0.0';
- id: string;
- keyThatAlwaysExists: string;
- keyThatGetsAdded: string;
- }
-
- const migrations = {
- '1.0.0': (input: TestInputTypeVersion009): TestInputTypeVersion100 => {
- const newInput: TestInputTypeVersion100 = {
- id: input.id,
- version: '1.0.0',
- keyThatAlwaysExists: input.keyThatAlwaysExists,
- keyThatGetsAdded: 'I just got born',
- };
- return newInput;
- },
- };
-
- it('should return the initial input and migrationRun=false if the current version is the latest', () => {
- const initialInput: TestInputTypeVersion100 = {
- id: 'superId',
- version: '1.0.0',
- keyThatAlwaysExists: 'Inside Problems',
- keyThatGetsAdded: 'Oh my - I just got born',
- };
-
- const factory = {
- latestVersion: '1.0.0',
- migrations,
- };
-
- const result = runEmbeddableFactoryMigrations(initialInput, factory);
-
- expect(result.input).toBe(initialInput);
- expect(result.migrationRun).toBe(false);
- });
-
- it('should return migrated input and migrationRun=true if version does not match latestVersion', () => {
- const initialInput: TestInputTypeVersion009 = {
- id: 'superId',
- version: '0.0.9',
- keyThatAlwaysExists: 'Inside Problems',
- keyThatGetsRemoved: 'juvenile plumage',
- };
-
- const factory = {
- latestVersion: '1.0.0',
- migrations,
- };
-
- const result = runEmbeddableFactoryMigrations(initialInput, factory);
-
- expect(result.migrationRun).toBe(true);
- expect(result.input.version).toBe('1.0.0');
- expect((result.input as unknown as TestInputTypeVersion009).keyThatGetsRemoved).toBeUndefined();
- expect(result.input.keyThatGetsAdded).toEqual('I just got born');
- });
-});
diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts b/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts
deleted file mode 100644
index 45350dec95306..0000000000000
--- a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { cloneDeep } from 'lodash';
-import compare from 'semver/functions/compare';
-
-import { migrateToLatest } from '@kbn/kibana-utils-plugin/common';
-import { EmbeddableFactory, EmbeddableInput } from '../embeddables';
-
-/**
- * A helper function that migrates an Embeddable Input to its latest version. Note that this function
- * only runs the embeddable factory's migrations.
- */
-export const runEmbeddableFactoryMigrations = (
- initialInput: { version?: string },
- factory: { migrations?: EmbeddableFactory['migrations']; latestVersion?: string }
-): { input: ToType; migrationRun: boolean } => {
- if (!factory.latestVersion) {
- return { input: initialInput as unknown as ToType, migrationRun: false };
- }
-
- // any embeddable with no version set is considered to require all clientside migrations so we default to 0.0.0
- const inputVersion = initialInput.version ?? '0.0.0';
- const migrationRun = compare(inputVersion, factory.latestVersion, true) !== 0;
-
- // return early to avoid extra operations when there are no migrations to run.
- if (!migrationRun) return { input: initialInput as unknown as ToType, migrationRun };
-
- const factoryMigrations =
- typeof factory?.migrations === 'function' ? factory?.migrations() : factory?.migrations || {};
- const migratedInput = migrateToLatest(
- factoryMigrations ?? {},
- {
- state: cloneDeep(initialInput),
- version: inputVersion,
- },
- true
- );
- migratedInput.version = factory.latestVersion;
- return { input: migratedInput as ToType, migrationRun };
-};
diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/plugins/embeddable/public/lib/index.ts
index 642af73713dc4..60f8a3638816d 100644
--- a/src/plugins/embeddable/public/lib/index.ts
+++ b/src/plugins/embeddable/public/lib/index.ts
@@ -12,4 +12,3 @@ export * from './embeddables';
export * from './types';
export * from './triggers';
export * from './state_transfer';
-export * from './factory_migrations/run_factory_migrations';
diff --git a/src/plugins/embeddable/public/mocks.tsx b/src/plugins/embeddable/public/mocks.tsx
index 2208abd97e5d6..4adab25eea345 100644
--- a/src/plugins/embeddable/public/mocks.tsx
+++ b/src/plugins/embeddable/public/mocks.tsx
@@ -19,17 +19,17 @@ import { savedObjectsManagementPluginMock } from '@kbn/saved-objects-management-
import { SavedObjectsTaggingApi } from '@kbn/saved-objects-tagging-oss-plugin/public';
import { uiActionsPluginMock } from '@kbn/ui-actions-plugin/public/mocks';
+import { EmbeddableStateTransfer } from '.';
+import { setKibanaServices } from './kibana_services';
+import { EmbeddablePublicPlugin } from './plugin';
+import { registerReactEmbeddableFactory } from './react_embeddable_system';
+import { registerAddFromLibraryType } from './add_from_library/registry';
import {
EmbeddableSetup,
EmbeddableSetupDependencies,
EmbeddableStart,
EmbeddableStartDependencies,
- EmbeddableStateTransfer,
-} from '.';
-import { setKibanaServices } from './kibana_services';
-import { EmbeddablePublicPlugin } from './plugin';
-import { registerReactEmbeddableFactory } from './react_embeddable_system';
-import { registerAddFromLibraryType } from './add_from_library/registry';
+} from './types';
export type Setup = jest.Mocked;
export type Start = jest.Mocked;
@@ -48,7 +48,6 @@ const createSetupContract = (): Setup => {
const setupContract: Setup = {
registerAddFromLibraryType: jest.fn().mockImplementation(registerAddFromLibraryType),
registerReactEmbeddableFactory: jest.fn().mockImplementation(registerReactEmbeddableFactory),
- registerEmbeddableFactory: jest.fn(),
registerEnhancement: jest.fn(),
};
return setupContract;
@@ -56,8 +55,6 @@ const createSetupContract = (): Setup => {
const createStartContract = (): Start => {
const startContract: Start = {
- getEmbeddableFactories: jest.fn(),
- getEmbeddableFactory: jest.fn(),
telemetry: jest.fn(),
extract: jest.fn(),
inject: jest.fn(),
diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/plugins/embeddable/public/plugin.test.ts
index 00a19f8e9f561..0b15d4afd034b 100644
--- a/src/plugins/embeddable/public/plugin.test.ts
+++ b/src/plugins/embeddable/public/plugin.test.ts
@@ -10,104 +10,6 @@
import { coreMock } from '@kbn/core/public/mocks';
import { testPlugin } from './tests/test_plugin';
-describe('embeddable factory', () => {
- const coreSetup = coreMock.createSetup();
- const coreStart = coreMock.createStart();
- const { setup, doStart } = testPlugin(coreSetup, coreStart);
- const start = doStart();
- const embeddableFactoryId = 'ID';
- const embeddableFactory = {
- type: embeddableFactoryId,
- create: jest.fn(),
- getDisplayName: () => 'Test',
- isEditable: () => Promise.resolve(true),
- extract: jest.fn().mockImplementation((state) => ({ state, references: [] })),
- inject: jest.fn().mockImplementation((state) => state),
- telemetry: jest.fn().mockResolvedValue({}),
- latestVersion: '7.11.0',
- migrations: { '7.11.0': jest.fn().mockImplementation((state) => state) },
- } as any;
- const embeddableState = {
- id: embeddableFactoryId,
- type: embeddableFactoryId,
- my: 'state',
- } as any;
-
- const containerEmbeddableFactoryId = 'CONTAINER';
- const containerEmbeddableFactory = {
- type: containerEmbeddableFactoryId,
- latestVersion: '1.0.0',
- create: jest.fn(),
- getDisplayName: () => 'Container',
- isContainer: true,
- isEditable: () => Promise.resolve(true),
- extract: jest.fn().mockImplementation((state) => ({ state, references: [] })),
- inject: jest.fn().mockImplementation((state) => state),
- telemetry: jest.fn().mockResolvedValue({}),
- migrations: { '7.12.0': jest.fn().mockImplementation((state) => state) },
- };
-
- const containerState = {
- id: containerEmbeddableFactoryId,
- type: containerEmbeddableFactoryId,
- some: 'state',
- panels: [
- {
- ...embeddableState,
- },
- ],
- } as any;
-
- setup.registerEmbeddableFactory(embeddableFactoryId, embeddableFactory);
- setup.registerEmbeddableFactory(containerEmbeddableFactoryId, containerEmbeddableFactory);
-
- test('cannot register embeddable factory with the same ID', async () => {
- expect(() =>
- setup.registerEmbeddableFactory(embeddableFactoryId, embeddableFactory)
- ).toThrowError(
- 'Embeddable factory [embeddableFactoryId = ID] already registered in Embeddables API.'
- );
- });
-
- test('embeddableFactory extract function gets called when calling embeddable extract', () => {
- start.extract(embeddableState);
- expect(embeddableFactory.extract).toBeCalledWith(embeddableState);
- });
-
- test('embeddableFactory inject function gets called when calling embeddable inject', () => {
- start.inject(embeddableState, []);
- expect(embeddableFactory.extract).toBeCalledWith(embeddableState);
- });
-
- test('embeddableFactory telemetry function gets called when calling embeddable telemetry', () => {
- start.telemetry(embeddableState, {});
- expect(embeddableFactory.telemetry).toBeCalledWith(embeddableState, {});
- });
-
- test('embeddableFactory migrate function gets called when calling embeddable migrate', () => {
- start.getAllMigrations!()['7.11.0']!(embeddableState);
- expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState);
- });
-
- test('panels inside container get automatically migrated when migrating conta1iner', () => {
- start.getAllMigrations!()['7.11.0']!(containerState);
- expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState);
- });
-
- test('migrateToLatest returns list of all migrations', () => {
- const migrations = start.getAllMigrations();
- expect(migrations).toMatchSnapshot();
- });
-
- test('migrateToLatest calls correct migrate functions', () => {
- start.migrateToLatest!({
- state: embeddableState,
- version: '7.11.0',
- });
- expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState);
- });
-});
-
describe('embeddable enhancements', () => {
const coreSetup = coreMock.createSetup();
const coreStart = coreMock.createStart();
diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/plugins/embeddable/public/plugin.tsx
index ef339e5bacc2c..84ea1676dd018 100644
--- a/src/plugins/embeddable/public/plugin.tsx
+++ b/src/plugins/embeddable/public/plugin.tsx
@@ -8,10 +8,6 @@
*/
import { Subscription } from 'rxjs';
-import { identity } from 'lodash';
-import type { SerializableRecord } from '@kbn/utility-types';
-import { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public';
-import { Start as InspectorStart } from '@kbn/inspector-plugin/public';
import {
PluginInitializerContext,
CoreSetup,
@@ -20,26 +16,8 @@ import {
PublicAppInfo,
} from '@kbn/core/public';
import { Storage } from '@kbn/kibana-utils-plugin/public';
-import { UsageCollectionStart } from '@kbn/usage-collection-plugin/public';
-import { migrateToLatest, PersistableStateService } from '@kbn/kibana-utils-plugin/common';
-import { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public';
-import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public';
-import type { SavedObjectTaggingOssPluginStart } from '@kbn/saved-objects-tagging-oss-plugin/public';
-import {
- EmbeddableFactoryRegistry,
- EnhancementsRegistry,
- EnhancementRegistryDefinition,
- EnhancementRegistryItem,
-} from './types';
+import { migrateToLatest } from '@kbn/kibana-utils-plugin/common';
import { bootstrap } from './bootstrap';
-import {
- EmbeddableFactory,
- EmbeddableInput,
- EmbeddableOutput,
- defaultEmbeddableFactoryProvider,
- IEmbeddable,
-} from './lib';
-import { EmbeddableFactoryDefinition } from './lib/embeddables/embeddable_factory_definition';
import { EmbeddableStateTransfer } from './lib/state_transfer';
import { EmbeddableStateWithType, CommonEmbeddableStartContract } from '../common/types';
import {
@@ -52,90 +30,19 @@ import { getAllMigrations } from '../common/lib/get_all_migrations';
import { setKibanaServices } from './kibana_services';
import { registerReactEmbeddableFactory } from './react_embeddable_system';
import { registerAddFromLibraryType } from './add_from_library/registry';
+import { EnhancementsRegistry } from './enhancements/registry';
+import {
+ EmbeddableSetup,
+ EmbeddableSetupDependencies,
+ EmbeddableStart,
+ EmbeddableStartDependencies,
+} from './types';
-export interface EmbeddableSetupDependencies {
- uiActions: UiActionsSetup;
-}
-
-export interface EmbeddableStartDependencies {
- uiActions: UiActionsStart;
- inspector: InspectorStart;
- usageCollection: UsageCollectionStart;
- contentManagement: ContentManagementPublicStart;
- savedObjectsManagement: SavedObjectsManagementPluginStart;
- savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart;
-}
-
-export interface EmbeddableSetup {
- /**
- * Register a saved object type with the "Add from library" flyout.
- *
- * @example
- * registerAddFromLibraryType({
- * onAdd: (container, savedObject) => {
- * container.addNewPanel({
- * panelType: CONTENT_ID,
- * initialState: savedObject.attributes,
- * });
- * },
- * savedObjectType: MAP_SAVED_OBJECT_TYPE,
- * savedObjectName: i18n.translate('xpack.maps.mapSavedObjectLabel', {
- * defaultMessage: 'Map',
- * }),
- * getIconForSavedObject: () => APP_ICON,
- * });
- */
- registerAddFromLibraryType: typeof registerAddFromLibraryType;
-
- /**
- * Registers an async {@link ReactEmbeddableFactory} getter.
- */
- registerReactEmbeddableFactory: typeof registerReactEmbeddableFactory;
-
- /**
- * @deprecated use {@link registerReactEmbeddableFactory} instead.
- */
- registerEmbeddableFactory: <
- I extends EmbeddableInput,
- O extends EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable
- >(
- id: string,
- factory: EmbeddableFactoryDefinition
- ) => () => EmbeddableFactory;
- /**
- * @deprecated
- */
- registerEnhancement: (enhancement: EnhancementRegistryDefinition) => void;
-}
-
-export interface EmbeddableStart extends PersistableStateService {
- /**
- * @deprecated use {@link registerReactEmbeddableFactory} instead.
- */
- getEmbeddableFactory: <
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable
- >(
- embeddableFactoryId: string
- ) => EmbeddableFactory | undefined;
-
- /**
- * @deprecated
- */
- getEmbeddableFactories: () => IterableIterator;
- getStateTransfer: (storage?: Storage) => EmbeddableStateTransfer;
-}
export class EmbeddablePublicPlugin implements Plugin {
- private readonly embeddableFactoryDefinitions: Map =
- new Map();
- private readonly embeddableFactories: EmbeddableFactoryRegistry = new Map();
- private readonly enhancements: EnhancementsRegistry = new Map();
private stateTransferService: EmbeddableStateTransfer = {} as EmbeddableStateTransfer;
- private isRegistryReady = false;
private appList?: ReadonlyMap;
private appListSubscription?: Subscription;
+ private enhancementsRegistry = new EnhancementsRegistry();
constructor(initializerContext: PluginInitializerContext) {}
@@ -145,17 +52,11 @@ export class EmbeddablePublicPlugin implements Plugin {
- this.embeddableFactories.set(def.type, defaultEmbeddableFactoryProvider(def));
- });
-
this.appListSubscription = core.application.applications$.subscribe((appList) => {
this.appList = appList;
});
@@ -165,24 +66,19 @@ export class EmbeddablePublicPlugin implements Plugin
getAllMigrations(
- Array.from(this.embeddableFactories.values()),
- Array.from(this.enhancements.values()),
+ [],
+ this.enhancementsRegistry.getEnhancements(),
getMigrateFunction(commonContract)
);
const embeddableStart: EmbeddableStart = {
- getEmbeddableFactory: this.getEmbeddableFactory,
- getEmbeddableFactories: this.getEmbeddableFactories,
getStateTransfer: (storage?: Storage) =>
storage
? new EmbeddableStateTransfer(
@@ -210,89 +106,4 @@ export class EmbeddablePublicPlugin implements Plugin {
- if (this.enhancements.has(enhancement.id)) {
- throw new Error(`enhancement with id ${enhancement.id} already exists in the registry`);
- }
- this.enhancements.set(enhancement.id, {
- id: enhancement.id,
- telemetry: enhancement.telemetry || ((state, stats) => stats),
- inject: enhancement.inject || identity,
- extract:
- enhancement.extract ||
- ((state: SerializableRecord) => {
- return { state, references: [] };
- }),
- migrations: enhancement.migrations || {},
- });
- };
-
- private getEnhancement = (id: string): EnhancementRegistryItem => {
- return (
- this.enhancements.get(id) || {
- id: 'unknown',
- telemetry: (state, stats) => stats,
- inject: identity,
- extract: (state: SerializableRecord) => {
- return { state, references: [] };
- },
- migrations: {},
- }
- );
- };
-
- private getEmbeddableFactories = () => {
- this.ensureFactoriesExist();
- return this.embeddableFactories.values();
- };
-
- private registerEmbeddableFactory = <
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable
- >(
- embeddableFactoryId: string,
- factory: EmbeddableFactoryDefinition
- ): (() => EmbeddableFactory) => {
- if (this.embeddableFactoryDefinitions.has(embeddableFactoryId)) {
- throw new Error(
- `Embeddable factory [embeddableFactoryId = ${embeddableFactoryId}] already registered in Embeddables API.`
- );
- }
- this.embeddableFactoryDefinitions.set(embeddableFactoryId, factory);
-
- return () => {
- return this.getEmbeddableFactory(embeddableFactoryId);
- };
- };
-
- private getEmbeddableFactory = <
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable
- >(
- embeddableFactoryId: string
- ): EmbeddableFactory => {
- if (!this.isRegistryReady) {
- throw new Error('Embeddable factories can only be retrieved after setup lifecycle.');
- }
- this.ensureFactoryExists(embeddableFactoryId);
- const factory = this.embeddableFactories.get(embeddableFactoryId);
-
- return factory as EmbeddableFactory;
- };
-
- // These two functions are only to support legacy plugins registering factories after the start lifecycle.
- private ensureFactoriesExist = () => {
- this.embeddableFactoryDefinitions.forEach((def) => this.ensureFactoryExists(def.type));
- };
-
- private ensureFactoryExists = (type: string) => {
- if (!this.embeddableFactories.get(type)) {
- const def = this.embeddableFactoryDefinitions.get(type);
- if (!def) return;
- this.embeddableFactories.set(type, defaultEmbeddableFactoryProvider(def));
- }
- };
}
diff --git a/src/plugins/embeddable/public/tests/test_plugin.ts b/src/plugins/embeddable/public/tests/test_plugin.ts
index 4cd20c4863b2b..ffb7d73b9bed6 100644
--- a/src/plugins/embeddable/public/tests/test_plugin.ts
+++ b/src/plugins/embeddable/public/tests/test_plugin.ts
@@ -19,7 +19,8 @@ import {
import { Query } from '@kbn/es-query';
import { SavedObjectsTaggingApi } from '@kbn/saved-objects-tagging-oss-plugin/public';
import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks';
-import { EmbeddablePublicPlugin, EmbeddableSetup, EmbeddableStart } from '../plugin';
+import { EmbeddablePublicPlugin } from '../plugin';
+import type { EmbeddableSetup, EmbeddableStart } from '../types';
export interface TestPluginReturn {
plugin: EmbeddablePublicPlugin;
coreSetup: CoreSetup;
diff --git a/src/plugins/embeddable/public/types.ts b/src/plugins/embeddable/public/types.ts
index 72d8052706254..2d97adfc2b8e0 100644
--- a/src/plugins/embeddable/public/types.ts
+++ b/src/plugins/embeddable/public/types.ts
@@ -7,36 +7,65 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import type { SerializableRecord } from '@kbn/utility-types';
-import { SavedObjectAttributes } from '@kbn/core/public';
-import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common';
-import { PersistableState, PersistableStateDefinition } from '@kbn/kibana-utils-plugin/common';
-import {
- EmbeddableFactory,
- EmbeddableInput,
- EmbeddableOutput,
- IEmbeddable,
- EmbeddableFactoryDefinition,
-} from './lib/embeddables';
+import type { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public';
+import type { Start as InspectorStart } from '@kbn/inspector-plugin/public';
+import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public';
+import type { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public';
+import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public';
+import type { SavedObjectTaggingOssPluginStart } from '@kbn/saved-objects-tagging-oss-plugin/public';
+import type { Storage } from '@kbn/kibana-utils-plugin/public';
+import type { PersistableStateService } from '@kbn/kibana-utils-plugin/common';
+import type { registerAddFromLibraryType } from './add_from_library/registry';
+import type { registerReactEmbeddableFactory } from './react_embeddable_system';
+import type { EmbeddableStateTransfer } from './lib';
+import type { EmbeddableStateWithType } from '../common';
+import { EnhancementRegistryDefinition } from './enhancements/types';
-export type EmbeddableFactoryRegistry = Map;
-export type EnhancementsRegistry = Map;
+export interface EmbeddableSetupDependencies {
+ uiActions: UiActionsSetup;
+}
-export interface EnhancementRegistryDefinition
- extends PersistableStateDefinition
{
- id: string;
+export interface EmbeddableStartDependencies {
+ uiActions: UiActionsStart;
+ inspector: InspectorStart;
+ usageCollection: UsageCollectionStart;
+ contentManagement: ContentManagementPublicStart;
+ savedObjectsManagement: SavedObjectsManagementPluginStart;
+ savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart;
}
-export interface EnhancementRegistryItem
- extends PersistableState
{
- id: string;
+export interface EmbeddableSetup {
+ /**
+ * Register a saved object type with the "Add from library" flyout.
+ *
+ * @example
+ * registerAddFromLibraryType({
+ * onAdd: (container, savedObject) => {
+ * container.addNewPanel({
+ * panelType: CONTENT_ID,
+ * initialState: savedObject.attributes,
+ * });
+ * },
+ * savedObjectType: MAP_SAVED_OBJECT_TYPE,
+ * savedObjectName: i18n.translate('xpack.maps.mapSavedObjectLabel', {
+ * defaultMessage: 'Map',
+ * }),
+ * getIconForSavedObject: () => APP_ICON,
+ * });
+ */
+ registerAddFromLibraryType: typeof registerAddFromLibraryType;
+
+ /**
+ * Registers an async {@link ReactEmbeddableFactory} getter.
+ */
+ registerReactEmbeddableFactory: typeof registerReactEmbeddableFactory;
+
+ /**
+ * @deprecated
+ */
+ registerEnhancement: (enhancement: EnhancementRegistryDefinition) => void;
}
-export type EmbeddableFactoryProvider = <
- I extends EmbeddableInput = EmbeddableInput,
- O extends EmbeddableOutput = EmbeddableOutput,
- E extends IEmbeddable = IEmbeddable,
- T extends FinderAttributes = SavedObjectAttributes
->(
- def: EmbeddableFactoryDefinition
-) => EmbeddableFactory;
+export interface EmbeddableStart extends PersistableStateService {
+ getStateTransfer: (storage?: Storage) => EmbeddableStateTransfer;
+}
diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
index 731044f9f61ca..b794f947c0fa1 100644
--- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json
+++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json
@@ -2774,7 +2774,6 @@
"embeddableApi.common.constants.grouping.other": "Autre",
"embeddableApi.contextMenuTrigger.description": "Une nouvelle action sera ajoutée au menu contextuel du panneau",
"embeddableApi.contextMenuTrigger.title": "Menu contextuel",
- "embeddableApi.errors.embeddableFactoryNotFound": "Impossible de charger {type}. Veuillez effectuer une mise à niveau vers la distribution par défaut d'Elasticsearch et de Kibana avec la licence appropriée.",
"embeddableApi.errors.paneldoesNotExist": "Panneau introuvable",
"embeddableApi.errors.panelIncompatibleError": "L'API du panneau n'est pas compatible",
"embeddableApi.multiValueClickTrigger.description": "Sélection de plusieurs valeurs d'une même dimension dans la visualisation",
diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
index e262a4bb35a41..eda56781402ff 100644
--- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json
+++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json
@@ -2769,7 +2769,6 @@
"embeddableApi.common.constants.grouping.other": "Other",
"embeddableApi.contextMenuTrigger.description": "新しいアクションがパネルのコンテキストメニューに追加されます",
"embeddableApi.contextMenuTrigger.title": "コンテキストメニュー",
- "embeddableApi.errors.embeddableFactoryNotFound": "{type} を読み込めません。Elasticsearch と Kibanaのデフォルトのディストリビューションを適切なライセンスでアップグレードしてください。",
"embeddableApi.errors.paneldoesNotExist": "パネルが見つかりません",
"embeddableApi.errors.panelIncompatibleError": "パネルAPIに互換性がありません",
"embeddableApi.multiValueClickTrigger.description": "ビジュアライゼーションの1つのディメンションの複数値を選択しています",
diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
index f63f6602f7257..db29389b8a0eb 100644
--- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json
+++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json
@@ -2761,7 +2761,6 @@
"embeddableApi.common.constants.grouping.other": "其他",
"embeddableApi.contextMenuTrigger.description": "会将一个新操作添加到该面板的上下文菜单",
"embeddableApi.contextMenuTrigger.title": "上下文菜单",
- "embeddableApi.errors.embeddableFactoryNotFound": "{type} 无法加载。请升级到具有适当许可的默认 Elasticsearch 和 Kibana 分发。",
"embeddableApi.errors.paneldoesNotExist": "未找到面板",
"embeddableApi.errors.panelIncompatibleError": "面板 API 不兼容",
"embeddableApi.multiValueClickTrigger.description": "在可视化上选择多个单一维度的值",
diff --git a/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts b/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts
index 96e77a54e5398..7cadd254ca3ed 100644
--- a/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts
+++ b/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts
@@ -5,11 +5,6 @@
* 2.0.
*/
-import { type ExplicitInputWithAttributes } from '@kbn/embeddable-plugin/public/lib';
-import { EmbeddableInput } from '../../types';
-
-export const encode = (
- input: ExplicitInputWithAttributes | Partial | Readonly
-) => Buffer.from(JSON.stringify(input)).toString('base64');
+export const encode = (input: object) => Buffer.from(JSON.stringify(input)).toString('base64');
export const decode = (serializedInput: string) =>
JSON.parse(Buffer.from(serializedInput, 'base64').toString());
diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx
index dc638adb979ed..22eb31d1a9086 100644
--- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx
+++ b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx
@@ -8,54 +8,9 @@
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import React from 'react';
-import { EmbeddableFactoryDefinition, IEmbeddable } from '@kbn/embeddable-plugin/public';
import { BaseVisType, VisTypeAlias } from '@kbn/visualizations-plugin/public';
import { EditorMenu } from '../editor_menu.component';
-const testFactories: EmbeddableFactoryDefinition[] = [
- {
- type: 'ml_anomaly_swimlane',
- getDisplayName: () => 'Anomaly swimlane',
- getIconType: () => '',
- getDescription: () => 'Description for anomaly swimlane',
- isEditable: () => Promise.resolve(true),
- latestVersion: '1.0.0',
- create: () => Promise.resolve({ id: 'swimlane_embeddable' } as IEmbeddable),
- grouping: [
- {
- id: 'ml',
- getDisplayName: () => 'machine learning',
- getIconType: () => 'machineLearningApp',
- },
- ],
- },
- {
- type: 'ml_anomaly_chart',
- getDisplayName: () => 'Anomaly chart',
- getIconType: () => '',
- getDescription: () => 'Description for anomaly chart',
- isEditable: () => Promise.resolve(true),
- create: () => Promise.resolve({ id: 'anomaly_chart_embeddable' } as IEmbeddable),
- latestVersion: '1.0.0',
- grouping: [
- {
- id: 'ml',
- getDisplayName: () => 'machine learning',
- getIconType: () => 'machineLearningApp',
- },
- ],
- },
- {
- type: 'log_stream',
- getDisplayName: () => 'Log stream',
- getIconType: () => '',
- getDescription: () => 'Description for log stream',
- latestVersion: '1.0.0',
- isEditable: () => Promise.resolve(true),
- create: () => Promise.resolve({ id: 'anomaly_chart_embeddable' } as IEmbeddable),
- },
-];
-
const testVisTypes: BaseVisType[] = [
{ title: 'TSVB', icon: '', description: 'Description of TSVB', name: 'tsvb' } as BaseVisType,
{
@@ -95,11 +50,9 @@ const testVisTypeAliases: VisTypeAlias[] = [
storiesOf('components/WorkpadHeader/EditorMenu', module).add('default', () => (
action('createNewVisType')}
- createNewEmbeddableFromFactory={() => action('createNewEmbeddableFromFactory')}
createNewEmbeddableFromAction={() => action('createNewEmbeddableFromAction')}
/>
));
diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx
index 5c424961d7f50..188898798dd7a 100644
--- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx
+++ b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx
@@ -7,12 +7,7 @@
import React, { FC, useCallback } from 'react';
-import {
- EuiContextMenu,
- EuiContextMenuItemIcon,
- EuiContextMenuPanelItemDescriptor,
-} from '@elastic/eui';
-import { EmbeddableFactoryDefinition } from '@kbn/embeddable-plugin/public';
+import { EuiContextMenu, EuiContextMenuPanelItemDescriptor } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { ToolbarPopover } from '@kbn/shared-ux-button-toolbar';
import { Action, ActionExecutionContext } from '@kbn/ui-actions-plugin/public/actions';
@@ -28,21 +23,11 @@ const strings = {
}),
};
-interface FactoryGroup {
- id: string;
- appName: string;
- icon: EuiContextMenuItemIcon;
- panelId: number;
- factories: EmbeddableFactoryDefinition[];
-}
-
interface Props {
- factories: EmbeddableFactoryDefinition[];
addPanelActions: Action[];
promotedVisTypes: BaseVisType[];
visTypeAliases: VisTypeAlias[];
createNewVisType: (visType?: BaseVisType | VisTypeAlias) => () => void;
- createNewEmbeddableFromFactory: (factory: EmbeddableFactoryDefinition) => () => void;
createNewEmbeddableFromAction: (
action: Action,
context: ActionExecutionContext,
@@ -51,46 +36,14 @@ interface Props {
}
export const EditorMenu: FC = ({
- factories,
addPanelActions,
promotedVisTypes,
visTypeAliases,
createNewVisType,
createNewEmbeddableFromAction,
- createNewEmbeddableFromFactory,
}: Props) => {
- const factoryGroupMap: Record = {};
- const ungroupedFactories: EmbeddableFactoryDefinition[] = [];
const canvasApi = useCanvasApi();
- let panelCount = 1;
-
- // Maps factories with a group to create nested context menus for each group type
- // and pushes ungrouped factories into a separate array
- factories.forEach((factory: EmbeddableFactoryDefinition, index) => {
- const { grouping } = factory;
-
- if (grouping) {
- grouping.forEach((group) => {
- if (factoryGroupMap[group.id]) {
- factoryGroupMap[group.id].factories.push(factory);
- } else {
- factoryGroupMap[group.id] = {
- id: group.id,
- appName: group.getDisplayName ? group.getDisplayName({}) : group.id,
- icon: (group.getIconType ? group.getIconType({}) : 'empty') as EuiContextMenuItemIcon,
- factories: [factory],
- panelId: panelCount,
- };
-
- panelCount++;
- }
- });
- } else {
- ungroupedFactories.push(factory);
- }
- });
-
const getVisTypeMenuItem = (visType: BaseVisType): EuiContextMenuPanelItemDescriptor => {
const { name, title, titleInWizard, description, icon = 'empty' } = visType;
return {
@@ -116,22 +69,6 @@ export const EditorMenu: FC = ({
};
};
- const getEmbeddableFactoryMenuItem = (
- factory: EmbeddableFactoryDefinition
- ): EuiContextMenuPanelItemDescriptor => {
- const icon = factory?.getIconType ? factory.getIconType() : 'empty';
-
- const toolTipContent = factory?.getDescription ? factory.getDescription() : undefined;
-
- return {
- name: factory.getDisplayName(),
- icon,
- toolTipContent,
- onClick: createNewEmbeddableFromFactory(factory),
- 'data-test-subj': `createNew-${factory.type}`,
- };
- };
-
const getAddPanelActionMenuItems = useCallback(
(closePopover: () => void) => {
return addPanelActions.map((item) => {
@@ -158,23 +95,9 @@ export const EditorMenu: FC = ({
items: [
...visTypeAliases.map(getVisTypeAliasMenuItem),
...getAddPanelActionMenuItems(closePopover),
- ...ungroupedFactories.map(getEmbeddableFactoryMenuItem),
...promotedVisTypes.map(getVisTypeMenuItem),
- ...Object.values(factoryGroupMap).map(({ id, appName, icon, panelId }) => ({
- name: appName,
- icon,
- panel: panelId,
- 'data-test-subj': `canvasEditorMenu-${id}Group`,
- })),
],
},
- ...Object.values(factoryGroupMap).map(
- ({ appName, panelId, factories: groupFactories }: FactoryGroup) => ({
- id: panelId,
- title: appName,
- items: groupFactories.map(getEmbeddableFactoryMenuItem),
- })
- ),
];
return (
diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx
index 06d20e919dcbe..60933dd4d121b 100644
--- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx
+++ b/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx
@@ -5,7 +5,7 @@
* 2.0.
*/
-import React, { FC, useCallback, useEffect, useMemo, useState } from 'react';
+import React, { FC, useCallback, useEffect, useState } from 'react';
import { useLocation } from 'react-router-dom';
import {
VisGroups,
@@ -13,19 +13,12 @@ import {
type VisTypeAlias,
type VisParams,
} from '@kbn/visualizations-plugin/public';
-import {
- EmbeddableFactory,
- EmbeddableFactoryDefinition,
- EmbeddableInput,
-} from '@kbn/embeddable-plugin/public';
import { Action, ActionExecutionContext } from '@kbn/ui-actions-plugin/public/actions';
import { trackCanvasUiMetric, METRIC_TYPE } from '../../../lib/ui_metric';
import { CANVAS_APP } from '../../../../common/lib';
import { ElementSpec } from '../../../../types';
import { EditorMenu as Component } from './editor_menu.component';
-import { embeddableInputToExpression } from '../../../../canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression';
-import { EmbeddableInput as CanvasEmbeddableInput } from '../../../../canvas_plugin_src/expression_types';
import { useCanvasApi } from '../../hooks/use_canvas_api';
import { ADD_CANVAS_ELEMENT_TRIGGER } from '../../../state/triggers/add_canvas_element_trigger';
import {
@@ -41,11 +34,6 @@ interface Props {
addElement: (element: Partial) => void;
}
-interface UnwrappedEmbeddableFactory {
- factory: EmbeddableFactory;
- isEditable: boolean;
-}
-
export const EditorMenu: FC = ({ addElement }) => {
const { pathname, search, hash } = useLocation();
const stateTransferService = embeddableService.getStateTransfer();
@@ -53,26 +41,6 @@ export const EditorMenu: FC = ({ addElement }) => {
const [addPanelActions, setAddPanelActions] = useState>>([]);
- const embeddableFactories = useMemo(
- () => (embeddableService ? Array.from(embeddableService.getEmbeddableFactories()) : []),
- []
- );
-
- const [unwrappedEmbeddableFactories, setUnwrappedEmbeddableFactories] = useState<
- UnwrappedEmbeddableFactory[]
- >([]);
-
- useEffect(() => {
- Promise.all(
- embeddableFactories.map>(async (factory) => ({
- factory,
- isEditable: await factory.isEditable(),
- }))
- ).then((factories) => {
- setUnwrappedEmbeddableFactories(factories);
- });
- }, [embeddableFactories]);
-
useEffect(() => {
let mounted = true;
async function loadPanelActions() {
@@ -123,33 +91,6 @@ export const EditorMenu: FC = ({ addElement }) => {
[stateTransferService, pathname, search, hash]
);
- const createNewEmbeddableFromFactory = useCallback(
- (factory: EmbeddableFactoryDefinition) => async () => {
- if (trackCanvasUiMetric) {
- trackCanvasUiMetric(METRIC_TYPE.CLICK, factory.type);
- }
-
- let embeddableInput;
- if (factory.getExplicitInput) {
- embeddableInput = await factory.getExplicitInput();
- } else {
- const newEmbeddable = await factory.create({} as EmbeddableInput);
- embeddableInput = newEmbeddable?.getInput();
- }
-
- if (embeddableInput) {
- const expression = embeddableInputToExpression(
- embeddableInput as CanvasEmbeddableInput,
- factory.type,
- undefined,
- true
- );
- addElement({ expression });
- }
- },
- [addElement]
- );
-
const createNewEmbeddableFromAction = useCallback(
(action: Action, context: ActionExecutionContext, closePopover: () => void) =>
(event: React.MouseEvent) => {
@@ -190,31 +131,17 @@ export const EditorMenu: FC = ({ addElement }) => {
)
.filter(({ disableCreate }: VisTypeAlias) => !disableCreate);
- const factories = unwrappedEmbeddableFactories
- .filter(
- ({ isEditable, factory: { type, canCreateNew, isContainerType } }) =>
- isEditable &&
- !isContainerType &&
- canCreateNew() &&
- !['visualization', 'ml', 'links'].some((factoryType) => {
- return type.includes(factoryType);
- })
- )
- .map(({ factory }) => factory);
-
const promotedVisTypes = getVisTypesByGroup(VisGroups.PROMOTED);
const legacyVisTypes = getVisTypesByGroup(VisGroups.LEGACY);
return (
>).concat(
promotedVisTypes,
legacyVisTypes
)}
- factories={factories}
addPanelActions={addPanelActions}
visTypeAliases={visTypeAliases}
/>
diff --git a/x-pack/plugins/canvas/public/services/kibana_services.ts b/x-pack/plugins/canvas/public/services/kibana_services.ts
index 92980d712fb4f..b820ca1396ffc 100644
--- a/x-pack/plugins/canvas/public/services/kibana_services.ts
+++ b/x-pack/plugins/canvas/public/services/kibana_services.ts
@@ -11,7 +11,7 @@ import type { ContentManagementPublicStart } from '@kbn/content-management-plugi
import type { CoreStart, PluginInitializerContext } from '@kbn/core/public';
import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
-import type { EmbeddableStart } from '@kbn/embeddable-plugin/public/plugin';
+import type { EmbeddableStart } from '@kbn/embeddable-plugin/public';
import type { ExpressionsStart } from '@kbn/expressions-plugin/public';
import type { PresentationUtilPluginStart } from '@kbn/presentation-util-plugin/public';
import type { ReportingStart } from '@kbn/reporting-plugin/public';
diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/profiling_embeddable.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/profiling_embeddable.tsx
deleted file mode 100644
index 989b446ca3b21..0000000000000
--- a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/profiling_embeddable.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import { css } from '@emotion/react';
-import { useKibana } from '@kbn/kibana-react-plugin/public';
-import React, { useEffect, useRef, useState } from 'react';
-import { ObservabilitySharedStart } from '../../../plugin';
-
-export function ProfilingEmbeddable({
- embeddableFactoryId,
- height,
- ...props
-}: T & { embeddableFactoryId: string; height?: string }) {
- const { embeddable: embeddablePlugin } = useKibana().services;
- const [embeddable, setEmbeddable] = useState();
- const embeddableRoot: React.RefObject = useRef(null);
-
- useEffect(() => {
- async function createEmbeddable() {
- const factory = embeddablePlugin?.getEmbeddableFactory(embeddableFactoryId);
- const input = { ...props, id: 'embeddable_profiling' };
- const embeddableObject = await factory?.create(input);
- setEmbeddable(embeddableObject);
- }
- createEmbeddable();
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, []);
-
- useEffect(() => {
- if (embeddableRoot.current && embeddable) {
- embeddable.render(embeddableRoot.current);
- }
- }, [embeddable, embeddableRoot]);
-
- useEffect(() => {
- if (embeddable) {
- embeddable.updateInput(props);
- embeddable.reload();
- }
- }, [embeddable, props]);
-
- return (
-
- );
-}
diff --git a/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx b/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx
index 2b9dd676eac17..5414ed2963ed5 100644
--- a/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx
+++ b/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx
@@ -51,18 +51,8 @@ const mockPlugin = {
observabilityAIAssistant: mockAIAssistantPlugin,
};
-const mockEmbeddable = embeddablePluginMock.createStartContract();
-
-mockEmbeddable.getEmbeddableFactory = jest.fn().mockImplementation(() => ({
- create: () => ({
- reload: jest.fn(),
- setRenderTooltipContent: jest.fn(),
- setLayerList: jest.fn(),
- }),
-}));
-
const mockCorePlugins = {
- embeddable: mockEmbeddable,
+ embeddable: embeddablePluginMock.createStartContract(),
inspector: {},
maps: {},
observabilityShared: {
From 1ba2716c7b00086b35788d7714781b252be1d6a0 Mon Sep 17 00:00:00 2001
From: Alexi Doak <109488926+doakalexi@users.noreply.github.com>
Date: Thu, 19 Dec 2024 10:30:15 -0800
Subject: [PATCH 38/59] [ResponseOps] Granular Connector RBAC - adding API key
to event log (#204114)
Part of https://github.com/elastic/kibana/issues/180908
## Summary
This change is part of adding granular RBAC for SecuritySolution
connectors. In this PR, I updated the action executor to log API key
details when a connector is executed by a user authenticated via API
key. The public name and id of the API key are now included in the event
log.
### Checklist
Check the PR satisfies following conditions.
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
### To verify
1. Create an API key
2. Create a connector that will successfully run, it doesn't have to be
SentinelOne.
3. Run the following with the ID and correct params for your connector
type.
```
curl -X POST "http://localhost:5601/api/actions/connector/$CONNECTOR_ID/_execute" -H 'Authorization: ApiKey $API_KEY' -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
{
"params": {
"message": "hi"
}
}'
```
4. Go to dev tools and run the following query to verify that the API
key information is stored in the event log
```
GET /.kibana-event-log*/_search
{
"sort": [
{
"@timestamp": {
"order": "desc"
}
}
],
"query": {
"bool": {
"filter": [
{
"term": {
"event.provider": {
"value": "actions"
}
}
}
]
}
}
```
---
.../src/authentication/authenticated_user.ts | 20 ++++
.../server/lib/action_executor.test.ts | 91 ++++++++++++++++---
.../actions/server/lib/action_executor.ts | 1 +
.../plugins/event_log/generated/mappings.json | 10 ++
x-pack/plugins/event_log/generated/schemas.ts | 6 ++
x-pack/plugins/event_log/scripts/mappings.js | 10 ++
.../group2/tests/actions/execute.ts | 78 ++++++++++++++++
7 files changed, 204 insertions(+), 12 deletions(-)
diff --git a/packages/core/security/core-security-common/src/authentication/authenticated_user.ts b/packages/core/security/core-security-common/src/authentication/authenticated_user.ts
index d80ff8f434a4f..f550707290de7 100644
--- a/packages/core/security/core-security-common/src/authentication/authenticated_user.ts
+++ b/packages/core/security/core-security-common/src/authentication/authenticated_user.ts
@@ -25,6 +25,21 @@ export interface UserRealm {
type: string;
}
+/**
+ * Represents the metadata of an API key.
+ */
+export interface ApiKeyDescriptor {
+ /**
+ * Name of the API key.
+ */
+ name: string;
+
+ /**
+ * The ID of the API key.
+ */
+ id: string;
+}
+
/**
* Represents the currently authenticated user.
*/
@@ -65,4 +80,9 @@ export interface AuthenticatedUser extends User {
* Indicates whether user is an operator.
*/
operator?: boolean;
+
+ /**
+ * Metadata of the API key that was used to authenticate the user.
+ */
+ api_key?: ApiKeyDescriptor;
}
diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/plugins/actions/server/lib/action_executor.test.ts
index 76354dc882dd9..b89b997ca749d 100644
--- a/x-pack/plugins/actions/server/lib/action_executor.test.ts
+++ b/x-pack/plugins/actions/server/lib/action_executor.test.ts
@@ -229,6 +229,18 @@ const getBaseExecuteEventLogDoc = (
};
const mockGetRequestBodyByte = jest.spyOn(ConnectorUsageCollector.prototype, 'getRequestBodyByte');
+const mockRealm = { name: 'default_native', type: 'native' };
+const mockUser = {
+ authentication_realm: mockRealm,
+ authentication_provider: mockRealm,
+ authentication_type: 'realm',
+ lookup_realm: mockRealm,
+ elastic_cloud_user: true,
+ enabled: true,
+ profile_uid: '123',
+ roles: ['superuser'],
+ username: 'coolguy',
+};
beforeEach(() => {
jest.resetAllMocks();
@@ -236,18 +248,7 @@ beforeEach(() => {
mockGetRequestBodyByte.mockReturnValue(0);
spacesMock.getSpaceId.mockReturnValue('some-namespace');
loggerMock.get.mockImplementation(() => loggerMock);
- const mockRealm = { name: 'default_native', type: 'native' };
- securityMockStart.authc.getCurrentUser.mockImplementation(() => ({
- authentication_realm: mockRealm,
- authentication_provider: mockRealm,
- authentication_type: 'realm',
- lookup_realm: mockRealm,
- elastic_cloud_user: true,
- enabled: true,
- profile_uid: '123',
- roles: ['superuser'],
- username: 'coolguy',
- }));
+ securityMockStart.authc.getCurrentUser.mockImplementation(() => mockUser);
getActionsAuthorizationWithRequest.mockReturnValue(authorizationMock);
});
@@ -1563,6 +1564,72 @@ describe('Event log', () => {
message: 'action started: test:1: action-1',
});
});
+
+ test('writes to the api key to the event log', async () => {
+ securityMockStart.authc.getCurrentUser.mockImplementationOnce(() => ({
+ ...mockUser,
+ authentication_type: 'api_key',
+ api_key: {
+ id: '456',
+ name: 'test api key',
+ },
+ }));
+
+ const executorMock = setupActionExecutorMock();
+ executorMock.mockResolvedValue({
+ actionId: '1',
+ status: 'ok',
+ });
+ await actionExecutor.execute(executeParams);
+ expect(eventLogger.logEvent).toHaveBeenCalledTimes(2);
+ expect(eventLogger.logEvent).toHaveBeenNthCalledWith(2, {
+ event: {
+ action: 'execute',
+ kind: 'action',
+ outcome: 'success',
+ },
+ kibana: {
+ action: {
+ execution: {
+ usage: {
+ request_body_bytes: 0,
+ },
+ uuid: '2',
+ },
+ id: '1',
+ name: 'action-1',
+ type_id: 'test',
+ },
+ alert: {
+ rule: {
+ execution: {
+ uuid: '123abc',
+ },
+ },
+ },
+ user_api_key: {
+ id: '456',
+ name: 'test api key',
+ },
+ saved_objects: [
+ {
+ id: '1',
+ namespace: 'some-namespace',
+ rel: 'primary',
+ type: 'action',
+ type_id: 'test',
+ },
+ ],
+ space_ids: ['some-namespace'],
+ },
+ message: 'action executed: test:1: action-1',
+ user: {
+ id: '123',
+ name: 'coolguy',
+ },
+ });
+ });
+
const mockGenAi = {
id: 'chatcmpl-7LztF5xsJl2z5jcNpJKvaPm4uWt8x',
object: 'chat.completion',
diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/plugins/actions/server/lib/action_executor.ts
index 799fdb80f39af..b0d8e7c5b469c 100644
--- a/x-pack/plugins/actions/server/lib/action_executor.ts
+++ b/x-pack/plugins/actions/server/lib/action_executor.ts
@@ -552,6 +552,7 @@ export class ActionExecutor {
event.user = event.user || {};
event.user.name = currentUser?.username;
event.user.id = currentUser?.profile_uid;
+ event.kibana!.user_api_key = currentUser?.api_key;
set(
event,
'kibana.action.execution.usage.request_body_bytes',
diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/plugins/event_log/generated/mappings.json
index 5fc8128baa7ae..110cc3b6665f9 100644
--- a/x-pack/plugins/event_log/generated/mappings.json
+++ b/x-pack/plugins/event_log/generated/mappings.json
@@ -523,6 +523,16 @@
}
}
}
+ },
+ "user_api_key": {
+ "properties": {
+ "id": {
+ "type": "keyword"
+ },
+ "name": {
+ "type": "keyword"
+ }
+ }
}
}
}
diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/plugins/event_log/generated/schemas.ts
index 7542d6db5213a..ef3e9c7facbf9 100644
--- a/x-pack/plugins/event_log/generated/schemas.ts
+++ b/x-pack/plugins/event_log/generated/schemas.ts
@@ -237,6 +237,12 @@ export const EventSchema = schema.maybe(
),
})
),
+ user_api_key: schema.maybe(
+ schema.object({
+ id: ecsString(),
+ name: ecsString(),
+ })
+ ),
})
),
})
diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/plugins/event_log/scripts/mappings.js
index 770f9e6d45f9a..349ed4903ae29 100644
--- a/x-pack/plugins/event_log/scripts/mappings.js
+++ b/x-pack/plugins/event_log/scripts/mappings.js
@@ -299,6 +299,16 @@ exports.EcsCustomPropertyMappings = {
},
},
},
+ user_api_key: {
+ properties: {
+ id: {
+ type: 'keyword',
+ },
+ name: {
+ type: 'keyword',
+ },
+ },
+ },
},
},
};
diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts
index ddd2ed954efe7..4d5204b067643 100644
--- a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts
+++ b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts
@@ -573,6 +573,84 @@ export default function ({ getService }: FtrProviderContext) {
throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`);
}
});
+
+ it('should log api key information from execute request', async () => {
+ const { body: createdApiKey } = await supertest
+ .post(`/internal/security/api_key`)
+ .set('kbn-xsrf', 'foo')
+ .send({ name: 'test user managed key' })
+ .expect(200);
+ const apiKey = createdApiKey.encoded;
+
+ const connectorTypeId = 'test.index-record';
+ const { body: createdConnector } = await supertest
+ .post(`${getUrlPrefix(space.id)}/api/actions/connector`)
+ .set('kbn-xsrf', 'foo')
+ .send({
+ name: 'My Connector',
+ connector_type_id: connectorTypeId,
+ config: {
+ unencrypted: `This value shouldn't get encrypted`,
+ },
+ secrets: {
+ encrypted: 'This value should be encrypted',
+ },
+ })
+ .expect(200);
+ objectRemover.add(space.id, createdConnector.id, 'connector', 'actions');
+
+ const reference = `actions-execute-1:${user.username}`;
+ const response = await supertestWithoutAuth
+ .post(`${getUrlPrefix(space.id)}/api/actions/connector/${createdConnector.id}/_execute`)
+ .set('kbn-xsrf', 'foo')
+ .set('Authorization', `ApiKey ${apiKey}`)
+ .send({
+ params: {
+ reference,
+ index: ES_TEST_INDEX_NAME,
+ message: 'Testing 123',
+ },
+ });
+
+ switch (scenario.id) {
+ case 'no_kibana_privileges at space1':
+ case 'space_1_all_alerts_none_actions at space1':
+ case 'space_1_all at space2':
+ case 'global_read at space1':
+ case 'superuser at space1':
+ case 'space_1_all at space1':
+ case 'space_1_all_with_restricted_fixture at space1':
+ case 'system_actions at space1':
+ expect(response.statusCode).to.eql(200);
+ expect(response.body).to.be.an('object');
+ const searchResult = await esTestIndexTool.search(
+ 'action:test.index-record',
+ reference
+ );
+ // @ts-expect-error doesnt handle total: number
+ expect(searchResult.body.hits.total.value > 0).to.be(true);
+
+ const events: IValidatedEvent[] = await retry.try(async () => {
+ return await getEventLog({
+ getService,
+ spaceId: space.id,
+ type: 'action',
+ id: createdConnector.id,
+ provider: 'actions',
+ actions: new Map([
+ ['execute-start', { equal: 1 }],
+ ['execute', { equal: 1 }],
+ ]),
+ });
+ });
+ const executeEvent = events[1];
+ expect(executeEvent?.kibana?.user_api_key?.id).to.eql(createdApiKey.id);
+ expect(executeEvent?.kibana?.user_api_key?.name).to.eql(createdApiKey.name);
+ break;
+ default:
+ throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`);
+ }
+ });
});
}
});
From 71f27053c89ed8ce97ac1dc8f478e928cceedb90 Mon Sep 17 00:00:00 2001
From: Matthew Kime
Date: Thu, 19 Dec 2024 12:39:27 -0600
Subject: [PATCH 39/59] Relocating module `@kbn/index-management-plugin`
(#204953)
## Summary
Last plugin to move for sustainable architecture
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
.github/CODEOWNERS | 2 +-
docs/developer/plugin-list.asciidoc | 2 +-
package.json | 2 +-
src/dev/precommit_hook/casing_check_config.js | 2 +-
tsconfig.base.json | 4 ++--
x-pack/.i18nrc.json | 2 +-
.../plugins/shared}/index_management/README.md | 2 +-
.../create_enrich_policy/create_enrich_policy.helpers.ts | 0
.../create_enrich_policy/create_enrich_policy.test.tsx | 0
.../__jest__/client_integration/helpers/fixtures.ts | 0
.../__jest__/client_integration/helpers/http_requests.ts | 0
.../__jest__/client_integration/helpers/index.ts | 0
.../__jest__/client_integration/helpers/mocks.ts | 0
.../client_integration/helpers/setup_environment.tsx | 0
.../__jest__/client_integration/helpers/test_subjects.ts | 0
.../home/data_streams_project_level_retention.test.ts | 0
.../client_integration/home/data_streams_tab.helpers.ts | 0
.../client_integration/home/data_streams_tab.test.ts | 0
.../client_integration/home/enrich_policies.helpers.ts | 0
.../client_integration/home/enrich_policies.test.tsx | 0
.../__jest__/client_integration/home/home.helpers.ts | 0
.../__jest__/client_integration/home/home.test.ts | 0
.../home/index_templates_tab.helpers.ts | 0
.../client_integration/home/index_templates_tab.test.ts | 0
.../client_integration/home/indices_tab.helpers.ts | 0
.../client_integration/home/indices_tab.test.tsx | 0
.../index_details_page/index_details_page.helpers.ts | 0
.../index_details_page/index_details_page.test.tsx | 0
.../client_integration/index_details_page/mocks.ts | 0
.../index_details_page/select_inference_id.test.tsx | 0
.../index_details_page/semantic_text_bannner.test.tsx | 0
.../trained_models_deployment_modal.test.tsx | 0
.../index_template_wizard/constants.ts | 0
.../index_template_wizard/template_clone.helpers.ts | 0
.../index_template_wizard/template_clone.test.tsx | 0
.../index_template_wizard/template_create.helpers.ts | 0
.../index_template_wizard/template_create.test.tsx | 0
.../index_template_wizard/template_edit.helpers.ts | 0
.../index_template_wizard/template_edit.test.tsx | 0
.../index_template_wizard/template_form.helpers.ts | 0
.../components/__snapshots__/index_table.test.js.snap | 0
.../__jest__/components/index_table.test.js | 0
.../common/constants/allow_auto_create.ts | 0
.../index_management/common/constants/api_base_path.ts | 0
.../index_management/common/constants/base_path.ts | 0
.../shared}/index_management/common/constants/index.ts | 0
.../index_management/common/constants/index_modes.ts | 0
.../index_management/common/constants/index_statuses.ts | 0
.../common/constants/invalid_characters.ts | 0
.../shared}/index_management/common/constants/plugin.ts | 0
.../index_management/common/constants/ui_metric.ts | 0
.../plugins/shared}/index_management/common/index.ts | 1 -
.../common/lib/component_template_serialization.test.ts | 0
.../common/lib/component_template_serialization.ts | 0
.../common/lib/data_stream_utils.test.ts | 0
.../index_management/common/lib/data_stream_utils.ts | 0
.../index_management/common/lib/enrich_policies.ts | 0
.../plugins/shared}/index_management/common/lib/index.ts | 0
.../common/lib/template_serialization.test.ts | 0
.../common/lib/template_serialization.ts | 0
.../shared}/index_management/common/lib/utils.test.ts | 0
.../plugins/shared}/index_management/common/lib/utils.ts | 0
.../shared}/index_management/common/types/aliases.ts | 0
.../index_management/common/types/component_templates.ts | 0
.../index_management/common/types/data_streams.ts | 0
.../index_management/common/types/enrich_policies.ts | 0
.../shared}/index_management/common/types/index.ts | 0
.../shared}/index_management/common/types/indices.ts | 0
.../shared}/index_management/common/types/mappings.ts | 0
.../shared}/index_management/common/types/templates.ts | 0
.../plugins/shared}/index_management/jest.config.js | 9 +++++----
.../plugins/shared}/index_management/kibana.jsonc | 0
.../shared}/index_management/public/application/app.tsx | 0
.../index_management/public/application/app_context.tsx | 0
.../component_template_create.test.tsx | 0
.../component_template_details.test.ts | 0
.../client_integration/component_template_edit.test.tsx | 0
.../client_integration/component_template_list.test.ts | 0
.../helpers/component_template_create.helpers.ts | 0
.../helpers/component_template_details.helpers.ts | 0
.../helpers/component_template_edit.helpers.ts | 0
.../helpers/component_template_form.helpers.ts | 0
.../helpers/component_template_list.helpers.ts | 0
.../__jest__/client_integration/helpers/constants.ts | 0
.../__jest__/client_integration/helpers/http_requests.ts | 0
.../__jest__/client_integration/helpers/index.ts | 0
.../client_integration/helpers/setup_environment.tsx | 0
.../components/component_templates/__jest__/index.ts | 0
.../component_template_details.tsx | 0
.../component_template_details/index.ts | 0
.../component_template_details/manage_button.tsx | 0
.../component_template_details/tab_summary.tsx | 0
.../component_template_details/tabs.tsx | 0
.../component_template_list/component_template_list.tsx | 0
.../component_template_list_container.tsx | 0
.../component_template_list/delete_modal.tsx | 0
.../component_template_list/empty_prompt.tsx | 0
.../component_templates/component_template_list/index.ts | 0
.../component_template_list/table.tsx | 0
.../component_template_selector/component_templates.scss | 0
.../component_template_selector/component_templates.tsx | 0
.../component_templates_list.tsx | 0
.../component_templates_list_item.scss | 0
.../component_templates_list_item.tsx | 0
.../component_templates_selection.tsx | 0
.../component_templates_selector.scss | 0
.../component_templates_selector.tsx | 0
.../components/create_button_popover.tsx | 0
.../components/filter_list_button.tsx | 0
.../component_template_selector/components/index.ts | 0
.../component_template_selector/index.ts | 0
.../component_template_clone.tsx | 0
.../component_template_clone/index.ts | 0
.../component_template_create.tsx | 0
.../component_template_create/index.ts | 0
.../mappings_datastreams_rollover_modal.tsx | 0
.../use_datastreams_rollover.test.tsx | 0
.../use_datastreams_rollover.tsx | 0
.../component_template_edit/component_template_edit.tsx | 0
.../component_template_edit/index.ts | 0
.../component_template_form/component_template_form.tsx | 0
.../component_template_form/index.ts | 0
.../component_template_form/steps/index.ts | 0
.../component_template_form/steps/step_logistics.tsx | 0
.../steps/step_logistics_container.tsx | 0
.../steps/step_logistics_schema.tsx | 0
.../component_template_form/steps/step_review.tsx | 0
.../steps/step_review_container.tsx | 0
.../component_template_wizard/index.ts | 0
.../use_step_from_query_string.test.tsx | 0
.../use_step_from_query_string.tsx | 0
.../component_templates/component_templates_context.tsx | 0
.../component_templates/components/deprecated_badge.tsx | 0
.../components/component_templates/components/index.ts | 0
.../components/component_templates/constants.ts | 0
.../application/components/component_templates/index.ts | 0
.../components/component_templates/lib/api.ts | 0
.../components/component_templates/lib/documentation.ts | 0
.../components/component_templates/lib/index.ts | 0
.../components/component_templates/lib/request.ts | 0
.../components/component_templates/shared_imports.ts | 0
.../public/application/components/data_health.tsx | 0
.../components/enrich_policies/auth_provider.tsx | 0
.../public/application/components/index.ts | 0
.../application/components/index_templates/index.ts | 0
.../legacy_index_template_deprecation.tsx | 0
.../components/index_templates/shared_imports.ts | 0
.../index_templates/simulate_template/index.ts | 0
.../simulate_template/simulate_template.tsx | 0
.../simulate_template/simulate_template_flyout.tsx | 0
.../client_integration/configuration_form.test.tsx | 0
.../datatypes/date_range_datatype.test.tsx | 0
.../__jest__/client_integration/datatypes/index.ts | 0
.../client_integration/datatypes/other_datatype.test.tsx | 0
.../client_integration/datatypes/point_datatype.test.tsx | 0
.../datatypes/scaled_float_datatype.test.tsx | 0
.../client_integration/datatypes/shape_datatype.test.tsx | 0
.../client_integration/datatypes/text_datatype.test.tsx | 0
.../datatypes/version_datatype.test.tsx | 0
.../__jest__/client_integration/edit_field.test.tsx | 0
.../__jest__/client_integration/helpers/index.ts | 0
.../helpers/mappings_editor.helpers.tsx | 0
.../client_integration/helpers/setup_environment.tsx | 0
.../__jest__/client_integration/mapped_fields.test.tsx | 0
.../__jest__/client_integration/mappings_editor.test.tsx | 0
.../__jest__/client_integration/runtime_fields.test.tsx | 0
.../application/components/mappings_editor/_index.scss | 0
.../components/mappings_editor/components/_index.scss | 0
.../components/mappings_editor/components/code_block.tsx | 0
.../components/configuration_form/configuration_form.tsx | 0
.../configuration_form/configuration_form_schema.tsx | 0
.../configuration_serialization.test.ts | 0
.../dynamic_mapping_section/dynamic_mapping_section.tsx | 0
.../configuration_form/dynamic_mapping_section/index.ts | 0
.../components/configuration_form/index.ts | 0
.../configuration_form/mapper_size_plugin_section.tsx | 0
.../configuration_form/meta_field_section/index.ts | 0
.../meta_field_section/meta_field_section.tsx | 0
.../components/configuration_form/routing_section.tsx | 0
.../configuration_form/source_field_section/constants.ts | 0
.../source_field_section/i18n_texts.ts | 0
.../configuration_form/source_field_section/index.ts | 0
.../source_field_section/source_field_section.tsx | 0
.../components/configuration_form/subobjects_section.tsx | 0
.../components/document_fields/_index.scss | 0
.../components/document_fields/document_fields.tsx | 0
.../document_fields/document_fields_header.tsx | 0
.../document_fields/document_fields_search.tsx | 0
.../document_fields/editor_toggle_controls.tsx | 0
.../field_parameters/analyzer_parameter.tsx | 0
.../field_parameters/analyzer_parameter_selects.tsx | 0
.../field_parameters/analyzers_parameter.tsx | 0
.../document_fields/field_parameters/boost_parameter.tsx | 0
.../field_parameters/coerce_number_parameter.tsx | 0
.../field_parameters/coerce_shape_parameter.tsx | 0
.../field_parameters/copy_to_parameter.tsx | 0
.../field_parameters/doc_values_parameter.tsx | 0
.../field_parameters/dynamic_parameter.tsx | 0
.../field_parameters/eager_global_ordinals_parameter.tsx | 0
.../field_parameters/enabled_parameter.tsx | 0
.../fielddata_frequency_filter_absolute.tsx | 0
.../fielddata_frequency_filter_percentage.tsx | 0
.../field_parameters/fielddata_parameter.tsx | 0
.../field_parameters/format_parameter.tsx | 0
.../field_parameters/ignore_above_parameter.tsx | 0
.../field_parameters/ignore_malformed.tsx | 0
.../field_parameters/ignore_z_value_parameter.tsx | 0
.../components/document_fields/field_parameters/index.ts | 0
.../document_fields/field_parameters/index_parameter.tsx | 0
.../field_parameters/locale_parameter.tsx | 0
.../field_parameters/max_shingle_size_parameter.tsx | 0
.../document_fields/field_parameters/meta_parameter.tsx | 0
.../document_fields/field_parameters/name_parameter.tsx | 0
.../document_fields/field_parameters/norms_parameter.tsx | 0
.../field_parameters/null_value_parameter.tsx | 0
.../field_parameters/orientation_parameter.tsx | 0
.../field_parameters/other_type_json_parameter.tsx | 0
.../field_parameters/other_type_name_parameter.tsx | 0
.../document_fields/field_parameters/path_parameter.tsx | 0
.../field_parameters/reference_field_selects.tsx | 0
.../field_parameters/relations_parameter.tsx | 0
.../field_parameters/select_inference_id.tsx | 0
.../field_parameters/similarity_parameter.tsx | 0
.../split_queries_on_whitespace_parameter.tsx | 0
.../document_fields/field_parameters/store_parameter.tsx | 0
.../field_parameters/subobjects_parameter.tsx | 0
.../field_parameters/subtype_parameter.tsx | 0
.../field_parameters/term_vector_parameter.tsx | 0
.../document_fields/field_parameters/type_parameter.tsx | 0
.../document_fields/fields/_field_list_item.scss | 0
.../components/document_fields/fields/_index.scss | 0
.../document_fields/fields/create_field/create_field.tsx | 0
.../document_fields/fields/create_field/index.ts | 0
.../required_parameters_forms/alias_type.tsx | 0
.../required_parameters_forms/dense_vector_type.tsx | 0
.../create_field/required_parameters_forms/index.ts | 0
.../required_parameters_forms/scaled_float_type.tsx | 0
.../required_parameters_forms/token_count_type.tsx | 0
.../create_field/semantic_text/use_semantic_text.test.ts | 0
.../create_field/semantic_text/use_semantic_text.ts | 0
.../document_fields/fields/delete_field_provider.tsx | 0
.../fields/edit_field/_edit_field_form_row.scss | 0
.../document_fields/fields/edit_field/_index.scss | 0
.../fields/edit_field/advanced_parameters_section.tsx | 0
.../fields/edit_field/basic_parameters_section.tsx | 0
.../document_fields/fields/edit_field/edit_field.tsx | 0
.../fields/edit_field/edit_field_container.tsx | 0
.../fields/edit_field/edit_field_form_row.tsx | 0
.../fields/edit_field/edit_field_header_form.tsx | 0
.../fields/edit_field/field_description_section.tsx | 0
.../document_fields/fields/edit_field/index.ts | 0
.../fields/edit_field/use_update_field.ts | 0
.../document_fields/fields/field_beta_badge.tsx | 0
.../document_fields/fields/field_types/alias_type.tsx | 0
.../document_fields/fields/field_types/binary_type.tsx | 0
.../document_fields/fields/field_types/boolean_type.tsx | 0
.../fields/field_types/completion_type.tsx | 0
.../fields/field_types/constant_keyword_type.tsx | 0
.../document_fields/fields/field_types/date_type.tsx | 0
.../fields/field_types/dense_vector_type.tsx | 0
.../fields/field_types/flattened_type.tsx | 0
.../fields/field_types/geo_point_type.tsx | 0
.../fields/field_types/geo_shape_type.tsx | 0
.../fields/field_types/histogram_type.tsx | 0
.../document_fields/fields/field_types/index.ts | 0
.../document_fields/fields/field_types/ip_type.tsx | 0
.../document_fields/fields/field_types/join_type.tsx | 0
.../document_fields/fields/field_types/keyword_type.tsx | 0
.../document_fields/fields/field_types/nested_type.tsx | 0
.../document_fields/fields/field_types/numeric_type.tsx | 0
.../document_fields/fields/field_types/object_type.tsx | 0
.../document_fields/fields/field_types/other_type.tsx | 0
.../fields/field_types/passthrough_type.tsx | 0
.../document_fields/fields/field_types/point_type.tsx | 0
.../document_fields/fields/field_types/range_type.tsx | 0
.../fields/field_types/rank_feature_type.tsx | 0
.../fields/field_types/search_as_you_type.tsx | 0
.../document_fields/fields/field_types/shape_type.tsx | 0
.../document_fields/fields/field_types/text_type.tsx | 0
.../fields/field_types/token_count_type.tsx | 0
.../document_fields/fields/field_types/version_type.tsx | 0
.../document_fields/fields/field_types/wildcard_type.tsx | 0
.../components/document_fields/fields/fields_list.tsx | 0
.../document_fields/fields/fields_list_item.tsx | 0
.../fields/fields_list_item_container.tsx | 0
.../components/document_fields/fields/index.ts | 0
.../fields/modal_confirmation_delete_fields.tsx | 0
.../components/document_fields/fields_json_editor.tsx | 0
.../components/document_fields/fields_tree_editor.tsx | 0
.../mappings_editor/components/document_fields/index.ts | 0
.../components/document_fields/search_fields/index.ts | 0
.../document_fields/search_fields/search_result.test.tsx | 0
.../document_fields/search_fields/search_result.tsx | 0
.../search_fields/search_result_item.test.tsx | 0
.../document_fields/search_fields/search_result_item.tsx | 0
.../mappings_editor/components/fields_tree.tsx | 0
.../components/mappings_editor/components/index.ts | 0
.../mappings_editor/components/load_mappings/index.ts | 0
.../components/load_mappings/load_from_json_button.tsx | 0
.../load_mappings/load_mappings_provider.test.tsx | 0
.../components/load_mappings/load_mappings_provider.tsx | 0
.../components/multiple_mappings_warning.tsx | 0
.../components/runtime_fields/delete_field_provider.tsx | 0
.../components/runtime_fields/empty_prompt.tsx | 0
.../mappings_editor/components/runtime_fields/index.ts | 0
.../components/runtime_fields/runtime_fields_list.tsx | 0
.../runtime_fields/runtimefields_list_item.tsx | 0
.../runtime_fields/runtimefields_list_item_container.tsx | 0
.../mappings_editor/components/templates_form/index.ts | 0
.../components/templates_form/templates_form.tsx | 0
.../components/templates_form/templates_form_schema.ts | 0
.../components/mappings_editor/components/tree/index.ts | 0
.../components/mappings_editor/components/tree/tree.tsx | 0
.../mappings_editor/components/tree/tree_item.tsx | 0
.../components/mappings_editor/config_context.tsx | 0
.../mappings_editor/constants/data_types_definition.tsx | 0
.../mappings_editor/constants/default_values.ts | 0
.../mappings_editor/constants/field_options.tsx | 0
.../mappings_editor/constants/field_options_i18n.ts | 0
.../components/mappings_editor/constants/index.ts | 0
.../mappings_editor/constants/mappings_editor.ts | 0
.../mappings_editor/constants/parameters_definition.tsx | 0
.../application/components/mappings_editor/index.ts | 0
.../components/mappings_editor/lib/error_reporter.ts | 0
.../lib/extract_mappings_definition.test.ts | 0
.../mappings_editor/lib/extract_mappings_definition.ts | 0
.../application/components/mappings_editor/lib/index.ts | 0
.../mappings_editor/lib/mappings_validator.test.ts | 0
.../components/mappings_editor/lib/mappings_validator.ts | 0
.../components/mappings_editor/lib/search_fields.test.ts | 0
.../components/mappings_editor/lib/search_fields.tsx | 0
.../components/mappings_editor/lib/serializers.ts | 0
.../components/mappings_editor/lib/utils.test.ts | 0
.../application/components/mappings_editor/lib/utils.ts | 0
.../components/mappings_editor/lib/validators.ts | 0
.../components/mappings_editor/mappings_editor.tsx | 0
.../mappings_editor/mappings_editor_context.tsx | 0
.../mappings_editor/mappings_state_context.tsx | 0
.../application/components/mappings_editor/reducer.ts | 0
.../components/mappings_editor/shared_imports.ts | 0
.../components/mappings_editor/types/document_fields.ts | 0
.../components/mappings_editor/types/index.ts | 0
.../components/mappings_editor/types/mappings_editor.ts | 0
.../components/mappings_editor/types/state.ts | 0
.../components/mappings_editor/use_state_listener.tsx | 0
.../public/application/components/no_match/index.ts | 0
.../public/application/components/no_match/no_match.tsx | 0
.../public/application/components/section_error.tsx | 0
.../components/shared/components/details_panel/index.ts | 0
.../shared/components/details_panel/tab_aliases.tsx | 0
.../shared/components/details_panel/tab_mappings.tsx | 0
.../shared/components/details_panel/tab_settings.tsx | 0
.../application/components/shared/components/index.ts | 0
.../shared/components/template_content_indicator.tsx | 0
.../components/shared/components/wizard_steps/index.ts | 0
.../shared/components/wizard_steps/step_aliases.tsx | 0
.../components/wizard_steps/step_aliases_container.tsx | 0
.../shared/components/wizard_steps/step_mappings.tsx | 0
.../components/wizard_steps/step_mappings_container.tsx | 0
.../shared/components/wizard_steps/step_settings.tsx | 0
.../components/wizard_steps/step_settings_container.tsx | 0
.../components/shared/components/wizard_steps/types.ts | 0
.../shared/components/wizard_steps/use_json_step.ts | 0
.../application/components/shared/fields/unit_field.tsx | 0
.../public/application/components/shared/index.ts | 0
.../application/components/template_delete_modal.tsx | 0
.../public/application/components/template_form/index.ts | 0
.../application/components/template_form/steps/index.ts | 0
.../components/template_form/steps/step_components.tsx | 0
.../template_form/steps/step_components_container.tsx | 0
.../components/template_form/steps/step_logistics.tsx | 0
.../template_form/steps/step_logistics_container.tsx | 0
.../components/template_form/steps/step_review.tsx | 0
.../template_form/steps/step_review_container.tsx | 0
.../components/template_form/template_form.tsx | 0
.../components/template_form/template_form_schemas.tsx | 0
.../public/application/constants/ilm_locator.ts | 0
.../public/application/constants/index.ts | 0
.../public/application/constants/time_units.ts | 0
.../public/application/hooks/redirect_path.test.tsx | 0
.../public/application/hooks/redirect_path.tsx | 0
.../public/application/hooks/use_index_errors.ts | 0
.../application/hooks/use_state_with_localstorage.ts | 0
.../index_management/public/application/index.tsx | 0
.../lib/__snapshots__/flatten_object.test.ts.snap | 0
.../public/application/lib/data_streams.test.tsx | 0
.../public/application/lib/data_streams.tsx | 0
.../public/application/lib/discover_link.test.tsx | 0
.../public/application/lib/discover_link.tsx | 0
.../public/application/lib/edit_settings.ts | 0
.../public/application/lib/flatten_object.test.ts | 0
.../public/application/lib/flatten_object.ts | 0
.../public/application/lib/flatten_panel_tree.js | 0
.../public/application/lib/index_mode_labels.ts | 0
.../public/application/lib/index_status_labels.js | 0
.../public/application/lib/index_templates.ts | 0
.../index_management/public/application/lib/indices.ts | 0
.../public/application/lib/render_badges.tsx | 0
.../public/application/mount_management_section.ts | 0
.../enrich_policy_create/create_policy_context.tsx | 0
.../enrich_policy_create/create_policy_wizard.tsx | 0
.../enrich_policy_create/enrich_policy_create.tsx | 0
.../application/sections/enrich_policy_create/index.ts | 0
.../enrich_policy_create/steps/configuration.tsx | 0
.../sections/enrich_policy_create/steps/create.tsx | 0
.../enrich_policy_create/steps/field_selection.tsx | 0
.../steps/fields/indices_selector.tsx | 0
.../sections/enrich_policy_create/steps/index.ts | 0
.../sections/home/components/filter_list_button.tsx | 0
.../public/application/sections/home/components/index.ts | 0
.../data_stream_actions_menu.tsx | 0
.../data_stream_list/data_stream_actions_menu/index.ts | 0
.../home/data_stream_list/data_stream_badges.tsx | 0
.../data_stream_detail_panel.tsx | 0
.../data_stream_list/data_stream_detail_panel/index.ts | 0
.../sections/home/data_stream_list/data_stream_list.tsx | 0
.../data_stream_table/data_stream_table.tsx | 0
.../home/data_stream_list/data_stream_table/index.ts | 0
.../delete_data_stream_confirmation_modal.tsx | 0
.../delete_data_stream_confirmation_modal/index.ts | 0
.../edit_data_retention_modal.tsx | 0
.../data_stream_list/edit_data_retention_modal/index.ts | 0
.../edit_data_retention_modal/mixed_indices_callout.tsx | 0
.../data_stream_list/edit_data_retention_modal/schema.ts | 0
.../edit_data_retention_modal/validations.test.ts | 0
.../edit_data_retention_modal/validations.ts | 0
.../home/data_stream_list/humanize_time_stamp.ts | 0
.../application/sections/home/data_stream_list/index.ts | 0
.../confirm_modals/delete_policy_modal.tsx | 0
.../confirm_modals/execute_policy_modal.tsx | 0
.../home/enrich_policies_list/confirm_modals/index.ts | 0
.../home/enrich_policies_list/details_flyout/index.ts | 0
.../details_flyout/policy_details_flyout.tsx | 0
.../enrich_policies_list/empty_states/empty_state.tsx | 0
.../enrich_policies_list/empty_states/error_state.tsx | 0
.../home/enrich_policies_list/empty_states/index.ts | 0
.../enrich_policies_list/empty_states/loading_state.tsx | 0
.../home/enrich_policies_list/enrich_policies_list.tsx | 0
.../sections/home/enrich_policies_list/index.ts | 0
.../home/enrich_policies_list/policies_table/index.ts | 0
.../policies_table/policies_table.tsx | 0
.../public/application/sections/home/home.tsx | 0
.../public/application/sections/home/index.ts | 0
.../home/index_list/create_index/create_index_button.tsx | 0
.../home/index_list/create_index/create_index_modal.tsx | 0
.../sections/home/index_list/create_index/utils.test.ts | 0
.../sections/home/index_list/create_index/utils.ts | 0
.../home/index_list/details_page/details_page.tsx | 0
.../index_list/details_page/details_page_content.tsx | 0
.../home/index_list/details_page/details_page_error.tsx | 0
.../details_page/details_page_filter_fields.tsx | 0
.../index_list/details_page/details_page_mappings.tsx | 0
.../details_page/details_page_mappings_content.tsx | 0
.../details_page_overview/aliases_details.tsx | 0
.../details_page_overview/data_stream_details.tsx | 0
.../details_page_overview/details_page_overview.tsx | 0
.../details_page/details_page_overview/index.ts | 0
.../details_page/details_page_overview/languages.ts | 0
.../details_page/details_page_overview/overview_card.tsx | 0
.../details_page_overview/size_doc_count_details.tsx | 0
.../details_page_overview/status_details.tsx | 0
.../details_page_overview/storage_details.tsx | 0
.../index_list/details_page/details_page_settings.tsx | 0
.../details_page/details_page_settings_content.tsx | 0
.../home/index_list/details_page/details_page_stats.tsx | 0
.../home/index_list/details_page/details_page_tab.tsx | 0
.../sections/home/index_list/details_page/index.tsx | 0
.../home/index_list/details_page/index_error_callout.tsx | 0
.../home/index_list/details_page/manage_index_button.tsx | 0
.../index_list/details_page/reset_index_url_params.ts | 0
.../index_list/details_page/semantic_text_banner.tsx | 0
.../details_page/trained_models_deployment_modal.tsx | 0
.../index_mapping_with_context.tsx | 0
.../index_mapping_with_context_types.tsx | 0
.../index_mappings_embeddable.tsx | 0
.../index_settings_embeddable.tsx | 0
.../index_settings_with_context.tsx | 0
.../index_settings_with_context_types.tsx | 0
.../public/application/sections/home/index_list/index.ts | 0
.../home/index_list/index_actions_context_menu/index.js | 0
.../index_actions_context_menu.container.js | 0
.../index_actions_context_menu.d.ts | 0
.../index_actions_context_menu.js | 0
.../application/sections/home/index_list/index_list.tsx | 0
.../sections/home/index_list/index_table/index.ts | 0
.../index_list/index_table/index_table.container.d.ts | 0
.../home/index_list/index_table/index_table.container.js | 0
.../sections/home/index_list/index_table/index_table.js | 0
.../index_list/index_table/index_table_pagination.tsx | 0
.../sections/home/template_list/components/index.ts | 0
.../components/template_deprecated_badge.tsx | 0
.../template_list/components/template_type_indicator.tsx | 0
.../application/sections/home/template_list/index.ts | 0
.../legacy_templates/template_table/index.ts | 0
.../legacy_templates/template_table/template_table.tsx | 0
.../home/template_list/template_details/index.ts | 0
.../home/template_list/template_details/tabs/index.ts | 0
.../template_list/template_details/tabs/tab_preview.tsx | 0
.../template_list/template_details/tabs/tab_summary.tsx | 0
.../template_list/template_details/template_details.tsx | 0
.../template_details/template_details_content.tsx | 0
.../sections/home/template_list/template_list.tsx | 0
.../sections/home/template_list/template_table/index.ts | 0
.../home/template_list/template_table/template_table.tsx | 0
.../public/application/sections/template_clone/index.ts | 0
.../sections/template_clone/template_clone.tsx | 0
.../public/application/sections/template_create/index.ts | 0
.../sections/template_create/template_create.tsx | 0
.../public/application/sections/template_edit/index.ts | 0
.../application/sections/template_edit/template_edit.tsx | 0
.../index_management/public/application/services/api.ts | 0
.../public/application/services/breadcrumbs.ts | 0
.../public/application/services/documentation.ts | 0
.../index_management/public/application/services/http.ts | 0
.../public/application/services/index.ts | 0
.../public/application/services/notification.ts | 0
.../public/application/services/routing.test.ts | 0
.../public/application/services/routing.ts | 0
.../public/application/services/sort_table.test.ts | 0
.../public/application/services/sort_table.ts | 0
.../public/application/services/ui_metric.ts | 0
.../public/application/services/use_ilm_locator.ts | 0
.../public/application/services/use_request.ts | 0
.../public/application/shared/parse_mappings.ts | 0
.../application/store/actions/clear_cache_indices.js | 0
.../public/application/store/actions/clear_row_status.js | 0
.../public/application/store/actions/close_indices.js | 0
.../public/application/store/actions/delete_indices.js | 0
.../public/application/store/actions/extension_action.js | 0
.../public/application/store/actions/flush_indices.js | 0
.../application/store/actions/forcemerge_indices.js | 0
.../public/application/store/actions/index.js | 0
.../public/application/store/actions/load_indices.js | 0
.../public/application/store/actions/open_indices.js | 0
.../public/application/store/actions/refresh_indices.js | 0
.../public/application/store/actions/reload_indices.js | 0
.../public/application/store/actions/table_state.js | 0
.../public/application/store/actions/unfreeze_indices.js | 0
.../index_management/public/application/store/index.ts | 0
.../public/application/store/reducers/index.js | 0
.../application/store/reducers/index_management.js | 0
.../public/application/store/reducers/indices.js | 0
.../public/application/store/reducers/row_status.js | 0
.../public/application/store/reducers/table_state.js | 0
.../application/store/selectors/extension_service.ts | 0
.../public/application/store/selectors/index.d.ts | 0
.../public/application/store/selectors/index.js | 0
.../application/store/selectors/indices_filter.test.ts | 0
.../index_management/public/application/store/store.d.ts | 0
.../index_management/public/application/store/store.js | 0
.../shared}/index_management/public/assets/curl.svg | 0
.../shared}/index_management/public/assets/go.svg | 0
.../index_management/public/assets/javascript.svg | 0
.../shared}/index_management/public/assets/php.svg | 0
.../shared}/index_management/public/assets/python.svg | 0
.../shared}/index_management/public/assets/ruby.svg | 0
.../use_details_page_mappings_model_management.test.ts | 0
.../hooks/use_details_page_mappings_model_management.ts | 0
.../public/hooks/use_ml_model_status_toasts.ts | 0
.../plugins/shared}/index_management/public/index.scss | 0
.../plugins/shared}/index_management/public/index.ts | 0
.../shared}/index_management/public/locator.test.ts | 0
.../plugins/shared}/index_management/public/locator.ts | 0
.../plugins/shared}/index_management/public/mocks.ts | 0
.../plugins/shared}/index_management/public/plugin.ts | 0
.../public/services/extensions_service.mock.ts | 0
.../public/services/extensions_service.ts | 0
.../shared}/index_management/public/services/index.ts | 0
.../public/services/public_api_service.mock.ts | 0
.../public/services/public_api_service.ts | 0
.../shared}/index_management/public/shared_imports.ts | 0
.../plugins/shared}/index_management/public/types.ts | 0
.../plugins/shared}/index_management/server/config.ts | 0
.../plugins/shared}/index_management/server/index.ts | 0
.../server/lib/data_stream_serialization.ts | 0
.../index_management/server/lib/enrich_policies.test.ts | 0
.../index_management/server/lib/enrich_policies.ts | 0
.../index_management/server/lib/fetch_indices.test.ts | 0
.../shared}/index_management/server/lib/fetch_indices.ts | 0
.../index_management/server/lib/get_managed_templates.ts | 0
.../plugins/shared}/index_management/server/lib/types.ts | 0
.../plugins/shared}/index_management/server/plugin.ts | 0
.../server/routes/api/component_templates/index.ts | 0
.../api/component_templates/register_create_route.ts | 0
.../api/component_templates/register_datastream_route.ts | 0
.../api/component_templates/register_delete_route.ts | 0
.../routes/api/component_templates/register_get_route.ts | 0
.../api/component_templates/register_update_route.ts | 0
.../routes/api/component_templates/schema_validation.ts | 0
.../server/routes/api/data_streams/data_streams.test.ts | 0
.../server/routes/api/data_streams/index.ts | 0
.../routes/api/data_streams/register_delete_route.ts | 0
.../server/routes/api/data_streams/register_get_route.ts | 0
.../routes/api/data_streams/register_post_route.ts | 0
.../server/routes/api/data_streams/register_put_route.ts | 0
.../routes/api/enrich_policies/enrich_policies.test.ts | 0
.../server/routes/api/enrich_policies/helpers.test.ts | 0
.../server/routes/api/enrich_policies/helpers.ts | 0
.../server/routes/api/enrich_policies/index.ts | 0
.../routes/api/enrich_policies/register_create_route.ts | 0
.../routes/api/enrich_policies/register_delete_route.ts | 0
.../enrich_policies/register_enrich_policies_routes.ts | 0
.../routes/api/enrich_policies/register_execute_route.ts | 0
.../routes/api/enrich_policies/register_list_route.ts | 0
.../enrich_policies/register_privileges_route.test.ts | 0
.../api/enrich_policies/register_privileges_route.ts | 0
.../shared}/index_management/server/routes/api/index.ts | 0
.../server/routes/api/indices/helpers.test.ts | 0
.../server/routes/api/indices/helpers.ts | 0
.../index_management/server/routes/api/indices/index.ts | 0
.../routes/api/indices/register_clear_cache_route.ts | 0
.../server/routes/api/indices/register_close_route.ts | 0
.../server/routes/api/indices/register_create_route.ts | 0
.../server/routes/api/indices/register_delete_route.ts | 0
.../server/routes/api/indices/register_flush_route.ts | 0
.../routes/api/indices/register_forcemerge_route.ts | 0
.../server/routes/api/indices/register_get_route.ts | 0
.../server/routes/api/indices/register_indices_routes.ts | 0
.../server/routes/api/indices/register_list_route.ts | 0
.../server/routes/api/indices/register_open_route.ts | 0
.../server/routes/api/indices/register_refresh_route.ts | 0
.../server/routes/api/indices/register_reload_route.ts | 0
.../server/routes/api/indices/register_unfreeze_route.ts | 0
.../server/routes/api/inference_models/index.ts | 0
.../routes/api/inference_models/register_get_route.ts | 0
.../api/inference_models/register_inference_route.ts | 0
.../index_management/server/routes/api/mapping/index.ts | 0
.../routes/api/mapping/register_index_mapping_route.ts | 0
.../server/routes/api/mapping/register_mapping_route.ts | 0
.../routes/api/mapping/register_update_mapping_route.ts | 0
.../index_management/server/routes/api/nodes/index.ts | 0
.../server/routes/api/nodes/register_nodes_route.test.ts | 0
.../server/routes/api/nodes/register_nodes_route.ts | 0
.../index_management/server/routes/api/settings/index.ts | 0
.../server/routes/api/settings/register_load_route.ts | 0
.../routes/api/settings/register_settings_routes.ts | 0
.../server/routes/api/settings/register_update_route.ts | 0
.../index_management/server/routes/api/stats/index.ts | 0
.../server/routes/api/stats/register_stats_route.ts | 0
.../server/routes/api/templates/index.ts | 0
.../index_management/server/routes/api/templates/lib.ts | 0
.../server/routes/api/templates/register_create_route.ts | 0
.../server/routes/api/templates/register_delete_route.ts | 0
.../server/routes/api/templates/register_get_routes.ts | 0
.../routes/api/templates/register_simulate_route.ts | 0
.../routes/api/templates/register_template_routes.ts | 0
.../server/routes/api/templates/register_update_route.ts | 0
.../server/routes/api/templates/validate_schemas.ts | 0
.../shared}/index_management/server/routes/index.ts | 0
.../shared}/index_management/server/services/index.ts | 0
.../server/services/index_data_enricher.ts | 0
.../shared}/index_management/server/shared_imports.ts | 0
.../index_management/server/test/helpers/index.ts | 0
.../server/test/helpers/indices_fixtures.ts | 0
.../server/test/helpers/policies_fixtures.ts | 0
.../server/test/helpers/route_dependencies.ts | 0
.../index_management/server/test/helpers/router_mock.ts | 0
.../plugins/shared}/index_management/server/types.ts | 0
.../shared}/index_management/test/fixtures/index.ts | 0
.../shared}/index_management/test/fixtures/template.ts | 0
.../plugins/shared}/index_management/tsconfig.json | 4 ++--
yarn.lock | 2 +-
662 files changed, 16 insertions(+), 16 deletions(-)
rename x-pack/{plugins => platform/plugins/shared}/index_management/README.md (98%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/fixtures.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/http_requests.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/mocks.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/setup_environment.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/helpers/test_subjects.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/data_streams_tab.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/enrich_policies.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/home.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/home.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/index_templates_tab.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/indices_tab.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/home/indices_tab.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/mocks.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/constants.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/components/__snapshots__/index_table.test.js.snap (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/__jest__/components/index_table.test.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/allow_auto_create.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/api_base_path.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/base_path.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/index_modes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/index_statuses.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/invalid_characters.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/constants/ui_metric.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/index.ts (91%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/component_template_serialization.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/component_template_serialization.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/data_stream_utils.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/data_stream_utils.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/enrich_policies.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/template_serialization.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/template_serialization.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/utils.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/lib/utils.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/aliases.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/component_templates.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/data_streams.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/enrich_policies.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/indices.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/mappings.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/common/types/templates.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/jest.config.js (53%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/kibana.jsonc (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/app.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/app_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/__jest__/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_details/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_details/tabs.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_list/table.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_selector/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/component_templates_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/components/deprecated_badge.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/constants.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/lib/api.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/lib/documentation.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/lib/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/lib/request.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/component_templates/shared_imports.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/data_health.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/enrich_policies/auth_provider.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/shared_imports.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/simulate_template/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/_index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/_index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/code_block.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/fields_tree.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/templates_form/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/tree/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/tree/tree.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/config_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/default_values.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/field_options.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/error_reporter.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/search_fields.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/serializers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/utils.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/utils.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/lib/validators.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/mappings_editor.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/mappings_state_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/reducer.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/shared_imports.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/types/document_fields.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/types/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/types/mappings_editor.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/types/state.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/mappings_editor/use_state_listener.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/no_match/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/no_match/no_match.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/section_error.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/details_panel/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/template_content_indicator.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/fields/unit_field.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/shared/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_delete_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_components.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_components_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_logistics.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_logistics_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_review.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/steps/step_review_container.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/template_form.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/components/template_form/template_form_schemas.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/constants/ilm_locator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/constants/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/constants/time_units.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/hooks/redirect_path.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/hooks/redirect_path.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/hooks/use_index_errors.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/hooks/use_state_with_localstorage.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/index.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/data_streams.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/data_streams.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/discover_link.test.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/discover_link.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/edit_settings.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/flatten_object.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/flatten_object.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/flatten_panel_tree.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/index_mode_labels.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/index_status_labels.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/index_templates.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/indices.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/lib/render_badges.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/mount_management_section.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/steps/create.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/enrich_policy_create/steps/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/components/filter_list_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/data_stream_list/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/home.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/create_index/utils.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/create_index/utils.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/index.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_table/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_table/index_table.container.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_table/index_table.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/components/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/template_details.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_list.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_table/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/home/template_list/template_table/template_table.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_clone/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_clone/template_clone.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_create/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_create/template_create.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_edit/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/sections/template_edit/template_edit.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/api.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/breadcrumbs.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/documentation.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/http.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/notification.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/routing.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/routing.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/sort_table.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/sort_table.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/ui_metric.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/use_ilm_locator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/services/use_request.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/shared/parse_mappings.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/clear_cache_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/clear_row_status.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/close_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/delete_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/extension_action.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/flush_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/forcemerge_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/index.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/load_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/open_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/refresh_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/reload_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/table_state.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/actions/unfreeze_indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/reducers/index.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/reducers/index_management.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/reducers/indices.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/reducers/row_status.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/reducers/table_state.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/selectors/extension_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/selectors/index.d.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/selectors/index.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/selectors/indices_filter.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/store.d.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/application/store/store.js (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/curl.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/go.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/javascript.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/php.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/python.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/assets/ruby.svg (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/hooks/use_details_page_mappings_model_management.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/hooks/use_details_page_mappings_model_management.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/hooks/use_ml_model_status_toasts.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/index.scss (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/locator.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/locator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/mocks.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/services/extensions_service.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/services/extensions_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/services/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/services/public_api_service.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/services/public_api_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/shared_imports.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/public/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/config.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/data_stream_serialization.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/enrich_policies.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/enrich_policies.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/fetch_indices.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/fetch_indices.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/get_managed_templates.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/lib/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/register_create_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/register_datastream_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/register_delete_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/register_get_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/register_update_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/component_templates/schema_validation.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/data_streams.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/register_delete_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/register_get_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/register_post_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/data_streams/register_put_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/helpers.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_create_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_delete_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_execute_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_list_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/enrich_policies/register_privileges_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/helpers.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/helpers.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_clear_cache_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_close_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_create_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_delete_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_flush_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_forcemerge_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_get_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_indices_routes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_list_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_open_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_refresh_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_reload_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/indices/register_unfreeze_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/inference_models/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/inference_models/register_get_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/inference_models/register_inference_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/mapping/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/mapping/register_index_mapping_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/mapping/register_mapping_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/mapping/register_update_mapping_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/nodes/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/nodes/register_nodes_route.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/nodes/register_nodes_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/settings/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/settings/register_load_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/settings/register_settings_routes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/settings/register_update_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/stats/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/stats/register_stats_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/lib.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_create_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_delete_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_get_routes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_simulate_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_template_routes.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/register_update_route.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/api/templates/validate_schemas.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/routes/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/services/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/services/index_data_enricher.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/shared_imports.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/test/helpers/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/test/helpers/indices_fixtures.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/test/helpers/policies_fixtures.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/test/helpers/route_dependencies.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/test/helpers/router_mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/server/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/test/fixtures/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/test/fixtures/template.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/index_management/tsconfig.json (94%)
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 655c8ef55079e..c002421bf0e68 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -858,6 +858,7 @@ x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
+x-pack/platform/plugins/shared/index_management @elastic/kibana-management
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability
@@ -894,7 +895,6 @@ x-pack/plugins/global_search @elastic/appex-sharedux
x-pack/plugins/global_search_bar @elastic/appex-sharedux
x-pack/plugins/global_search_providers @elastic/appex-sharedux
x-pack/plugins/graph @elastic/kibana-visualizations
-x-pack/plugins/index_management @elastic/kibana-management
x-pack/plugins/lens @elastic/kibana-visualizations
x-pack/plugins/licensing @elastic/kibana-core
x-pack/plugins/logstash @elastic/logstash
diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc
index 80511095a000f..c05f9514b2fc3 100644
--- a/docs/developer/plugin-list.asciidoc
+++ b/docs/developer/plugin-list.asciidoc
@@ -640,7 +640,7 @@ which are particularly useful for ingesting logs.
Index Management by running this series of requests in Console:
-|{kib-repo}blob/{branch}/x-pack/plugins/index_management/README.md[indexManagement]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/index_management/README.md[indexManagement]
|This service is exposed from the Index Management setup contract and can be used to add content to the indices list and the index details page.
diff --git a/package.json b/package.json
index fe6bf82ad0350..937c11ebf3043 100644
--- a/package.json
+++ b/package.json
@@ -575,7 +575,7 @@
"@kbn/index-adapter": "link:x-pack/solutions/security/packages/index-adapter",
"@kbn/index-lifecycle-management-common-shared": "link:x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared",
"@kbn/index-lifecycle-management-plugin": "link:x-pack/platform/plugins/private/index_lifecycle_management",
- "@kbn/index-management-plugin": "link:x-pack/plugins/index_management",
+ "@kbn/index-management-plugin": "link:x-pack/platform/plugins/shared/index_management",
"@kbn/index-management-shared-types": "link:x-pack/platform/packages/shared/index-management/index_management_shared_types",
"@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns",
"@kbn/inference-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common",
diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js
index 30383559e7fe0..3d90324426247 100644
--- a/src/dev/precommit_hook/casing_check_config.js
+++ b/src/dev/precommit_hook/casing_check_config.js
@@ -176,7 +176,7 @@ export const TEMPORARILY_IGNORED_PATHS = [
'src/core/server/core_app/assets/favicons/mstile-310x310.png',
'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg',
'test/functional/apps/management/exports/_import_objects-conflicts.json',
- 'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
+ 'x-pack/legacy/platform/plugins/shared/index_management/public/lib/editSettings.js',
'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js',
'x-pack/plugins/monitoring/public/icons/health-gray.svg',
'x-pack/plugins/monitoring/public/icons/health-green.svg',
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 744538cf60313..1ea36da2d4ba9 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -1058,8 +1058,8 @@
"@kbn/index-lifecycle-management-common-shared/*": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*"],
"@kbn/index-lifecycle-management-plugin": ["x-pack/platform/plugins/private/index_lifecycle_management"],
"@kbn/index-lifecycle-management-plugin/*": ["x-pack/platform/plugins/private/index_lifecycle_management/*"],
- "@kbn/index-management-plugin": ["x-pack/plugins/index_management"],
- "@kbn/index-management-plugin/*": ["x-pack/plugins/index_management/*"],
+ "@kbn/index-management-plugin": ["x-pack/platform/plugins/shared/index_management"],
+ "@kbn/index-management-plugin/*": ["x-pack/platform/plugins/shared/index_management/*"],
"@kbn/index-management-shared-types": ["x-pack/platform/packages/shared/index-management/index_management_shared_types"],
"@kbn/index-management-shared-types/*": ["x-pack/platform/packages/shared/index-management/index_management_shared_types/*"],
"@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"],
diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json
index c01b9ef40aed4..c33dd8a1e5ca6 100644
--- a/x-pack/.i18nrc.json
+++ b/x-pack/.i18nrc.json
@@ -56,7 +56,7 @@
"plugins/graph"
],
"xpack.grokDebugger": "platform/plugins/private/grokdebugger",
- "xpack.idxMgmt": "plugins/index_management",
+ "xpack.idxMgmt": "platform/plugins/shared/index_management",
"xpack.idxMgmtPackage": "packages/index-management",
"xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management",
"xpack.infra": "plugins/observability_solution/infra",
diff --git a/x-pack/plugins/index_management/README.md b/x-pack/platform/plugins/shared/index_management/README.md
similarity index 98%
rename from x-pack/plugins/index_management/README.md
rename to x-pack/platform/plugins/shared/index_management/README.md
index bc7047888d2ab..c15e30f080139 100644
--- a/x-pack/plugins/index_management/README.md
+++ b/x-pack/platform/plugins/shared/index_management/README.md
@@ -61,7 +61,7 @@ relies on additional index data that is not available by default. To make these
the `GET /indices` request, an index data enricher can be registered. A data enricher is essentially an extra request that is
done for the array of indices and the information is added to the response. Currently, 3 data enrichers are registered
by the ILM, Rollup and CCR plugins. Before adding a data enricher, the cost of the additional request should be taken
-in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/plugins/index_management/server/services/index_data_enricher.ts) for more details).
+in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts) for more details).
## Indices tab
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/fixtures.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/fixtures.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/fixtures.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/fixtures.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/http_requests.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/http_requests.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/mocks.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/mocks.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/mocks.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/mocks.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.test.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.test.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.test.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/mocks.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/mocks.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/mocks.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/mocks.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/constants.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/constants.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/constants.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/constants.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts
diff --git a/x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap b/x-pack/platform/plugins/shared/index_management/__jest__/components/__snapshots__/index_table.test.js.snap
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap
rename to x-pack/platform/plugins/shared/index_management/__jest__/components/__snapshots__/index_table.test.js.snap
diff --git a/x-pack/plugins/index_management/__jest__/components/index_table.test.js b/x-pack/platform/plugins/shared/index_management/__jest__/components/index_table.test.js
similarity index 100%
rename from x-pack/plugins/index_management/__jest__/components/index_table.test.js
rename to x-pack/platform/plugins/shared/index_management/__jest__/components/index_table.test.js
diff --git a/x-pack/plugins/index_management/common/constants/allow_auto_create.ts b/x-pack/platform/plugins/shared/index_management/common/constants/allow_auto_create.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/allow_auto_create.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/allow_auto_create.ts
diff --git a/x-pack/plugins/index_management/common/constants/api_base_path.ts b/x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/api_base_path.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts
diff --git a/x-pack/plugins/index_management/common/constants/base_path.ts b/x-pack/platform/plugins/shared/index_management/common/constants/base_path.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/base_path.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/base_path.ts
diff --git a/x-pack/plugins/index_management/common/constants/index.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/index.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/index.ts
diff --git a/x-pack/plugins/index_management/common/constants/index_modes.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index_modes.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/index_modes.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/index_modes.ts
diff --git a/x-pack/plugins/index_management/common/constants/index_statuses.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index_statuses.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/index_statuses.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/index_statuses.ts
diff --git a/x-pack/plugins/index_management/common/constants/invalid_characters.ts b/x-pack/platform/plugins/shared/index_management/common/constants/invalid_characters.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/invalid_characters.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/invalid_characters.ts
diff --git a/x-pack/plugins/index_management/common/constants/plugin.ts b/x-pack/platform/plugins/shared/index_management/common/constants/plugin.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/plugin.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/plugin.ts
diff --git a/x-pack/plugins/index_management/common/constants/ui_metric.ts b/x-pack/platform/plugins/shared/index_management/common/constants/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/constants/ui_metric.ts
rename to x-pack/platform/plugins/shared/index_management/common/constants/ui_metric.ts
diff --git a/x-pack/plugins/index_management/common/index.ts b/x-pack/platform/plugins/shared/index_management/common/index.ts
similarity index 91%
rename from x-pack/plugins/index_management/common/index.ts
rename to x-pack/platform/plugins/shared/index_management/common/index.ts
index ea1316ed2c185..61bdeb6007ef6 100644
--- a/x-pack/plugins/index_management/common/index.ts
+++ b/x-pack/platform/plugins/shared/index_management/common/index.ts
@@ -6,7 +6,6 @@
*/
// TODO: https://github.com/elastic/kibana/issues/110892
-/* eslint-disable @kbn/eslint/no_export_all */
export { API_BASE_PATH, INTERNAL_API_BASE_PATH, BASE_PATH, MAJOR_VERSION } from './constants';
diff --git a/x-pack/plugins/index_management/common/lib/component_template_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/component_template_serialization.test.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.test.ts
diff --git a/x-pack/plugins/index_management/common/lib/component_template_serialization.ts b/x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/component_template_serialization.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.ts
diff --git a/x-pack/plugins/index_management/common/lib/data_stream_utils.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/data_stream_utils.test.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.test.ts
diff --git a/x-pack/plugins/index_management/common/lib/data_stream_utils.ts b/x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/data_stream_utils.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts
diff --git a/x-pack/plugins/index_management/common/lib/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/common/lib/enrich_policies.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/enrich_policies.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/enrich_policies.ts
diff --git a/x-pack/plugins/index_management/common/lib/index.ts b/x-pack/platform/plugins/shared/index_management/common/lib/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/index.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/index.ts
diff --git a/x-pack/plugins/index_management/common/lib/template_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/template_serialization.test.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.test.ts
diff --git a/x-pack/plugins/index_management/common/lib/template_serialization.ts b/x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/template_serialization.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.ts
diff --git a/x-pack/plugins/index_management/common/lib/utils.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/utils.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/utils.test.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/utils.test.ts
diff --git a/x-pack/plugins/index_management/common/lib/utils.ts b/x-pack/platform/plugins/shared/index_management/common/lib/utils.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/lib/utils.ts
rename to x-pack/platform/plugins/shared/index_management/common/lib/utils.ts
diff --git a/x-pack/plugins/index_management/common/types/aliases.ts b/x-pack/platform/plugins/shared/index_management/common/types/aliases.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/aliases.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/aliases.ts
diff --git a/x-pack/plugins/index_management/common/types/component_templates.ts b/x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/component_templates.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts
diff --git a/x-pack/plugins/index_management/common/types/data_streams.ts b/x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/data_streams.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts
diff --git a/x-pack/plugins/index_management/common/types/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/enrich_policies.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts
diff --git a/x-pack/plugins/index_management/common/types/index.ts b/x-pack/platform/plugins/shared/index_management/common/types/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/index.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/index.ts
diff --git a/x-pack/plugins/index_management/common/types/indices.ts b/x-pack/platform/plugins/shared/index_management/common/types/indices.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/indices.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/indices.ts
diff --git a/x-pack/plugins/index_management/common/types/mappings.ts b/x-pack/platform/plugins/shared/index_management/common/types/mappings.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/mappings.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/mappings.ts
diff --git a/x-pack/plugins/index_management/common/types/templates.ts b/x-pack/platform/plugins/shared/index_management/common/types/templates.ts
similarity index 100%
rename from x-pack/plugins/index_management/common/types/templates.ts
rename to x-pack/platform/plugins/shared/index_management/common/types/templates.ts
diff --git a/x-pack/plugins/index_management/jest.config.js b/x-pack/platform/plugins/shared/index_management/jest.config.js
similarity index 53%
rename from x-pack/plugins/index_management/jest.config.js
rename to x-pack/platform/plugins/shared/index_management/jest.config.js
index 8cd0af1f81147..4b43baf3253f3 100644
--- a/x-pack/plugins/index_management/jest.config.js
+++ b/x-pack/platform/plugins/shared/index_management/jest.config.js
@@ -7,11 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/index_management'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/index_management',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/index_management'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/index_management',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/index_management/{common,public,server}/**/*.{js,ts,tsx}',
+ '/x-pack/platform/plugins/shared/index_management/{common,public,server}/**/*.{js,ts,tsx}',
],
};
diff --git a/x-pack/plugins/index_management/kibana.jsonc b/x-pack/platform/plugins/shared/index_management/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/index_management/kibana.jsonc
rename to x-pack/platform/plugins/shared/index_management/kibana.jsonc
diff --git a/x-pack/plugins/index_management/public/application/app.tsx b/x-pack/platform/plugins/shared/index_management/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/app.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/app.tsx
diff --git a/x-pack/plugins/index_management/public/application/app_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/app_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/app_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/app_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tabs.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tabs.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tabs.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tabs.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/table.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/table.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/table.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_templates_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_templates_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/component_templates_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_templates_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/components/deprecated_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/deprecated_badge.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/components/deprecated_badge.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/deprecated_badge.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/constants.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/constants.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/constants.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/api.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/api.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/api.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/api.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/documentation.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/documentation.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/documentation.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/documentation.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/request.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/request.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/request.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/request.ts
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/component_templates/shared_imports.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/shared_imports.ts
diff --git a/x-pack/plugins/index_management/public/application/components/data_health.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/data_health.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/data_health.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/data_health.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/enrich_policies/auth_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/enrich_policies/auth_provider.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/enrich_policies/auth_provider.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/enrich_policies/auth_provider.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/shared_imports.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/shared_imports.ts
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/_index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/_index.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/_index.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/_index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/_index.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/_index.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/code_block.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/code_block.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/code_block.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/code_block.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/fields_tree.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/fields_tree.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/fields_tree.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/fields_tree.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/config_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/config_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/config_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/config_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/default_values.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/default_values.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/default_values.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/default_values.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/error_reporter.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/error_reporter.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/error_reporter.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/error_reporter.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/serializers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/serializers.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/serializers.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/serializers.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.test.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/validators.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/validators.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/validators.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/validators.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_state_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_state_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_state_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_state_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/reducer.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/reducer.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/reducer.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/reducer.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/shared_imports.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/shared_imports.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/document_fields.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/document_fields.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/document_fields.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/document_fields.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/mappings_editor.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/mappings_editor.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/mappings_editor.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/mappings_editor.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/state.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/state.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/state.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/state.ts
diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/use_state_listener.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/use_state_listener.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/mappings_editor/use_state_listener.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/use_state_listener.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/no_match/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/no_match/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/no_match/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/no_match/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/no_match/no_match.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/no_match/no_match.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/section_error.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/section_error.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/section_error.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/section_error.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/template_content_indicator.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/template_content_indicator.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/template_content_indicator.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/template_content_indicator.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/types.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/types.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/types.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/types.ts
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts
diff --git a/x-pack/plugins/index_management/public/application/components/shared/fields/unit_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/fields/unit_field.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/fields/unit_field.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/fields/unit_field.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/shared/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/shared/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_delete_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_delete_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/index.ts
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_components.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_components.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_components_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_components_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_review.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_review.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_review_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review_container.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_review_container.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review_container.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form.tsx
diff --git a/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form_schemas.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form_schemas.tsx
diff --git a/x-pack/plugins/index_management/public/application/constants/ilm_locator.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/ilm_locator.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/constants/ilm_locator.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/constants/ilm_locator.ts
diff --git a/x-pack/plugins/index_management/public/application/constants/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/constants/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/constants/index.ts
diff --git a/x-pack/plugins/index_management/public/application/constants/time_units.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/time_units.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/constants/time_units.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/constants/time_units.ts
diff --git a/x-pack/plugins/index_management/public/application/hooks/redirect_path.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/hooks/redirect_path.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/hooks/redirect_path.tsx b/x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/hooks/redirect_path.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.tsx
diff --git a/x-pack/plugins/index_management/public/application/hooks/use_index_errors.ts b/x-pack/platform/plugins/shared/index_management/public/application/hooks/use_index_errors.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/hooks/use_index_errors.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/use_index_errors.ts
diff --git a/x-pack/plugins/index_management/public/application/hooks/use_state_with_localstorage.ts b/x-pack/platform/plugins/shared/index_management/public/application/hooks/use_state_with_localstorage.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/hooks/use_state_with_localstorage.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/use_state_with_localstorage.ts
diff --git a/x-pack/plugins/index_management/public/application/index.tsx b/x-pack/platform/plugins/shared/index_management/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/index.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/index.tsx
diff --git a/x-pack/plugins/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap b/x-pack/platform/plugins/shared/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap
diff --git a/x-pack/plugins/index_management/public/application/lib/data_streams.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/data_streams.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/lib/data_streams.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/data_streams.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.tsx
diff --git a/x-pack/plugins/index_management/public/application/lib/discover_link.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.test.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/discover_link.test.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.test.tsx
diff --git a/x-pack/plugins/index_management/public/application/lib/discover_link.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/discover_link.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.tsx
diff --git a/x-pack/plugins/index_management/public/application/lib/edit_settings.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/edit_settings.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/edit_settings.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/edit_settings.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_object.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/flatten_object.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.test.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_object.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/flatten_object.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_panel_tree.js b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_panel_tree.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/flatten_panel_tree.js
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_panel_tree.js
diff --git a/x-pack/plugins/index_management/public/application/lib/index_mode_labels.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_mode_labels.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/index_mode_labels.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_mode_labels.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/index_status_labels.js b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_status_labels.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/index_status_labels.js
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_status_labels.js
diff --git a/x-pack/plugins/index_management/public/application/lib/index_templates.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_templates.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/index_templates.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_templates.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/indices.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/indices.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/indices.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/indices.ts
diff --git a/x-pack/plugins/index_management/public/application/lib/render_badges.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/render_badges.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/lib/render_badges.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/lib/render_badges.tsx
diff --git a/x-pack/plugins/index_management/public/application/mount_management_section.ts b/x-pack/platform/plugins/shared/index_management/public/application/mount_management_section.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/mount_management_section.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/mount_management_section.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/create.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/create.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/create.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/components/filter_list_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/filter_list_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/components/filter_list_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/filter_list_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/home.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/home.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/home.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/home.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.test.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.js
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.js
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.js
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.js
diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_list.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_list.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_list.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/template_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/template_table.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/template_table.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/template_table.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/template_clone/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_clone/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/template_clone/template_clone.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/template_clone.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_clone/template_clone.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/template_clone.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/template_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_create/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/template_create/template_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/template_create.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_create/template_create.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/template_create.tsx
diff --git a/x-pack/plugins/index_management/public/application/sections/template_edit/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_edit/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/index.ts
diff --git a/x-pack/plugins/index_management/public/application/sections/template_edit/template_edit.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/template_edit.tsx
similarity index 100%
rename from x-pack/plugins/index_management/public/application/sections/template_edit/template_edit.tsx
rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/template_edit.tsx
diff --git a/x-pack/plugins/index_management/public/application/services/api.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/api.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/api.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/api.ts
diff --git a/x-pack/plugins/index_management/public/application/services/breadcrumbs.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/breadcrumbs.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/breadcrumbs.ts
diff --git a/x-pack/plugins/index_management/public/application/services/documentation.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/documentation.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/documentation.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/documentation.ts
diff --git a/x-pack/plugins/index_management/public/application/services/http.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/http.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/http.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/http.ts
diff --git a/x-pack/plugins/index_management/public/application/services/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/index.ts
diff --git a/x-pack/plugins/index_management/public/application/services/notification.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/notification.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/notification.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/notification.ts
diff --git a/x-pack/plugins/index_management/public/application/services/routing.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/routing.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/routing.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/routing.test.ts
diff --git a/x-pack/plugins/index_management/public/application/services/routing.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/routing.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts
diff --git a/x-pack/plugins/index_management/public/application/services/sort_table.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/sort_table.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.test.ts
diff --git a/x-pack/plugins/index_management/public/application/services/sort_table.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/sort_table.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.ts
diff --git a/x-pack/plugins/index_management/public/application/services/ui_metric.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/ui_metric.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/ui_metric.ts
diff --git a/x-pack/plugins/index_management/public/application/services/use_ilm_locator.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/use_ilm_locator.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/use_ilm_locator.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/use_ilm_locator.ts
diff --git a/x-pack/plugins/index_management/public/application/services/use_request.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/use_request.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/services/use_request.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/services/use_request.ts
diff --git a/x-pack/plugins/index_management/public/application/shared/parse_mappings.ts b/x-pack/platform/plugins/shared/index_management/public/application/shared/parse_mappings.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/shared/parse_mappings.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/shared/parse_mappings.ts
diff --git a/x-pack/plugins/index_management/public/application/store/actions/clear_cache_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_cache_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/clear_cache_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_cache_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/clear_row_status.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_row_status.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/clear_row_status.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_row_status.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/close_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/close_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/close_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/close_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/delete_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/delete_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/delete_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/delete_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/extension_action.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/extension_action.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/extension_action.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/extension_action.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/flush_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/flush_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/flush_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/flush_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/forcemerge_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/forcemerge_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/forcemerge_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/forcemerge_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/index.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/index.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/index.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/load_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/load_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/load_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/load_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/open_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/open_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/open_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/open_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/refresh_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/refresh_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/refresh_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/refresh_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/reload_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/reload_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/reload_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/reload_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/table_state.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/table_state.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/table_state.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/table_state.js
diff --git a/x-pack/plugins/index_management/public/application/store/actions/unfreeze_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/unfreeze_indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/actions/unfreeze_indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/unfreeze_indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/store/index.ts
diff --git a/x-pack/plugins/index_management/public/application/store/reducers/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/reducers/index.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index.js
diff --git a/x-pack/plugins/index_management/public/application/store/reducers/index_management.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index_management.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/reducers/index_management.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index_management.js
diff --git a/x-pack/plugins/index_management/public/application/store/reducers/indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/indices.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/reducers/indices.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/indices.js
diff --git a/x-pack/plugins/index_management/public/application/store/reducers/row_status.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/row_status.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/reducers/row_status.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/row_status.js
diff --git a/x-pack/plugins/index_management/public/application/store/reducers/table_state.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/table_state.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/reducers/table_state.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/table_state.js
diff --git a/x-pack/plugins/index_management/public/application/store/selectors/extension_service.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/extension_service.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/selectors/extension_service.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/extension_service.ts
diff --git a/x-pack/plugins/index_management/public/application/store/selectors/index.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.d.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/selectors/index.d.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.d.ts
diff --git a/x-pack/plugins/index_management/public/application/store/selectors/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/selectors/index.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.js
diff --git a/x-pack/plugins/index_management/public/application/store/selectors/indices_filter.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/indices_filter.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/selectors/indices_filter.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/indices_filter.test.ts
diff --git a/x-pack/plugins/index_management/public/application/store/store.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/store.d.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/store.d.ts
rename to x-pack/platform/plugins/shared/index_management/public/application/store/store.d.ts
diff --git a/x-pack/plugins/index_management/public/application/store/store.js b/x-pack/platform/plugins/shared/index_management/public/application/store/store.js
similarity index 100%
rename from x-pack/plugins/index_management/public/application/store/store.js
rename to x-pack/platform/plugins/shared/index_management/public/application/store/store.js
diff --git a/x-pack/plugins/index_management/public/assets/curl.svg b/x-pack/platform/plugins/shared/index_management/public/assets/curl.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/curl.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/curl.svg
diff --git a/x-pack/plugins/index_management/public/assets/go.svg b/x-pack/platform/plugins/shared/index_management/public/assets/go.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/go.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/go.svg
diff --git a/x-pack/plugins/index_management/public/assets/javascript.svg b/x-pack/platform/plugins/shared/index_management/public/assets/javascript.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/javascript.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/javascript.svg
diff --git a/x-pack/plugins/index_management/public/assets/php.svg b/x-pack/platform/plugins/shared/index_management/public/assets/php.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/php.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/php.svg
diff --git a/x-pack/plugins/index_management/public/assets/python.svg b/x-pack/platform/plugins/shared/index_management/public/assets/python.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/python.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/python.svg
diff --git a/x-pack/plugins/index_management/public/assets/ruby.svg b/x-pack/platform/plugins/shared/index_management/public/assets/ruby.svg
similarity index 100%
rename from x-pack/plugins/index_management/public/assets/ruby.svg
rename to x-pack/platform/plugins/shared/index_management/public/assets/ruby.svg
diff --git a/x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.test.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.test.ts
diff --git a/x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.ts
rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.ts
diff --git a/x-pack/plugins/index_management/public/hooks/use_ml_model_status_toasts.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_ml_model_status_toasts.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/hooks/use_ml_model_status_toasts.ts
rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_ml_model_status_toasts.ts
diff --git a/x-pack/plugins/index_management/public/index.scss b/x-pack/platform/plugins/shared/index_management/public/index.scss
similarity index 100%
rename from x-pack/plugins/index_management/public/index.scss
rename to x-pack/platform/plugins/shared/index_management/public/index.scss
diff --git a/x-pack/plugins/index_management/public/index.ts b/x-pack/platform/plugins/shared/index_management/public/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/index.ts
diff --git a/x-pack/plugins/index_management/public/locator.test.ts b/x-pack/platform/plugins/shared/index_management/public/locator.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/locator.test.ts
rename to x-pack/platform/plugins/shared/index_management/public/locator.test.ts
diff --git a/x-pack/plugins/index_management/public/locator.ts b/x-pack/platform/plugins/shared/index_management/public/locator.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/locator.ts
rename to x-pack/platform/plugins/shared/index_management/public/locator.ts
diff --git a/x-pack/plugins/index_management/public/mocks.ts b/x-pack/platform/plugins/shared/index_management/public/mocks.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/mocks.ts
rename to x-pack/platform/plugins/shared/index_management/public/mocks.ts
diff --git a/x-pack/plugins/index_management/public/plugin.ts b/x-pack/platform/plugins/shared/index_management/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/plugin.ts
rename to x-pack/platform/plugins/shared/index_management/public/plugin.ts
diff --git a/x-pack/plugins/index_management/public/services/extensions_service.mock.ts b/x-pack/platform/plugins/shared/index_management/public/services/extensions_service.mock.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/services/extensions_service.mock.ts
rename to x-pack/platform/plugins/shared/index_management/public/services/extensions_service.mock.ts
diff --git a/x-pack/plugins/index_management/public/services/extensions_service.ts b/x-pack/platform/plugins/shared/index_management/public/services/extensions_service.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/services/extensions_service.ts
rename to x-pack/platform/plugins/shared/index_management/public/services/extensions_service.ts
diff --git a/x-pack/plugins/index_management/public/services/index.ts b/x-pack/platform/plugins/shared/index_management/public/services/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/services/index.ts
rename to x-pack/platform/plugins/shared/index_management/public/services/index.ts
diff --git a/x-pack/plugins/index_management/public/services/public_api_service.mock.ts b/x-pack/platform/plugins/shared/index_management/public/services/public_api_service.mock.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/services/public_api_service.mock.ts
rename to x-pack/platform/plugins/shared/index_management/public/services/public_api_service.mock.ts
diff --git a/x-pack/plugins/index_management/public/services/public_api_service.ts b/x-pack/platform/plugins/shared/index_management/public/services/public_api_service.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/services/public_api_service.ts
rename to x-pack/platform/plugins/shared/index_management/public/services/public_api_service.ts
diff --git a/x-pack/plugins/index_management/public/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/shared_imports.ts
rename to x-pack/platform/plugins/shared/index_management/public/shared_imports.ts
diff --git a/x-pack/plugins/index_management/public/types.ts b/x-pack/platform/plugins/shared/index_management/public/types.ts
similarity index 100%
rename from x-pack/plugins/index_management/public/types.ts
rename to x-pack/platform/plugins/shared/index_management/public/types.ts
diff --git a/x-pack/plugins/index_management/server/config.ts b/x-pack/platform/plugins/shared/index_management/server/config.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/config.ts
rename to x-pack/platform/plugins/shared/index_management/server/config.ts
diff --git a/x-pack/plugins/index_management/server/index.ts b/x-pack/platform/plugins/shared/index_management/server/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/index.ts
diff --git a/x-pack/plugins/index_management/server/lib/data_stream_serialization.ts b/x-pack/platform/plugins/shared/index_management/server/lib/data_stream_serialization.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/data_stream_serialization.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/data_stream_serialization.ts
diff --git a/x-pack/plugins/index_management/server/lib/enrich_policies.test.ts b/x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/enrich_policies.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.test.ts
diff --git a/x-pack/plugins/index_management/server/lib/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/enrich_policies.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.ts
diff --git a/x-pack/plugins/index_management/server/lib/fetch_indices.test.ts b/x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/fetch_indices.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.test.ts
diff --git a/x-pack/plugins/index_management/server/lib/fetch_indices.ts b/x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/fetch_indices.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.ts
diff --git a/x-pack/plugins/index_management/server/lib/get_managed_templates.ts b/x-pack/platform/plugins/shared/index_management/server/lib/get_managed_templates.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/get_managed_templates.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/get_managed_templates.ts
diff --git a/x-pack/plugins/index_management/server/lib/types.ts b/x-pack/platform/plugins/shared/index_management/server/lib/types.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/lib/types.ts
rename to x-pack/platform/plugins/shared/index_management/server/lib/types.ts
diff --git a/x-pack/plugins/index_management/server/plugin.ts b/x-pack/platform/plugins/shared/index_management/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/plugin.ts
rename to x-pack/platform/plugins/shared/index_management/server/plugin.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_create_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_delete_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_update_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/schema_validation.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/schema_validation.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/component_templates/schema_validation.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/schema_validation.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/data_streams.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/data_streams.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/data_streams.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/data_streams.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_delete_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_delete_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_execute_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_execute_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_list_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_list_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/helpers.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/helpers.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/helpers.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/helpers.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_close_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_close_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_create_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_get_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_indices_routes.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_indices_routes.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_open_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_open_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/inference_models/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/inference_models/register_get_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/register_inference_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_inference_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/inference_models/register_inference_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_inference_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/mapping/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_index_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_index_mapping_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/mapping/register_index_mapping_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_index_mapping_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_update_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/mapping/register_update_mapping_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/nodes/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.test.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.test.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.test.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/settings/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/settings/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_load_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/settings/register_load_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_settings_routes.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_settings_routes.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/settings/register_update_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/stats/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/stats/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/stats/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/stats/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/index.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/lib.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/lib.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/lib.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/lib.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_delete_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_simulate_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_simulate_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_template_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_template_routes.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_template_routes.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_template_routes.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts
diff --git a/x-pack/plugins/index_management/server/routes/api/templates/validate_schemas.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/validate_schemas.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/api/templates/validate_schemas.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/validate_schemas.ts
diff --git a/x-pack/plugins/index_management/server/routes/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/routes/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/routes/index.ts
diff --git a/x-pack/plugins/index_management/server/services/index.ts b/x-pack/platform/plugins/shared/index_management/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/services/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/services/index.ts
diff --git a/x-pack/plugins/index_management/server/services/index_data_enricher.ts b/x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/services/index_data_enricher.ts
rename to x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts
diff --git a/x-pack/plugins/index_management/server/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/shared_imports.ts
rename to x-pack/platform/plugins/shared/index_management/server/shared_imports.ts
diff --git a/x-pack/plugins/index_management/server/test/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/test/helpers/index.ts
rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/index.ts
diff --git a/x-pack/plugins/index_management/server/test/helpers/indices_fixtures.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/indices_fixtures.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/test/helpers/indices_fixtures.ts
rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/indices_fixtures.ts
diff --git a/x-pack/plugins/index_management/server/test/helpers/policies_fixtures.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/policies_fixtures.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/test/helpers/policies_fixtures.ts
rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/policies_fixtures.ts
diff --git a/x-pack/plugins/index_management/server/test/helpers/route_dependencies.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/route_dependencies.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/test/helpers/route_dependencies.ts
rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/route_dependencies.ts
diff --git a/x-pack/plugins/index_management/server/test/helpers/router_mock.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/test/helpers/router_mock.ts
rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts
diff --git a/x-pack/plugins/index_management/server/types.ts b/x-pack/platform/plugins/shared/index_management/server/types.ts
similarity index 100%
rename from x-pack/plugins/index_management/server/types.ts
rename to x-pack/platform/plugins/shared/index_management/server/types.ts
diff --git a/x-pack/plugins/index_management/test/fixtures/index.ts b/x-pack/platform/plugins/shared/index_management/test/fixtures/index.ts
similarity index 100%
rename from x-pack/plugins/index_management/test/fixtures/index.ts
rename to x-pack/platform/plugins/shared/index_management/test/fixtures/index.ts
diff --git a/x-pack/plugins/index_management/test/fixtures/template.ts b/x-pack/platform/plugins/shared/index_management/test/fixtures/template.ts
similarity index 100%
rename from x-pack/plugins/index_management/test/fixtures/template.ts
rename to x-pack/platform/plugins/shared/index_management/test/fixtures/template.ts
diff --git a/x-pack/plugins/index_management/tsconfig.json b/x-pack/platform/plugins/shared/index_management/tsconfig.json
similarity index 94%
rename from x-pack/plugins/index_management/tsconfig.json
rename to x-pack/platform/plugins/shared/index_management/tsconfig.json
index 185c0b112fc55..41514049a13a8 100644
--- a/x-pack/plugins/index_management/tsconfig.json
+++ b/x-pack/platform/plugins/shared/index_management/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
@@ -9,7 +9,7 @@
"public/**/*",
"server/**/*",
"test/**/*",
- "../../../typings/**/*"
+ "../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/yarn.lock b/yarn.lock
index 7bc62f01eac38..3011613da0a45 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5933,7 +5933,7 @@
version "0.0.0"
uid ""
-"@kbn/index-management-plugin@link:x-pack/plugins/index_management":
+"@kbn/index-management-plugin@link:x-pack/platform/plugins/shared/index_management":
version "0.0.0"
uid ""
From cdbcfd7a5d102419e2a66d20c5ae328d1ae9dfa2 Mon Sep 17 00:00:00 2001
From: Faisal Kanout
Date: Thu, 19 Dec 2024 19:40:30 +0100
Subject: [PATCH 40/59] [Observability plugin] Audit new EUI Borealis theme
(#204615)
## Summary
It fixes #203338 by updating tokens and migrating from
`styled-components` to `@emotion` and Eui Visual Refresh for Borealis
theme for the files owned by @elastic/obs-ux-management-team.
---
.../kbn-babel-preset/styled_components_files.js | 8 --------
.../field_value_selection.test.tsx | 11 +++++------
.../field_value_selection.tsx | 14 ++++++--------
.../field_value_suggestions/index.test.tsx | 8 ++++----
.../entity_manager_app/public/application.tsx | 5 ++---
.../common/monitor_test_result/status_badge.tsx | 2 +-
.../common/screenshot/empty_thumbnail.tsx | 14 ++++----------
.../screenshot/journey_screenshot_dialog.tsx | 9 ++++-----
.../monitor_status/monitor_status_legend.tsx | 2 +-
.../waterfall_header/waterfall_tick_axis.tsx | 2 +-
.../filters_expression_select.test.tsx | 17 ++++++++++-------
.../overview/filter_group/filter_group.test.tsx | 7 ++++++-
12 files changed, 44 insertions(+), 55 deletions(-)
diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js
index 707053b68585f..d1b09556a8bf2 100644
--- a/packages/kbn-babel-preset/styled_components_files.js
+++ b/packages/kbn-babel-preset/styled_components_files.js
@@ -21,15 +21,7 @@ module.exports = {
/x-pack[\/\\]plugins[\/\\]observability_solution[\/\\]observability_shared[\/\\]/,
/x-pack[\/\\]plugins[\/\\]security_solution[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]exploratory_view[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]investigate_app[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]investigate[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_ai_assistant_app[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_ai_assistant_management[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_solution[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]serverless_observability[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]streams_app[\/\\]/,
- /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]streams[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]synthetics[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]uptime[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]ux[\/\\]/,
diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx
index 9839d1d5d58e9..01e86b87e6d6c 100644
--- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx
+++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx
@@ -8,8 +8,7 @@
import React from 'react';
import { mount, render } from 'enzyme';
import { FieldValueSelection } from './field_value_selection';
-import { EuiSelectableList } from '@elastic/eui';
-import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common';
+import { EuiSelectableList, EuiThemeProvider } from '@elastic/eui';
const values = [
{ label: 'elastic co frontend', count: 1 },
@@ -56,23 +55,23 @@ describe('FieldValueSelection', () => {
expect((list.props() as any).visibleOptions).toMatchInlineSnapshot(`
Array [
Object {
- "append":
+ "append":
1
- ,
+ ,
"label": "elastic co frontend",
},
Object {
- "append":
+ "append":
2
- ,
+ ,
"label": "apm server",
},
]
diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx
index aebb3a145371e..e74173e90cfff 100644
--- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx
+++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx
@@ -21,15 +21,13 @@ import {
useEuiTheme,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
-import styled from 'styled-components';
import { isEqual, map } from 'lodash';
-import { euiStyled } from '@kbn/kibana-react-plugin/common';
+import styled from '@emotion/styled';
import { FieldValueSelectionProps, ListItem } from './types';
-
-const Counter = euiStyled.div`
- border-radius: ${({ theme }) => theme.eui.euiBorderRadius};
- background: ${({ theme }) => theme.eui.euiColorLightShade};
- padding: 0 ${({ theme }) => theme.eui.euiSizeXS};
+const Counter = styled.div`
+ border-radius: ${({ theme }) => theme.euiTheme.border.radius.medium};
+ background: ${({ theme }) => theme.euiTheme.colors.lightShade};
+ padding: 0 ${({ theme }) => theme.euiTheme.size.xs};
`;
const formatOptions = (
@@ -221,7 +219,7 @@ export function FieldValueSelection({
css={{
flexDirection: 'row-reverse',
gap: euiTheme.size.s,
- color: euiTheme.colors.subduedText,
+ color: euiTheme.colors.textSubdued,
}}
label={i18n.translate(
'xpack.observabilityShared.fieldValueSelection.logicalAnd',
diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx
index 4cc1375b22db2..de01857f15a7a 100644
--- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx
+++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx
@@ -8,7 +8,7 @@
import React from 'react';
import { FieldValueSuggestions } from '.';
import { render, screen, fireEvent, waitForElementToBeRemoved } from '@testing-library/react';
-import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common';
+import { EuiThemeProvider } from '@elastic/eui';
import * as obsHooks from '../../hooks/use_es_search';
jest.setTimeout(30000);
@@ -45,7 +45,7 @@ describe('FieldValueSuggestions', () => {
]);
render(
-
+
{
const onChange = jest.fn();
const { rerender } = render(
-
+
{
await waitForElementToBeRemoved(() => screen.queryByText('Apply'));
rerender(
-
+
-
+
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx
index dd72eac40afc3..d0ac65e54d7ce 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx
@@ -47,7 +47,7 @@ export const getBadgeColorForMonitorStatus = (status: MonitorStatus): IconColor
export const getTextColorForMonitorStatus = (
status: MonitorStatus
): keyof EuiThemeComputed['colors'] => {
- return status === 'skipped' ? 'disabledText' : 'text';
+ return status === 'skipped' ? 'textDisabled' : 'textParagraph';
};
export const COMPLETE_LABEL = i18n.translate('xpack.synthetics.monitorStatus.complete', {
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx
index 45e1e780d1e31..2989a821e7e5e 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx
@@ -7,13 +7,7 @@
import React from 'react';
import { i18n } from '@kbn/i18n';
-import {
- useEuiTheme,
- useEuiBackgroundColor,
- EuiIcon,
- EuiText,
- EuiSkeletonRectangle,
-} from '@elastic/eui';
+import { useEuiTheme, EuiIcon, EuiText, EuiSkeletonRectangle } from '@elastic/eui';
import {
getConfinedScreenshotSize,
@@ -59,7 +53,7 @@ export const EmptyThumbnail = ({
...thumbnailStyle,
width,
height,
- background: useEuiBackgroundColor('subdued'),
+ background: euiTheme.colors.backgroundBaseSubdued,
border: euiTheme.border.thin,
...(borderRadius ? { borderRadius } : {}),
}}
@@ -103,11 +97,11 @@ export const EmptyThumbnail = ({
{unavailableMessage ? (
- {unavailableMessage}
+ {unavailableMessage}
) : null}
)}
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx
index b608c694189bc..a5f2a93d4df52 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx
@@ -27,8 +27,7 @@ import {
EuiOutsideClickDetector,
useIsWithinMaxBreakpoint,
} from '@elastic/eui';
-import { euiStyled } from '@kbn/kibana-react-plugin/common';
-
+import styled from '@emotion/styled';
import { SYNTHETICS_API_URLS } from '../../../../../../common/constants';
import { SyntheticsSettingsContext } from '../../../contexts';
import { useRetrieveStepImage } from '../monitor_test_result/use_retrieve_step_image';
@@ -173,7 +172,7 @@ export const JourneyScreenshotDialog = ({
-
+
{i18n.translate('xpack.synthetics.monitor.stepOfSteps', {
defaultMessage: 'Step: {stepNumber} of {totalSteps}',
values: {
@@ -201,7 +200,7 @@ export const JourneyScreenshotDialog = ({
div {
display: flex;
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx
index 0fad37e676b4f..b0166e9636770 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx
@@ -52,7 +52,7 @@ export const MonitorStatusLegend = ({ brushable }: { brushable: boolean }) => {
<>
-
+
{labels.BRUSH_AREA_MESSAGE}
diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx
index 197dcdb4da1bb..f0025931b6f76 100644
--- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx
+++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx
@@ -61,7 +61,7 @@ export const WaterfallTickAxis = ({
marginBottom: euiTheme.size.s,
whiteSpace: 'nowrap',
cursor: 'pointer',
- color: euiTheme.colors.primaryText,
+ color: euiTheme.colors.textPrimary,
}}
onClick={() => {
setOnlyHighlighted(!showOnlyHighlightedNetworkRequests);
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx
index 3b70c23a699fa..5318e1bd8a820 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx
+++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx
@@ -11,6 +11,7 @@ import { FiltersExpressionsSelect } from './filters_expression_select';
import { render } from '../../../../lib/helper/rtl_helpers';
import { filterAriaLabels as aria } from './translations';
import * as Hooks from '@kbn/observability-shared-plugin/public/hooks/use_values_list';
+import { EuiThemeProvider } from '@elastic/eui';
describe('FiltersExpressionSelect', () => {
const LOCATION_FIELD_NAME = 'observer.geo.name';
@@ -114,13 +115,15 @@ describe('FiltersExpressionSelect', () => {
const spy = jest.spyOn(Hooks, 'useValuesList');
spy.mockReturnValue({ loading: false, values: [{ label: 'test-label', count: 3 }] });
const { getByLabelText, getByText } = render(
-
+
+
+
);
const filterButton = getByLabelText(expectedFilterButtonAriaLabel);
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx
index 7591bc7ef7473..f6287bc678158 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx
+++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx
@@ -10,6 +10,7 @@ import { fireEvent, waitFor } from '@testing-library/react';
import { render } from '../../../lib/helper/rtl_helpers';
import { FilterGroup } from './filter_group';
import * as Hooks from '@kbn/observability-shared-plugin/public/hooks/use_values_list';
+import { EuiThemeProvider } from '@elastic/eui';
describe('FilterGroup', () => {
it.each([
@@ -97,7 +98,11 @@ describe('FilterGroup', () => {
});
}
- const { getByLabelText, getAllByLabelText } = render( );
+ const { getByLabelText, getAllByLabelText } = render(
+
+
+
+ );
await waitFor(() => {
const popoverButton = getByLabelText(popoverButtonLabel);
From fa3029225ae386a71f0109132354746a75201dd7 Mon Sep 17 00:00:00 2001
From: Matthias Wilhelm
Date: Thu, 19 Dec 2024 19:44:25 +0100
Subject: [PATCH 41/59] [Discover] Reintroduce ESQL request count tests
(#204925)
---
.../apps/discover/group3/_request_counts.ts | 157 +++++++++++++-----
1 file changed, 112 insertions(+), 45 deletions(-)
diff --git a/test/functional/apps/discover/group3/_request_counts.ts b/test/functional/apps/discover/group3/_request_counts.ts
index 32f1be5a62e79..ecf84ede5a714 100644
--- a/test/functional/apps/discover/group3/_request_counts.ts
+++ b/test/functional/apps/discover/group3/_request_counts.ts
@@ -21,9 +21,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
]);
const testSubjects = getService('testSubjects');
const browser = getService('browser');
+ const monacoEditor = getService('monacoEditor');
const filterBar = getService('filterBar');
const queryBar = getService('queryBar');
const elasticChart = getService('elasticChart');
+ const log = getService('log');
+ const retry = getService('retry');
describe('discover request counts', function describeIndexTests() {
before(async function () {
@@ -39,6 +42,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
enableESQL: true,
});
await timePicker.setDefaultAbsoluteRangeViaUiSettings();
+ await common.navigateToApp('discover');
+ await header.waitUntilLoadingHasFinished();
});
after(async () => {
@@ -47,18 +52,31 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await kibanaServer.uiSettings.replace({});
});
- beforeEach(async () => {
- await common.navigateToApp('discover');
- await header.waitUntilLoadingHasFinished();
- });
+ const expectSearchCount = async (type: 'ese' | 'esql', searchCount: number) => {
+ await retry.try(async () => {
+ if (searchCount === 0) {
+ await browser.execute(async () => {
+ performance.clearResourceTimings();
+ });
+ }
+ await waitForLoadingToFinish();
+ const endpoint = type === 'esql' ? `${type}_async` : type;
+ const requests = await browser.execute(() =>
+ performance
+ .getEntries()
+ .filter((entry: any) => ['fetch', 'xmlhttprequest'].includes(entry.initiatorType))
+ );
- const getSearchCount = async (type: 'ese' | 'esql') => {
- const requests = await browser.execute(() =>
- performance
- .getEntries()
- .filter((entry: any) => ['fetch', 'xmlhttprequest'].includes(entry.initiatorType))
- );
- return requests.filter((entry) => entry.name.endsWith(`/internal/search/${type}`)).length;
+ const result = requests.filter((entry) =>
+ entry.name.endsWith(`/internal/search/${endpoint}`)
+ );
+
+ const count = result.length;
+ if (count !== searchCount) {
+ log.warning('Request count differs:', result);
+ }
+ expect(count).to.be(searchCount);
+ });
};
const waitForLoadingToFinish = async () => {
@@ -68,15 +86,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
};
const expectSearches = async (type: 'ese' | 'esql', expected: number, cb: Function) => {
- await browser.execute(async () => {
- performance.clearResourceTimings();
- });
- let searchCount = await getSearchCount(type);
- expect(searchCount).to.be(0);
+ await expectSearchCount(type, 0);
await cb();
- await waitForLoadingToFinish();
- searchCount = await getSearchCount(type);
- expect(searchCount).to.be(expected);
+ await expectSearchCount(type, expected);
};
const getSharedTests = ({
@@ -103,8 +115,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
performance.setResourceTimingBufferSize(Number.MAX_SAFE_INTEGER);
});
await waitForLoadingToFinish();
- const searchCount = await getSearchCount(type);
- expect(searchCount).to.be(expectedRequests);
+ // one more requests for fields in ESQL mode
+ const actualExpectedRequests = type === 'esql' ? expectedRequests + 1 : expectedRequests;
+ await expectSearchCount(type, actualExpectedRequests);
});
it(`should send no more than ${expectedRequests} requests (documents + chart) when refreshing`, async () => {
@@ -121,12 +134,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
it(`should send no more than ${expectedRequests} requests (documents + chart) when changing the time range`, async () => {
- await expectSearches(type, expectedRequests, async () => {
- await timePicker.setAbsoluteRange(
- 'Sep 21, 2015 @ 06:31:44.000',
- 'Sep 23, 2015 @ 00:00:00.000'
- );
- });
+ await expectSearches(
+ type,
+ type === 'esql' ? expectedRequests + 1 : expectedRequests,
+ async () => {
+ await timePicker.setAbsoluteRange(
+ 'Sep 21, 2015 @ 06:31:44.000',
+ 'Sep 23, 2015 @ 00:00:00.000'
+ );
+ }
+ );
});
it(`should send ${savedSearchesRequests} requests for saved search changes`, async () => {
@@ -137,35 +154,50 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'Sep 23, 2015 @ 00:00:00.000'
);
await waitForLoadingToFinish();
- // TODO: Check why the request happens 4 times in case of opening a saved search
- // https://github.com/elastic/kibana/issues/165192
- // creating the saved search
- await expectSearches(type, savedSearchesRequests ?? expectedRequests, async () => {
- await discover.saveSearch(savedSearch);
- });
- // resetting the saved search
+ const actualExpectedRequests = savedSearchesRequests ?? expectedRequests;
+ log.debug('Creating saved search');
+ await expectSearches(
+ type,
+ type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests,
+ async () => {
+ await discover.saveSearch(savedSearch);
+ }
+ );
+ log.debug('Resetting saved search');
await setQuery(query2);
await queryBar.clickQuerySubmitButton();
await waitForLoadingToFinish();
- await expectSearches(type, expectedRequests, async () => {
+ await expectSearches(type, actualExpectedRequests, async () => {
await discover.revertUnsavedChanges();
});
- // clearing the saved search
- await expectSearches('ese', savedSearchesRequests ?? expectedRequests, async () => {
- await testSubjects.click('discoverNewButton');
- await waitForLoadingToFinish();
- });
- // loading the saved search
- // TODO: https://github.com/elastic/kibana/issues/165192
- await expectSearches(type, savedSearchesRequests ?? expectedRequests, async () => {
- await discover.loadSavedSearch(savedSearch);
- });
+ log.debug('Clearing saved search');
+ await expectSearches(
+ type,
+ type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests,
+ async () => {
+ await testSubjects.click('discoverNewButton');
+ await waitForLoadingToFinish();
+ }
+ );
+ log.debug('Loading saved search');
+ await expectSearches(
+ type,
+ type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests,
+ async () => {
+ await discover.loadSavedSearch(savedSearch);
+ }
+ );
});
};
describe('data view mode', () => {
const type = 'ese';
+ beforeEach(async () => {
+ await common.navigateToApp('discover');
+ await header.waitUntilLoadingHasFinished();
+ });
+
getSharedTests({
type,
savedSearch: 'data view test',
@@ -206,6 +238,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
it('should send no more than 3 requests (documents + chart + other bucket) when changing to a breakdown field with an other bucket', async () => {
+ await testSubjects.click('discoverNewButton');
await expectSearches(type, 3, async () => {
await discover.chooseBreakdownField('extension.raw');
});
@@ -223,5 +256,39 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});
});
+
+ describe('ES|QL mode', () => {
+ const type = 'esql';
+ before(async () => {
+ await common.navigateToApp('discover');
+ await header.waitUntilLoadingHasFinished();
+ await discover.selectTextBaseLang();
+ });
+
+ beforeEach(async () => {
+ await monacoEditor.setCodeEditorValue('from logstash-* | where bytes > 1000 ');
+ await queryBar.clickQuerySubmitButton();
+ await waitForLoadingToFinish();
+ });
+
+ getSharedTests({
+ type,
+ savedSearch: 'esql test',
+ query1: 'from logstash-* | where bytes > 1000 ',
+ query2: 'from logstash-* | where bytes < 2000 ',
+ savedSearchesRequests: 2,
+ setQuery: (query) => monacoEditor.setCodeEditorValue(query),
+ expectedRequests: 2,
+ });
+
+ it(`should send requests (documents + chart) when toggling the chart visibility`, async () => {
+ await expectSearches(type, 1, async () => {
+ await discover.toggleChartVisibility();
+ });
+ await expectSearches(type, 3, async () => {
+ await discover.toggleChartVisibility();
+ });
+ });
+ });
});
}
From 76781415a37903453a793bab8e134da8687d919f Mon Sep 17 00:00:00 2001
From: "elastic-renovate-prod[bot]"
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 11:01:28 -0800
Subject: [PATCH 42/59] Update docker.elastic.co/wolfi/chainguard-base:latest
Docker digest to bfdeddb (main) (#204662)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.elastic.co/wolfi/chainguard-base | digest | `1b51ff6` ->
`bfdeddb` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White
---
src/dev/build/tasks/os_packages/docker_generator/run.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts
index ca45a31ad7310..4014aa771e510 100644
--- a/src/dev/build/tasks/os_packages/docker_generator/run.ts
+++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts
@@ -51,7 +51,7 @@ export async function runDockerGenerator(
*/
if (flags.baseImage === 'wolfi')
baseImageName =
- 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:1b51ff6dba78c98d3e02b0cd64a8ce3238c7a40408d21e3af12a329d44db6f23';
+ 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:bfdeddb33330a281950c2a54adef991dbbe6a42832bc505d13b11beaf50ae73f';
let imageFlavor = '';
if (flags.baseImage === 'ubi') imageFlavor += `-ubi`;
From c521c1c139a4a661c76be83497bc18affdda0857 Mon Sep 17 00:00:00 2001
From: Marco Liberati
Date: Thu, 19 Dec 2024 20:34:49 +0100
Subject: [PATCH 43/59] [Lens][Embeddable] Apply the correct references for
filters (#204047)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Summary
Fixes #180726
Fix the filter references when inline editing with the correct ones.
I've tried to reduce the fix to a minimal `extract` wrapper, but
unfortunately that is not possible due to some shared logic who rely on
the passed filters references and need to be injected.
So, why not injecting them and instead rely on the search context api?
Right now there's no difference, but formally the `api.filters$` is the
right place to get the latest version, and if in the future the `Edit
filters` flows would change, this api should be the go-to place to have
the right value.
Why not adding a FTR?
There's a bigger problem with the panel filters action who has a dynamic
`data-test-subj` value which is impossible to get right now. I would
rather prefer to fix that first and then add some tests in general for
multiple scenarios in Lens.
## Testing it locally
* Create a viz with a filter in the editor, save and return to dashboard
* Check the filters are shown correctly in the dashboard panel
* Edit inline and change the chart type. Apply changes
* Check the filters are shown correctly
* Now "edit" in the editor without changing anything
* Check the filter can be edited correctly (no empty popover) ✅ or 💥
* Save and return to dashboard
* Check the filters are shown correctly ✅ or 💥
---
.../initializers/initialize_edit.tsx | 32 ++++++++++++++++++-
.../initializers/initialize_search_context.ts | 27 +++++++++++-----
.../react_embeddable/lens_embeddable.tsx | 9 +++++-
3 files changed, 58 insertions(+), 10 deletions(-)
diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx
index 81372dad339f7..4674fb84c2635 100644
--- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx
+++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx
@@ -37,6 +37,7 @@ import { setupPanelManagement } from '../inline_editing/panel_management';
import { mountInlineEditPanel } from '../inline_editing/mount';
import { StateManagementConfig } from './initialize_state_management';
import { apiPublishesInlineEditingCapabilities } from '../type_guards';
+import { SearchContextConfig } from './initialize_search_context';
function getSupportedTriggers(
getState: GetStateType,
@@ -61,6 +62,7 @@ export function initializeEditApi(
internalApi: LensInternalApi,
stateApi: StateManagementConfig['api'],
inspectorApi: LensInspectorAdapters,
+ searchContextApi: SearchContextConfig['api'],
isTextBasedLanguage: (currentState: LensRuntimeState) => boolean,
startDependencies: LensEmbeddableStartServices,
parentApi?: unknown
@@ -126,9 +128,34 @@ export function initializeEditApi(
stateApi.updateSavedObjectId(newState.savedObjectId);
};
+ // Wrap the getState() when inline editing and make sure that the filters in the attributes
+ // are properly injected with the correct references to avoid issues when saving/navigating to the full editor
+ const getStateWithInjectedFilters = () => {
+ const currentState = getState();
+ // use the search context api here for filters for 2 reasons:
+ // * the filters here have the correct references already injected
+ // * the edit filters flow may change in the future and this is the right place to get the filters
+ const currentFilters = searchContextApi.filters$.getValue() ?? [];
+ // if there are no filters, avoid to copy the attributes
+ if (!currentFilters.length) {
+ return currentState;
+ }
+ // otherwise make sure to inject the references into filters
+ return {
+ ...currentState,
+ attributes: {
+ ...currentState.attributes,
+ state: {
+ ...currentState.attributes.state,
+ filters: currentFilters,
+ },
+ },
+ };
+ };
+
const openInlineEditor = prepareInlineEditPanel(
initialState,
- getState,
+ getStateWithInjectedFilters,
updateState,
internalApi,
panelManagementApi,
@@ -205,6 +232,9 @@ export function initializeEditApi(
const rootEmbeddable = parentApi;
const overlayTracker = tracksOverlays(rootEmbeddable) ? rootEmbeddable : undefined;
const ConfigPanel = await openInlineEditor({
+ // the getState() here contains the wrong filters references
+ // but the input attributes are correct as openInlineEditor() handler is using
+ // the getStateWithInjectedFilters() function
onApply: (attributes: LensRuntimeState['attributes']) =>
updateState({ ...getState(), attributes }),
// restore the first state found when the panel opened
diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts
index 1a608de11e230..1d95fd49b3f55 100644
--- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts
+++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts
@@ -18,18 +18,26 @@ import {
apiPublishesSearchSession,
} from '@kbn/presentation-publishing/interfaces/fetch/publishes_search_session';
import { buildObservableVariable } from '../helper';
-import { LensInternalApi, LensRuntimeState, LensUnifiedSearchContext } from '../types';
+import {
+ LensEmbeddableStartServices,
+ LensInternalApi,
+ LensRuntimeState,
+ LensUnifiedSearchContext,
+} from '../types';
-export function initializeSearchContext(
- initialState: LensRuntimeState,
- internalApi: LensInternalApi,
- parentApi: unknown
-): {
+export interface SearchContextConfig {
api: PublishesUnifiedSearch & PublishesSearchSession;
comparators: StateComparators;
serialize: () => LensUnifiedSearchContext;
cleanup: () => void;
-} {
+}
+
+export function initializeSearchContext(
+ initialState: LensRuntimeState,
+ internalApi: LensInternalApi,
+ parentApi: unknown,
+ { injectFilterReferences }: LensEmbeddableStartServices
+): SearchContextConfig {
const [searchSessionId$] = buildObservableVariable(
apiPublishesSearchSession(parentApi) ? parentApi.searchSessionId$ : undefined
);
@@ -38,7 +46,10 @@ export function initializeSearchContext(
const [lastReloadRequestTime] = buildObservableVariable(undefined);
- const [filters$] = buildObservableVariable(attributes.state.filters);
+ // Make sure the panel access the filters with the correct references
+ const [filters$] = buildObservableVariable(
+ injectFilterReferences(attributes.state.filters, attributes.references)
+ );
const [query$] = buildObservableVariable(
attributes.state.query
diff --git a/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx b/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx
index 2fc1928dc40c8..c193e02c06f0e 100644
--- a/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx
+++ b/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx
@@ -84,6 +84,13 @@ export const createLensEmbeddableFactory = (
const inspectorConfig = initializeInspector(services);
+ const searchContextConfig = initializeSearchContext(
+ initialState,
+ internalApi,
+ parentApi,
+ services
+ );
+
const editConfig = initializeEditApi(
uuid,
initialState,
@@ -91,12 +98,12 @@ export const createLensEmbeddableFactory = (
internalApi,
stateConfig.api,
inspectorConfig.api,
+ searchContextConfig.api,
isTextBasedLanguage,
services,
parentApi
);
- const searchContextConfig = initializeSearchContext(initialState, internalApi, parentApi);
const integrationsConfig = initializeIntegrations(getState, services);
const actionsConfig = initializeActionApi(
uuid,
From 37df2060958a2835875e96db064bb0ed212b7677 Mon Sep 17 00:00:00 2001
From: Mason Herron <46727170+Supplementing@users.noreply.github.com>
Date: Thu, 19 Dec 2024 12:49:36 -0700
Subject: [PATCH 44/59] [Fleet] Agent upgrade form validation fix (#204846)
## Summary
Closes #197399
Implemented a fix when trying to bulk upgrade agents that are on the
current version (see issue for further explanation). Instead of a
combobox, a text field would be shown but the current version (in line
with the kibana version) wasn't automatically being added to the field
as intended due to the wrong variable being passed as the `value` prop.
However the correct version was being applied to the behind-the-scenes
check, allowing the user to submit even though it looked like nothing
had been entered in the field.
- Fixed `value` prop on input to use the correct pre-filled value
initially
- Added a check so that if there were errors with the version being
typed in, the button would also get disabled to stop submissions with
invalid versions
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
### Identify risks
n/a
---
.../agents/components/agent_upgrade_modal/index.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx
index b65b90e8062bd..da7c2d2af9aba 100644
--- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx
+++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx
@@ -230,7 +230,6 @@ export const AgentUpgradeAgentModal: React.FunctionComponent {
const newValue = e.target.value;
- setSelectedVersionStr(newValue);
+
setSelectedVersion([{ label: newValue, value: newValue }]);
}}
isInvalid={!!semverErrors}
From a0ebb1d08a18bac8c39d3c945086218bfce61871 Mon Sep 17 00:00:00 2001
From: Lene Gadewoll
Date: Thu, 19 Dec 2024 20:57:23 +0100
Subject: [PATCH 45/59] Upgrade EUI to v98.2.1 (#204482)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
`v98.1.0-borealis.0`⏩`v98.2.1-borealis.2`
_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_
---
# `@elastic/eui`
## [`v98.2.1`](https://github.com/elastic/eui/releases/v98.2.1)
- Updated the EUI theme color values to use a full 6 char hex code
format ([#8244](https://github.com/elastic/eui/pull/8244))
## [`v98.2.0`](https://github.com/elastic/eui/releases/v98.2.0)
- Added two new icons: `contrast` and `contrastHigh`
([#8216](https://github.com/elastic/eui/pull/8216))
- Updated `EuiDataGrid` content to have a transparent background.
([#8220](https://github.com/elastic/eui/pull/8220))
**Accessibility**
- When the tooltips components (`EuiTooltip`, `EuiIconTip`) are used
inside components that handle the Escape key (like `EuiFlyout` or
`EuiModal`), pressing the Escape key will now only close the tooltip and
not the entire wrapping component.
([#8140](https://github.com/elastic/eui/pull/8140))
- Improved the accessibility of `EuiCodeBlock`s by
([#8195](https://github.com/elastic/eui/pull/8195))
- adding screen reader only labels
- adding `role="dialog"` on in fullscreen mode
- ensuring focus is returned on closing fullscreen mode
# Borealis updates
- [Visual Refresh] Update color token mappings
([#8211](https://github.com/elastic/eui/pull/8211))
- [Visual Refresh] Introduce shared popover arrow styles to Borealis
([#8212](https://github.com/elastic/eui/pull/8212))
- [Visual Refresh] Add forms.maxWidth token
([#8221](https://github.com/elastic/eui/pull/8221))
- [Visual Refresh] Set darker shade for subdued text
([#8224](https://github.com/elastic/eui/pull/8224))
- [Visual Refresh] Remove support for accentSecondary badges
([#8224](https://github.com/elastic/eui/pull/8227))
- [Visual Refresh] Add severity vis colors
([#8247](https://github.com/elastic/eui/pull/8247))
- [Visual Refresh] Fix transparent color variable definitions
([8249](https://github.com/elastic/eui/pull/8249))
- [Visual Refresh] Update EuiToken colors
([8250](https://github.com/elastic/eui/pull/8250))
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
package.json | 4 +-
.../__snapshots__/i18n_service.test.tsx.snap | 2 +
.../src/i18n_eui_mapping.tsx | 8 +++
.../unsaved_changes_badge.test.tsx.snap | 2 +-
...op_nav_unsaved_changes_badge.test.tsx.snap | 2 +-
.../src/popover/popover.test.tsx | 2 +-
src/dev/license_checker/config.ts | 4 +-
.../extend_index_management.test.tsx.snap | 6 +-
.../__snapshots__/app.test.tsx.snap | 2 +-
.../__snapshots__/settings.test.tsx.snap | 70 ++++++++++++-------
.../collection_interval.test.js.snap | 2 +-
.../__snapshots__/prompt_page.test.tsx.snap | 4 +-
.../unauthenticated_page.test.tsx.snap | 4 +-
.../reset_session_page.test.tsx.snap | 4 +-
.../public/components/rca/rca_panel/index.tsx | 6 +-
.../ml_integerations.test.tsx.snap | 2 +-
yarn.lock | 26 +++----
17 files changed, 92 insertions(+), 58 deletions(-)
diff --git a/package.json b/package.json
index 937c11ebf3043..29ffd5f72b927 100644
--- a/package.json
+++ b/package.json
@@ -117,8 +117,8 @@
"@elastic/ecs": "^8.11.1",
"@elastic/elasticsearch": "^8.16.0",
"@elastic/ems-client": "8.5.3",
- "@elastic/eui": "98.1.0-borealis.0",
- "@elastic/eui-theme-borealis": "0.0.4",
+ "@elastic/eui": "98.2.1-borealis.2",
+ "@elastic/eui-theme-borealis": "0.0.7",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "^1.2.3",
"@elastic/numeral": "^2.5.1",
diff --git a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap
index 52a55d3113173..373c07ecf976c 100644
--- a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap
+++ b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap
@@ -31,8 +31,10 @@ exports[`#start() returns \`Context\` component 1`] = `
"euiCardSelect.select": "Select",
"euiCardSelect.selected": "Selected",
"euiCardSelect.unavailable": "Unavailable",
+ "euiCodeBlock.label": [Function],
"euiCodeBlockAnnotations.ariaLabel": [Function],
"euiCodeBlockCopy.copy": "Copy",
+ "euiCodeBlockFullScreen.ariaLabel": "Expanded code block",
"euiCodeBlockFullScreen.fullscreenCollapse": "Collapse",
"euiCodeBlockFullScreen.fullscreenExpand": "Expand",
"euiCollapsedItemActions.allActions": [Function],
diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx
index c48dffd8caa45..d77134acb2437 100644
--- a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx
+++ b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx
@@ -1828,5 +1828,13 @@ export const getEuiContextMapping = (): EuiTokensObject => {
defaultMessage: 'Selection',
}
),
+ 'euiCodeBlockFullScreen.ariaLabel': i18n.translate('core.euiCodeBlockFullScreen.ariaLabel', {
+ defaultMessage: 'Expanded code block',
+ }),
+ 'euiCodeBlock.label': ({ language }: EuiValues) =>
+ i18n.translate('core.euiCodeBlock.label', {
+ defaultMessage: '{language} code block:',
+ values: { language },
+ }),
};
};
diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap b/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap
index 9991c8a2165d0..9103b94e19379 100644
--- a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap
+++ b/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap
@@ -10,7 +10,7 @@ exports[` should show all menu items 1`] = `
aria-label="View available actions"
class="euiBadge emotion-euiBadge-clickable"
data-test-subj="unsavedChangesBadge"
- style="--euiBadgeBackgroundColor: #F6E58D; --euiBadgeTextColor: #000;"
+ style="--euiBadgeBackgroundColor: #F6E58D; --euiBadgeTextColor: #000000;"
title="test"
>
', () => {
const button = component.find('EuiButton');
expect(button.prop('color')).toBe('text');
expect(button.prop('css')).toMatchObject({
- backgroundColor: '#FFF',
+ backgroundColor: '#FFFFFF',
border: '1px solid #D3DAE6',
color: '#343741',
});
diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts
index 1eeae89438c83..44c441f9bbe63 100644
--- a/src/dev/license_checker/config.ts
+++ b/src/dev/license_checker/config.ts
@@ -87,8 +87,8 @@ export const LICENSE_OVERRIDES = {
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/ems-client@8.5.3': ['Elastic License 2.0'],
- '@elastic/eui@98.1.0-borealis.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
- '@elastic/eui-theme-borealis@0.0.4': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
+ '@elastic/eui@98.2.1-borealis.2': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
+ '@elastic/eui-theme-borealis@0.0.7': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
index 83e73494fcb0a..096b56da2fe6f 100644
--- a/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
+++ b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
@@ -178,7 +178,7 @@ exports[`extend index management ilm summary extension should render a phase def
>
App renders properly 1`] = `"There is a new region landmark with page level controls at the end of the document.
"`;
+exports[` App renders properly 1`] = `"There is a new region landmark with page level controls at the end of the document.
"`;
diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap b/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap
index cfe41427b1ea1..3ac5a1a2731bc 100644
--- a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap
+++ b/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap
@@ -14,14 +14,18 @@ exports[` can navigate Autoplay Settings 1`] = `
class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform"
data-popover-panel="true"
role="dialog"
- style="top: -16px; left: -22px; will-change: transform, opacity; z-index: 2000;"
+ style="top: -16px; left: -18px; will-change: transform, opacity; z-index: 2000;"
tabindex="0"
>
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper"
+ style="left: 9px; top: 100%;"
+ >
+
+
can navigate Autoplay Settings 2`] = `
data-popover-open="true"
data-popover-panel="true"
role="dialog"
- style="top: -16px; left: -22px; z-index: 2000;"
+ style="top: -16px; left: -18px; z-index: 2000;"
tabindex="0"
>
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper"
+ style="left: 9px; top: 100%;"
+ >
+
+
can navigate Toolbar Settings, closes when activated 1`] =
class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform"
data-popover-panel="true"
role="dialog"
- style="top: -16px; left: -22px; will-change: transform, opacity; z-index: 2000;"
+ style="top: -16px; left: -18px; will-change: transform, opacity; z-index: 2000;"
tabindex="0"
>
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper"
+ style="left: 9px; top: 100%;"
+ >
+
+
can navigate Toolbar Settings, closes when activated 2`] =
data-popover-open="true"
data-popover-panel="true"
role="dialog"
- style="top: -16px; left: -22px; z-index: 2000;"
+ style="top: -16px; left: -18px; z-index: 2000;"
tabindex="0"
>
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper"
+ style="left: 9px; top: 100%;"
+ >
+
+
can navigate Toolbar Settings, closes when activated 3`] =
class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform"
data-popover-panel="true"
role="dialog"
- style="top: -16px; left: -22px; z-index: 2000;"
+ style="top: -16px; left: -18px; z-index: 2000;"
tabindex="0"
>
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper"
+ style="left: 9px; top: 100%;"
+ >
+
+
Turn on monitoring
diff --git a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
index db2f55f0de222..447fe4b5c92a1 100644
--- a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`PromptPage renders as expected with additional scripts 1`] = `"Elastic MockedFonts "`;
+exports[`PromptPage renders as expected with additional scripts 1`] = `"Elastic MockedFonts "`;
-exports[`PromptPage renders as expected without additional scripts 1`] = `"Elastic MockedFonts "`;
+exports[`PromptPage renders as expected without additional scripts 1`] = `"Elastic MockedFonts "`;
diff --git a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
index ab94f2c2efc8d..8ca838fa1ce60 100644
--- a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`UnauthenticatedPage renders as expected 1`] = `"Elastic MockedFonts
We hit an authentication error
Try logging in again, and if the problem persists, contact your system administrator.
"`;
+exports[`UnauthenticatedPage renders as expected 1`] = `"Elastic MockedFonts
We hit an authentication error
Try logging in again, and if the problem persists, contact your system administrator.
"`;
-exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company Name MockedFonts
We hit an authentication error
Try logging in again, and if the problem persists, contact your system administrator.
"`;
+exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company Name MockedFonts
We hit an authentication error
Try logging in again, and if the problem persists, contact your system administrator.
"`;
diff --git a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
index fcab54e925cfb..18a3568c092c4 100644
--- a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`ResetSessionPage renders as expected 1`] = `"Elastic MockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
+exports[`ResetSessionPage renders as expected 1`] = `"Elastic MockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
-exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company Name MockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
+exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company Name MockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx
index 2ad1225a10f71..173bf8a2c96a0 100644
--- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx
+++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx
@@ -21,7 +21,11 @@ export function RootCauseAnalysisPanel({
const theme = useTheme();
const panelClassName =
- color && color !== 'transparent' && color !== 'plain' && color !== 'subdued'
+ color &&
+ color !== 'transparent' &&
+ color !== 'plain' &&
+ color !== 'subdued' &&
+ color !== 'highlighted'
? css`
border: 1px solid;
border-color: ${rgba(theme.colors[color], 0.25)};
diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap
index 1edd320bcc715..733eda0561f9a 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap
+++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap
@@ -18,7 +18,7 @@ exports[`ML Integrations renders without errors 1`] = `
aria-label="Loading"
class="euiLoadingSpinner emotion-euiLoadingSpinner-m"
role="progressbar"
- style="border-color:#07C currentcolor currentcolor currentcolor"
+ style="border-color:#0077CC currentcolor currentcolor currentcolor"
/>
Date: Thu, 19 Dec 2024 21:09:27 +0100
Subject: [PATCH 46/59] [ES `body` removal] `@elastic/fleet` (#204867)
## Summary
Attempt to remove the deprecated `body` in the ES client.
---
.../fleet/common/types/models/agent_policy.ts | 2 +-
.../plugins/fleet/common/types/models/epm.ts | 2 +-
.../server/routes/data_streams/handlers.ts | 2 +-
.../package_policies_to_agent_permissions.ts | 2 +-
.../fleet/server/services/agent_policy.ts | 2 +-
.../server/services/agents/action.mock.ts | 2 +-
.../server/services/agents/actions.test.ts | 12 ++---
.../fleet/server/services/agents/actions.ts | 6 +--
.../server/services/agents/agent_service.ts | 4 +-
.../fleet/server/services/agents/crud.test.ts | 6 +--
.../fleet/server/services/agents/crud.ts | 36 ++++++--------
.../fleet/server/services/agents/helpers.ts | 2 +-
.../server/services/agents/reassign.test.ts | 14 +++---
.../agents/request_diagnostics.test.ts | 12 ++---
.../server/services/agents/unenroll.test.ts | 49 +++++++++----------
.../services/agents/update_agent_tags.test.ts | 20 ++++----
.../server/services/agents/upgrade.test.ts | 18 +++----
.../elasticsearch/index/update_settings.ts | 2 +-
.../epm/elasticsearch/template/template.ts | 2 +-
.../epm/elasticsearch/template/utils.ts | 2 +-
.../elasticsearch/transform/reauthorize.ts | 2 +-
...experimental_datastream_features_helper.ts | 5 +-
.../server/services/files/client_from_host.ts | 2 +-
.../security/uninstall_token_service/index.ts | 2 +-
24 files changed, 98 insertions(+), 110 deletions(-)
diff --git a/x-pack/plugins/fleet/common/types/models/agent_policy.ts b/x-pack/plugins/fleet/common/types/models/agent_policy.ts
index 0d180a0f4935a..b3b5611116837 100644
--- a/x-pack/plugins/fleet/common/types/models/agent_policy.ts
+++ b/x-pack/plugins/fleet/common/types/models/agent_policy.ts
@@ -5,7 +5,7 @@
* 2.0.
*/
-import type { SecurityRoleDescriptor } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { SecurityRoleDescriptor } from '@elastic/elasticsearch/lib/api/types';
import type { agentPolicyStatuses } from '../../constants';
import type { MonitoringType, PolicySecretReference, ValueOf } from '..';
diff --git a/x-pack/plugins/fleet/common/types/models/epm.ts b/x-pack/plugins/fleet/common/types/models/epm.ts
index bcae5230aab52..af8a0acf9b2d4 100644
--- a/x-pack/plugins/fleet/common/types/models/epm.ts
+++ b/x-pack/plugins/fleet/common/types/models/epm.ts
@@ -5,7 +5,7 @@
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import type {
ASSETS_SAVED_OBJECT_TYPE,
diff --git a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts b/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts
index 2a4ab12ad0055..a53bae87325ea 100644
--- a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts
+++ b/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts
@@ -8,7 +8,7 @@ import type { Dictionary } from 'lodash';
import { keyBy, keys, merge } from 'lodash';
import type { RequestHandler } from '@kbn/core/server';
import pMap from 'p-map';
-import type { IndicesDataStreamsStatsDataStreamsStatsItem } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { IndicesDataStreamsStatsDataStreamsStatsItem } from '@elastic/elasticsearch/lib/api/types';
import { ByteSizeValue } from '@kbn/config-schema';
import type { DataStream } from '../../types';
diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts b/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts
index 0ea580f44bb4d..914cde14e1797 100644
--- a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts
+++ b/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts
@@ -8,7 +8,7 @@
import type {
SecurityIndicesPrivileges,
SecurityRoleDescriptor,
-} from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+} from '@elastic/elasticsearch/lib/api/types';
import {
FLEET_APM_PACKAGE,
diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/plugins/fleet/server/services/agent_policy.ts
index eed9b058ad03f..3a3273383ad38 100644
--- a/x-pack/plugins/fleet/server/services/agent_policy.ts
+++ b/x-pack/plugins/fleet/server/services/agent_policy.ts
@@ -22,7 +22,7 @@ import type {
} from '@kbn/core/server';
import { SavedObjectsUtils } from '@kbn/core/server';
-import type { BulkResponseItem } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { BulkResponseItem } from '@elastic/elasticsearch/lib/api/types';
import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common/constants';
diff --git a/x-pack/plugins/fleet/server/services/agents/action.mock.ts b/x-pack/plugins/fleet/server/services/agents/action.mock.ts
index 77dc46b972532..50c2f0d6b0fbf 100644
--- a/x-pack/plugins/fleet/server/services/agents/action.mock.ts
+++ b/x-pack/plugins/fleet/server/services/agents/action.mock.ts
@@ -152,7 +152,7 @@ export function createClientMock() {
esClientMock.mget.mockResponseImplementation((params) => {
// @ts-expect-error
- const docs = params?.body.docs.map(({ _id }) => {
+ const docs = params?.docs.map(({ _id }) => {
let result;
switch (_id) {
case agentInHostedDoc._id:
diff --git a/x-pack/plugins/fleet/server/services/agents/actions.test.ts b/x-pack/plugins/fleet/server/services/agents/actions.test.ts
index b8cb2ce8c8d6a..594d553bff941 100644
--- a/x-pack/plugins/fleet/server/services/agents/actions.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/actions.test.ts
@@ -135,7 +135,7 @@ describe('Agent actions', () => {
expect(esClient.create).toBeCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
signed: {
data: expect.any(String),
signature: expect.any(String),
@@ -180,7 +180,7 @@ describe('Agent actions', () => {
expect(esClient.create).toBeCalledWith(
expect.objectContaining({
- body: expect.not.objectContaining({
+ document: expect.not.objectContaining({
signed: expect.any(Object),
}),
})
@@ -235,7 +235,7 @@ describe('Agent actions', () => {
await bulkCreateAgentActions(esClient, newActions);
expect(esClient.bulk).toHaveBeenCalledWith(
expect.objectContaining({
- body: expect.arrayContaining([
+ operations: expect.arrayContaining([
expect.arrayContaining([
expect.objectContaining({
signed: {
@@ -274,7 +274,7 @@ describe('Agent actions', () => {
await bulkCreateAgentActions(esClient, newActions);
expect(esClient.bulk).toHaveBeenCalledWith(
expect.objectContaining({
- body: expect.arrayContaining([
+ operations: expect.arrayContaining([
expect.arrayContaining([
expect.not.objectContaining({
signed: {
@@ -350,7 +350,7 @@ describe('Agent actions', () => {
expect(esClient.create).toBeCalledTimes(2);
expect(esClient.create).toBeCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
type: 'CANCEL',
data: { target_id: 'action1' },
agents: ['agent1', 'agent2'],
@@ -359,7 +359,7 @@ describe('Agent actions', () => {
);
expect(esClient.create).toBeCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
type: 'CANCEL',
data: { target_id: 'action1' },
agents: ['agent3', 'agent4'],
diff --git a/x-pack/plugins/fleet/server/services/agents/actions.ts b/x-pack/plugins/fleet/server/services/agents/actions.ts
index f2faf26fd96af..e3e291eb1ae18 100644
--- a/x-pack/plugins/fleet/server/services/agents/actions.ts
+++ b/x-pack/plugins/fleet/server/services/agents/actions.ts
@@ -81,7 +81,7 @@ export async function createAgentAction(
await esClient.create({
index: AGENT_ACTIONS_INDEX,
id: uuidv4(),
- body,
+ document: body,
refresh: 'wait_for',
});
@@ -153,7 +153,7 @@ export async function bulkCreateAgentActions(
await esClient.bulk({
index: AGENT_ACTIONS_INDEX,
- body: fleetServerAgentActions,
+ operations: fleetServerAgentActions,
});
for (const action of actions) {
@@ -231,7 +231,7 @@ export async function bulkCreateAgentActionResults(
await esClient.bulk({
index: AGENT_ACTIONS_RESULTS_INDEX,
- body: bulkBody,
+ operations: bulkBody,
refresh: 'wait_for',
});
}
diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.ts b/x-pack/plugins/fleet/server/services/agents/agent_service.ts
index 94583284d87f8..b18394b0aea08 100644
--- a/x-pack/plugins/fleet/server/services/agents/agent_service.ts
+++ b/x-pack/plugins/fleet/server/services/agents/agent_service.ts
@@ -13,9 +13,9 @@ import type {
SavedObjectsClientContract,
} from '@kbn/core/server';
-import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/types';
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import type { SortResults } from '@elastic/elasticsearch/lib/api/types';
diff --git a/x-pack/plugins/fleet/server/services/agents/crud.test.ts b/x-pack/plugins/fleet/server/services/agents/crud.test.ts
index 00119e5bc44fb..6ccf5653bfc8f 100644
--- a/x-pack/plugins/fleet/server/services/agents/crud.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/crud.test.ts
@@ -107,9 +107,7 @@ describe('Agents CRUD test', () => {
expect(searchMock).toHaveBeenCalledWith(
expect.objectContaining({
aggs: { tags: { terms: { field: 'tags', size: 10000 } } },
- body: {
- query: expect.any(Object),
- },
+ query: expect.any(Object),
index: '.fleet-agents',
size: 0,
fields: ['status'],
@@ -164,7 +162,7 @@ describe('Agents CRUD test', () => {
})
);
- expect(searchMock.mock.calls.at(-1)[0].body.query).toEqual(
+ expect(searchMock.mock.calls.at(-1)[0].query).toEqual(
toElasticsearchQuery(
_joinFilters(['fleet-agents.policy_id: 123', 'NOT status:unenrolled'])!
)
diff --git a/x-pack/plugins/fleet/server/services/agents/crud.ts b/x-pack/plugins/fleet/server/services/agents/crud.ts
index e6a264c394397..bc3a9cb6028ff 100644
--- a/x-pack/plugins/fleet/server/services/agents/crud.ts
+++ b/x-pack/plugins/fleet/server/services/agents/crud.ts
@@ -6,13 +6,13 @@
*/
import { groupBy } from 'lodash';
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import type { SortResults } from '@elastic/elasticsearch/lib/api/types';
import type { SavedObjectsClientContract, ElasticsearchClient } from '@kbn/core/server';
import type { KueryNode } from '@kbn/es-query';
import { fromKueryExpression, toElasticsearchQuery } from '@kbn/es-query';
import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common';
-import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/types';
import type { AgentSOAttributes, Agent, ListWithKuery } from '../../types';
import { appContextService, agentPolicyService } from '..';
@@ -169,13 +169,13 @@ export async function getAgentTags(
}
const kueryNode = _joinFilters(filters);
- const body = kueryNode ? { query: toElasticsearchQuery(kueryNode) } : {};
+ const query = kueryNode ? { query: toElasticsearchQuery(kueryNode) } : {};
const runtimeFields = await buildAgentStatusRuntimeField(soClient);
try {
const result = await esClient.search<{}, { tags: { buckets: Array<{ key: string }> } }>({
index: AGENTS_INDEX,
size: 0,
- body,
+ ...query,
fields: Object.keys(runtimeFields),
runtime_mappings: runtimeFields,
aggs: {
@@ -546,17 +546,15 @@ export async function getAgentVersionsForAgentPolicyIds(
FleetServerAgent,
Record<'agent_versions', { buckets: Array<{ key: string; doc_count: number }> }>
>({
- body: {
- query: {
- bool: {
- filter: [
- {
- terms: {
- policy_id: agentPolicyIds,
- },
+ query: {
+ bool: {
+ filter: [
+ {
+ terms: {
+ policy_id: agentPolicyIds,
},
- ],
- },
+ },
+ ],
},
},
index: AGENTS_INDEX,
@@ -628,7 +626,7 @@ export async function updateAgent(
await esClient.update({
id: agentId,
index: AGENTS_INDEX,
- body: { doc: agentSOAttributesToFleetServerAgentDoc(data) },
+ doc: agentSOAttributesToFleetServerAgentDoc(data),
refresh: 'wait_for',
});
}
@@ -645,7 +643,7 @@ export async function bulkUpdateAgents(
return;
}
- const body = updateData.flatMap(({ agentId, data }) => [
+ const operations = updateData.flatMap(({ agentId, data }) => [
{
update: {
_id: agentId,
@@ -658,7 +656,7 @@ export async function bulkUpdateAgents(
]);
const res = await esClient.bulk({
- body,
+ operations,
index: AGENTS_INDEX,
refresh: 'wait_for',
});
@@ -676,9 +674,7 @@ export async function deleteAgent(esClient: ElasticsearchClient, agentId: string
await esClient.update({
id: agentId,
index: AGENTS_INDEX,
- body: {
- doc: { active: false },
- },
+ doc: { active: false },
});
} catch (err) {
if (isESClientError(err) && err.meta.statusCode === 404) {
diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.ts b/x-pack/plugins/fleet/server/services/agents/helpers.ts
index 4258e883b2351..d6af80c747789 100644
--- a/x-pack/plugins/fleet/server/services/agents/helpers.ts
+++ b/x-pack/plugins/fleet/server/services/agents/helpers.ts
@@ -5,7 +5,7 @@
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import type { SortResults } from '@elastic/elasticsearch/lib/api/types';
import type { SearchHit } from '@kbn/es-types';
diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts b/x-pack/plugins/fleet/server/services/agents/reassign.test.ts
index 5d55fdd5da31e..cf48ee20159f7 100644
--- a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/reassign.test.ts
@@ -4,7 +4,7 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import { HostedAgentPolicyRestrictionRelatedError } from '../../errors';
@@ -40,7 +40,7 @@ describe('reassignAgent', () => {
expect(esClient.update).toBeCalledTimes(1);
const calledWith = esClient.update.mock.calls[0];
expect(calledWith[0]?.id).toBe(agentInRegularDoc._id);
- expect((calledWith[0] as estypes.UpdateRequest)?.body?.doc).toHaveProperty(
+ expect((calledWith[0] as estypes.UpdateRequest)?.doc).toHaveProperty(
'policy_id',
regularAgentPolicySO.id
);
@@ -101,14 +101,14 @@ describe('reassignAgent', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
// only 1 are regular and bulk write two line per update
- expect((calledWith as estypes.BulkRequest).body?.length).toBe(2);
+ expect((calledWith as estypes.BulkRequest).operations?.length).toBe(2);
// @ts-expect-error
- expect(calledWith.body[0].update._id).toEqual(agentInRegularDoc._id);
+ expect(calledWith.operations[0].update._id).toEqual(agentInRegularDoc._id);
// hosted policy is updated in action results with error
const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest;
// bulk write two line per create
- expect(calledWithActionResults.body?.length).toBe(4);
+ expect(calledWithActionResults.operations?.length).toBe(4);
const expectedObject = expect.objectContaining({
'@timestamp': expect.anything(),
action_id: expect.anything(),
@@ -116,7 +116,7 @@ describe('reassignAgent', () => {
error:
'Cannot reassign an agent from hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.',
});
- expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject);
+ expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject);
});
it('should report errors from ES agent update call', async () => {
@@ -147,7 +147,7 @@ describe('reassignAgent', () => {
agent_id: agentInRegularDoc._id,
error: 'version conflict',
});
- expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject);
+ expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject);
});
});
});
diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts b/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts
index 7f6af525695cd..c6c3fc1622f20 100644
--- a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts
@@ -4,7 +4,7 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import { appContextService } from '../app_context';
import { createAppContextStartContractMock } from '../../mocks';
@@ -33,7 +33,7 @@ describe('requestDiagnostics', () => {
expect(esClient.create).toHaveBeenCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
agents: ['agent-in-regular-policy'],
type: 'REQUEST_DIAGNOSTICS',
expiration: expect.anything(),
@@ -53,7 +53,7 @@ describe('requestDiagnostics', () => {
expect(esClient.create).toHaveBeenCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
agents: ['agent-in-regular-policy-newer', 'agent-in-regular-policy-newer2'],
type: 'REQUEST_DIAGNOSTICS',
expiration: expect.anything(),
@@ -70,7 +70,7 @@ describe('requestDiagnostics', () => {
expect(esClient.create).toHaveBeenCalledWith(
expect.objectContaining({
- body: expect.objectContaining({
+ document: expect.objectContaining({
agents: ['agent-in-regular-policy-newer', 'agent-in-regular-policy'],
type: 'REQUEST_DIAGNOSTICS',
expiration: expect.anything(),
@@ -80,14 +80,14 @@ describe('requestDiagnostics', () => {
);
const calledWithActionResults = esClient.bulk.mock.calls[0][0] as estypes.BulkRequest;
// bulk write two line per create
- expect(calledWithActionResults.body?.length).toBe(2);
+ expect(calledWithActionResults.operations?.length).toBe(2);
const expectedObject = expect.objectContaining({
'@timestamp': expect.anything(),
action_id: expect.anything(),
agent_id: 'agent-in-regular-policy',
error: 'Agent agent-in-regular-policy does not support request diagnostics action.',
});
- expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject);
+ expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject);
});
});
});
diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts b/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts
index b43c600a09a5d..222d49ae44eed 100644
--- a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts
@@ -4,7 +4,7 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import { AGENT_ACTIONS_INDEX, AGENT_ACTIONS_RESULTS_INDEX } from '../../../common';
@@ -48,9 +48,7 @@ describe('unenroll', () => {
expect(esClient.update).toBeCalledTimes(1);
const calledWith = esClient.update.mock.calls[0];
expect(calledWith[0]?.id).toBe(agentInRegularDoc._id);
- expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty(
- 'doc.unenrollment_started_at'
- );
+ expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrollment_started_at');
});
it('cannot unenroll from hosted agent policy by default', async () => {
@@ -78,9 +76,7 @@ describe('unenroll', () => {
expect(esClient.update).toBeCalledTimes(1);
const calledWith = esClient.update.mock.calls[0];
expect(calledWith[0]?.id).toBe(agentInHostedDoc._id);
- expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty(
- 'doc.unenrollment_started_at'
- );
+ expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrollment_started_at');
});
it('can unenroll from hosted agent policy with force=true and revoke=true', async () => {
@@ -90,7 +86,7 @@ describe('unenroll', () => {
expect(esClient.update).toBeCalledTimes(1);
const calledWith = esClient.update.mock.calls[0];
expect(calledWith[0]?.id).toBe(agentInHostedDoc._id);
- expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty('doc.unenrolled_at');
+ expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrolled_at');
});
});
@@ -102,10 +98,10 @@ describe('unenroll', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(idsToUnenroll);
@@ -123,10 +119,10 @@ describe('unenroll', () => {
// calls ES update with correct values
const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id];
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(onlyRegular);
@@ -137,7 +133,7 @@ describe('unenroll', () => {
// hosted policy is updated in action results with error
const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest;
// bulk write two line per create
- expect(calledWithActionResults.body?.length).toBe(2);
+ expect(calledWithActionResults.operations?.length).toBe(2);
const expectedObject = expect.objectContaining({
'@timestamp': expect.anything(),
action_id: expect.anything(),
@@ -145,7 +141,7 @@ describe('unenroll', () => {
error:
'Cannot unenroll agent-in-hosted-policy from a hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.',
});
- expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject);
+ expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject);
});
it('force unenroll updates in progress unenroll actions', async () => {
@@ -186,7 +182,8 @@ describe('unenroll', () => {
});
expect(esClient.bulk.mock.calls.length).toEqual(3);
- const bulkBody = (esClient.bulk.mock.calls[2][0] as estypes.BulkRequest)?.body?.[1] as any;
+ const bulkBody = (esClient.bulk.mock.calls[2][0] as estypes.BulkRequest)
+ ?.operations?.[1] as any;
expect(bulkBody.agent_id).toEqual(agentInRegularDoc._id);
expect(bulkBody.action_id).toEqual('other-action');
});
@@ -248,10 +245,10 @@ describe('unenroll', () => {
// calls ES update with correct values
const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id];
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(onlyRegular);
@@ -260,19 +257,19 @@ describe('unenroll', () => {
}
const errorResults = esClient.bulk.mock.calls[2][0];
- const errorIds = (errorResults as estypes.BulkRequest)?.body
+ const errorIds = (errorResults as estypes.BulkRequest)?.operations
?.filter((i: any) => i.agent_id)
.map((i: any) => i.agent_id);
expect(errorIds).toEqual([agentInHostedDoc._id]);
const actionResults = esClient.bulk.mock.calls[1][0];
- const resultIds = (actionResults as estypes.BulkRequest)?.body
+ const resultIds = (actionResults as estypes.BulkRequest)?.operations
?.filter((i: any) => i.agent_id)
.map((i: any) => i.agent_id);
expect(resultIds).toEqual(onlyRegular);
const action = esClient.create.mock.calls[0][0] as any;
- expect(action.body.type).toEqual('FORCE_UNENROLL');
+ expect(action.document.type).toEqual('FORCE_UNENROLL');
});
it('can unenroll from hosted agent policy with force=true', async () => {
@@ -283,10 +280,10 @@ describe('unenroll', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(idsToUnenroll);
@@ -311,10 +308,10 @@ describe('unenroll', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(idsToUnenroll);
@@ -323,13 +320,13 @@ describe('unenroll', () => {
}
const actionResults = esClient.bulk.mock.calls[1][0];
- const resultIds = (actionResults as estypes.BulkRequest)?.body
+ const resultIds = (actionResults as estypes.BulkRequest)?.operations
?.filter((i: any) => i.agent_id)
.map((i: any) => i.agent_id);
expect(resultIds).toEqual(idsToUnenroll);
const action = esClient.create.mock.calls[0][0] as any;
- expect(action.body.type).toEqual('FORCE_UNENROLL');
+ expect(action.document.type).toEqual('FORCE_UNENROLL');
});
});
diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts b/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts
index cd408d953e31a..6a2410dfa3c16 100644
--- a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts
@@ -112,7 +112,7 @@ describe('update_agent_tags', () => {
await updateAgentTags(soClient, esClient, { agentIds: ['agent1'] }, ['one'], []);
const agentAction = esClient.create.mock.calls[0][0] as any;
- expect(agentAction?.body).toEqual(
+ expect(agentAction?.document).toEqual(
expect.objectContaining({
action_id: expect.anything(),
agents: [expect.any(String)],
@@ -122,11 +122,11 @@ describe('update_agent_tags', () => {
);
const actionResults = esClient.bulk.mock.calls[0][0] as any;
- const agentIds = actionResults?.body
+ const agentIds = actionResults?.operations
?.filter((i: any) => i.agent_id)
.map((i: any) => i.agent_id);
expect(agentIds.length).toEqual(1);
- expect(actionResults.body[1].error).not.toBeDefined();
+ expect(actionResults.operations[1].error).not.toBeDefined();
});
it('should skip hosted agent from total when agentIds are passed', async () => {
@@ -144,7 +144,7 @@ describe('update_agent_tags', () => {
);
const agentAction = esClientMock.create.mock.calls[0][0] as any;
- expect(agentAction?.body).toEqual(
+ expect(agentAction?.document).toEqual(
expect.objectContaining({
action_id: expect.anything(),
agents: [expect.any(String)],
@@ -165,7 +165,7 @@ describe('update_agent_tags', () => {
await updateAgentTags(soClient, esClient, { agentIds: ['agent1'] }, ['one'], []);
const agentAction = esClient.create.mock.calls[0][0] as any;
- expect(agentAction?.body).toEqual(
+ expect(agentAction?.document).toEqual(
expect.objectContaining({
action_id: expect.anything(),
agents: ['failure1'],
@@ -175,7 +175,7 @@ describe('update_agent_tags', () => {
);
const errorResults = esClient.bulk.mock.calls[0][0] as any;
- expect(errorResults.body[1].error).toEqual('error reason');
+ expect(errorResults.operations[1].error).toEqual('error reason');
});
it('should throw error on version conflicts', async () => {
@@ -217,10 +217,10 @@ describe('update_agent_tags', () => {
).rejects.toThrowError('Version conflict of 100 agents');
const agentAction = esClient.create.mock.calls[0][0] as any;
- expect(agentAction?.body.agents.length).toEqual(100);
+ expect(agentAction?.document.agents.length).toEqual(100);
const errorResults = esClient.bulk.mock.calls[0][0] as any;
- expect(errorResults.body[1].error).toEqual('version conflict on last retry');
+ expect(errorResults.operations[1].error).toEqual('version conflict on last retry');
});
it('should combine action agents from updated, failures and version conflicts on last retry', async () => {
@@ -249,7 +249,7 @@ describe('update_agent_tags', () => {
).rejects.toThrowError('Version conflict of 1 agents');
const agentAction = esClient.create.mock.calls[0][0] as any;
- expect(agentAction?.body.agents.length).toEqual(3);
+ expect(agentAction?.document.agents.length).toEqual(3);
});
it('should run add tags async when actioning more agents than batch size', async () => {
@@ -367,7 +367,7 @@ describe('update_agent_tags', () => {
);
const agentAction = esClient.create.mock.calls[0][0] as any;
- expect(agentAction?.body).toEqual(
+ expect(agentAction?.document).toEqual(
expect.objectContaining({
action_id: expect.anything(),
agents: [expect.any(String)],
diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts b/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts
index 7dbfaf86bd272..f39f557076283 100644
--- a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts
+++ b/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts
@@ -5,7 +5,7 @@
* 2.0.
*/
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import { appContextService } from '../app_context';
import type { Agent } from '../../types';
@@ -58,10 +58,10 @@ describe('sendUpgradeAgentsActions (plural)', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
@@ -80,10 +80,10 @@ describe('sendUpgradeAgentsActions (plural)', () => {
// calls ES update with correct values
const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id];
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(onlyRegular);
@@ -95,7 +95,7 @@ describe('sendUpgradeAgentsActions (plural)', () => {
// hosted policy is updated in action results with error
const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest;
// bulk write two line per create
- expect(calledWithActionResults.body?.length).toBe(2);
+ expect(calledWithActionResults.operations?.length).toBe(2);
const expectedObject = expect.objectContaining({
'@timestamp': expect.anything(),
action_id: expect.anything(),
@@ -103,7 +103,7 @@ describe('sendUpgradeAgentsActions (plural)', () => {
error:
'Cannot upgrade agent in hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.',
});
- expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject);
+ expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject);
});
it('can upgrade from hosted agent policy with force=true', async () => {
@@ -118,10 +118,10 @@ describe('sendUpgradeAgentsActions (plural)', () => {
// calls ES update with correct values
const calledWith = esClient.bulk.mock.calls[0][0];
- const ids = (calledWith as estypes.BulkRequest)?.body
+ const ids = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.update !== undefined)
.map((i: any) => i.update._id);
- const docs = (calledWith as estypes.BulkRequest)?.body
+ const docs = (calledWith as estypes.BulkRequest)?.operations
?.filter((i: any) => i.doc)
.map((i: any) => i.doc);
expect(ids).toEqual(idsToAction);
diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts
index 766d03f6a776c..512a6661d80d5 100644
--- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts
+++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts
@@ -7,7 +7,7 @@
import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server';
-import type { IndicesIndexSettings } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { IndicesIndexSettings } from '@elastic/elasticsearch/lib/api/types';
import { appContextService } from '../../..';
diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts
index 93695c68add0a..68da3857a5cff 100644
--- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts
+++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts
@@ -10,7 +10,7 @@ import type {
IndicesIndexSettings,
MappingDynamicTemplate,
MappingTypeMapping,
-} from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+} from '@elastic/elasticsearch/lib/api/types';
import pMap from 'p-map';
import { isResponseError } from '@kbn/es-errors';
diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts
index 6a34beb371082..2b5102eb2f481 100644
--- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts
+++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts
@@ -4,7 +4,7 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
-import type { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/types';
import { USER_SETTINGS_TEMPLATE_SUFFIX } from '../../../../constants';
diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts
index 8d53a952608fa..03975fbb13aa4 100644
--- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts
+++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts
@@ -12,7 +12,7 @@ import type { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-ser
import { sortBy, uniqBy } from 'lodash';
import pMap from 'p-map';
import { isPopulatedObject } from '@kbn/ml-is-populated-object';
-import type { ErrorResponseBase } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { ErrorResponseBase } from '@elastic/elasticsearch/lib/api/types';
import type { SecondaryAuthorizationHeader } from '../../../../../common/types/models/transform_api_key';
import { updateEsAssetReferences } from '../../packages/es_assets_reference';
diff --git a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts b/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts
index a33f936a613f4..0f766062ab20e 100644
--- a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts
+++ b/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts
@@ -5,10 +5,7 @@
* 2.0.
*/
-import type {
- MappingProperty,
- PropertyName,
-} from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type { MappingProperty, PropertyName } from '@elastic/elasticsearch/lib/api/types';
import type { ExperimentalDataStreamFeature } from '../../common/types';
diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.ts b/x-pack/plugins/fleet/server/services/files/client_from_host.ts
index 814d342ddd993..4781f9467fb77 100644
--- a/x-pack/plugins/fleet/server/services/files/client_from_host.ts
+++ b/x-pack/plugins/fleet/server/services/files/client_from_host.ts
@@ -9,7 +9,7 @@ import type { Readable } from 'stream';
import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server';
import type { Logger } from '@kbn/core/server';
-import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+import type * as estypes from '@elastic/elasticsearch/lib/api/types';
import type { FileClient } from '@kbn/files-plugin/server';
import { createEsFileClient } from '@kbn/files-plugin/server';
diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts b/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts
index 1f58fcafd396b..275dcfc3a281d 100644
--- a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts
+++ b/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts
@@ -28,7 +28,7 @@ import { asyncForEach, asyncMap } from '@kbn/std';
import type {
AggregationsTermsInclude,
AggregationsTermsExclude,
-} from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
+} from '@elastic/elasticsearch/lib/api/types';
import { isResponseError } from '@kbn/es-errors';
import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common';
import { DEFAULT_NAMESPACE_STRING } from '@kbn/core-saved-objects-utils-server';
From 65a75ffcb733306cddaf0955e00f6273c9051f73 Mon Sep 17 00:00:00 2001
From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Date: Fri, 20 Dec 2024 07:24:23 +1100
Subject: [PATCH 47/59] Unauthorized route migration for routes owned by
kibana-presentation (#198329)
Migrates unauthorized routes owned by the Presentation team to a new security configuration.
---
.../options_list_cluster_settings_route.ts | 7 ++++
.../options_list_suggestions_route.ts | 7 ++++
.../server/routes/custom_elements/create.ts | 7 ++++
.../server/routes/custom_elements/delete.ts | 7 ++++
.../server/routes/custom_elements/find.ts | 7 ++++
.../server/routes/custom_elements/get.ts | 7 ++++
.../server/routes/custom_elements/update.ts | 7 ++++
.../server/routes/functions/functions.ts | 34 +++++++++++++----
.../server/routes/shareables/download.ts | 37 +++++++++++++------
.../canvas/server/routes/shareables/zip.ts | 12 +++++-
.../canvas/server/routes/templates/list.ts | 7 ++++
.../canvas/server/routes/workpad/create.ts | 7 ++++
.../canvas/server/routes/workpad/delete.ts | 7 ++++
.../canvas/server/routes/workpad/find.ts | 7 ++++
.../canvas/server/routes/workpad/get.ts | 7 ++++
.../canvas/server/routes/workpad/import.ts | 7 ++++
.../canvas/server/routes/workpad/resolve.ts | 7 ++++
.../canvas/server/routes/workpad/update.ts | 21 +++++++++++
.../server/data_indexing/indexing_routes.ts | 35 ++++++++++++++++++
x-pack/plugins/maps/server/mvt/mvt_routes.ts | 14 +++++++
x-pack/plugins/maps/server/routes.ts | 14 +++++++
21 files changed, 245 insertions(+), 20 deletions(-)
diff --git a/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts b/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts
index 04b0aaa3e6f78..c04a8e9244785 100644
--- a/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts
+++ b/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts
@@ -20,6 +20,13 @@ export const setupOptionsListClusterSettingsRoute = ({ http }: CoreSetup) => {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because it does not take a query, params, or a body, so there is no chance of leaking info.',
+ },
+ },
validate: false,
},
async (context, _, response) => {
diff --git a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts b/src/plugins/controls/server/options_list/options_list_suggestions_route.ts
index 15dd66c5586dc..63176c31b3b7f 100644
--- a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts
+++ b/src/plugins/controls/server/options_list/options_list_suggestions_route.ts
@@ -33,6 +33,13 @@ export const setupOptionsListSuggestionsRoute = (
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
params: schema.object(
diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts b/x-pack/plugins/canvas/server/routes/custom_elements/create.ts
index e0ea4be8d35f1..d4ea0557048bb 100644
--- a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts
+++ b/x-pack/plugins/canvas/server/routes/custom_elements/create.ts
@@ -29,6 +29,13 @@ export function initializeCreateCustomElementRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: { body: CustomElementSchema },
},
diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts b/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts
index 94ea9cda5e367..328812ec32a5d 100644
--- a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts
+++ b/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts
@@ -22,6 +22,13 @@ export function initializeDeleteCustomElementRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts b/x-pack/plugins/canvas/server/routes/custom_elements/find.ts
index a45eb217cd9cb..5d2b0ba1be12d 100644
--- a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts
+++ b/x-pack/plugins/canvas/server/routes/custom_elements/find.ts
@@ -20,6 +20,13 @@ export function initializeFindCustomElementsRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
query: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts b/x-pack/plugins/canvas/server/routes/custom_elements/get.ts
index 4775d4cb497fb..a6f6a0ffe64bb 100644
--- a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts
+++ b/x-pack/plugins/canvas/server/routes/custom_elements/get.ts
@@ -21,6 +21,13 @@ export function initializeGetCustomElementRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts b/x-pack/plugins/canvas/server/routes/custom_elements/update.ts
index eee18fb1e9a07..905e6aa3efed5 100644
--- a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts
+++ b/x-pack/plugins/canvas/server/routes/custom_elements/update.ts
@@ -30,6 +30,13 @@ export function initializeUpdateCustomElementRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.ts b/x-pack/plugins/canvas/server/routes/functions/functions.ts
index 3a8ff207fa000..70017862ea50f 100644
--- a/x-pack/plugins/canvas/server/routes/functions/functions.ts
+++ b/x-pack/plugins/canvas/server/routes/functions/functions.ts
@@ -23,13 +23,26 @@ export function initializeGetFunctionsRoute(deps: RouteInitializerDeps) {
path: API_ROUTE_FUNCTIONS,
access: 'internal',
})
- .addVersion({ version: '1', validate: false }, async (context, request, response) => {
- const functions = expressions.getFunctions('canvas');
- const body = JSON.stringify(functions);
- return response.ok({
- body,
- });
- });
+ .addVersion(
+ {
+ version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because it only provides non-sensitive information about functions available to Canvas.',
+ },
+ },
+ validate: false,
+ },
+ async (context, request, response) => {
+ const functions = expressions.getFunctions('canvas');
+ const body = JSON.stringify(functions);
+ return response.ok({
+ body,
+ });
+ }
+ );
}
export function initializeBatchFunctionsRoute(deps: RouteInitializerDeps) {
@@ -42,6 +55,13 @@ export function initializeBatchFunctionsRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because data source expressions that perform search operations use the Kibana search client which handles permission checking.',
+ },
+ },
validate: {
request: {
body: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.ts b/x-pack/plugins/canvas/server/routes/shareables/download.ts
index 2d3b4af74855b..6ed41701d9602 100644
--- a/x-pack/plugins/canvas/server/routes/shareables/download.ts
+++ b/x-pack/plugins/canvas/server/routes/shareables/download.ts
@@ -18,16 +18,29 @@ export function initializeDownloadShareableWorkpadRoute(deps: RouteInitializerDe
path: API_ROUTE_SHAREABLE_RUNTIME_DOWNLOAD,
access: 'internal',
})
- .addVersion({ version: '1', validate: false }, async (_context, _request, response) => {
- // TODO: check if this is still an issue on cloud after migrating to NP
- //
- // The option setting is not for typical use. We're using it here to avoid
- // problems in Cloud environments. See elastic/kibana#47405.
- // const file = handler.file(SHAREABLE_RUNTIME_FILE, { confine: false });
- const file = readFileSync(SHAREABLE_RUNTIME_FILE);
- return response.ok({
- headers: { 'content-type': 'application/octet-stream' },
- body: file,
- });
- });
+ .addVersion(
+ {
+ version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because it is only serving static files.',
+ },
+ },
+ validate: false,
+ },
+ async (_context, _request, response) => {
+ // TODO: check if this is still an issue on cloud after migrating to NP
+ //
+ // The option setting is not for typical use. We're using it here to avoid
+ // problems in Cloud environments. See elastic/kibana#47405.
+ // const file = handler.file(SHAREABLE_RUNTIME_FILE, { confine: false });
+ const file = readFileSync(SHAREABLE_RUNTIME_FILE);
+ return response.ok({
+ headers: { 'content-type': 'application/octet-stream' },
+ body: file,
+ });
+ }
+ );
}
diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.ts b/x-pack/plugins/canvas/server/routes/shareables/zip.ts
index d476edb8ca4ac..34e1a9a01789f 100644
--- a/x-pack/plugins/canvas/server/routes/shareables/zip.ts
+++ b/x-pack/plugins/canvas/server/routes/shareables/zip.ts
@@ -24,7 +24,17 @@ export function initializeZipShareableWorkpadRoute(deps: RouteInitializerDeps) {
access: 'internal',
})
.addVersion(
- { version: '1', validate: { request: { body: RenderedWorkpadSchema } } },
+ {
+ version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because it is only serving static files.',
+ },
+ },
+ validate: { request: { body: RenderedWorkpadSchema } },
+ },
async (_context, request, response) => {
const workpad = request.body;
const archive = archiver('zip');
diff --git a/x-pack/plugins/canvas/server/routes/templates/list.ts b/x-pack/plugins/canvas/server/routes/templates/list.ts
index e311ef3c8c24b..a6ec0d54f6425 100644
--- a/x-pack/plugins/canvas/server/routes/templates/list.ts
+++ b/x-pack/plugins/canvas/server/routes/templates/list.ts
@@ -21,6 +21,13 @@ export function initializeListTemplates(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: { params: schema.object({}) },
},
diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.ts b/x-pack/plugins/canvas/server/routes/workpad/create.ts
index c1e4f7e2f8353..79492c94e5882 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/create.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/create.ts
@@ -47,6 +47,13 @@ export function initializeCreateWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: { body: createRequestBodySchema },
},
diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.ts b/x-pack/plugins/canvas/server/routes/workpad/delete.ts
index d5abbbfed7a78..292e8e4b73080 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/delete.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/delete.ts
@@ -21,6 +21,13 @@ export function initializeDeleteWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.ts b/x-pack/plugins/canvas/server/routes/workpad/find.ts
index 1e993a347d89f..39258afadfabf 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/find.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/find.ts
@@ -20,6 +20,13 @@ export function initializeFindWorkpadsRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
query: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.ts b/x-pack/plugins/canvas/server/routes/workpad/get.ts
index 8ce7687627611..57d1bf3517ca5 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/get.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/get.ts
@@ -21,6 +21,13 @@ export function initializeGetWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/workpad/import.ts b/x-pack/plugins/canvas/server/routes/workpad/import.ts
index 5490d460f8834..5c3d82521ec4d 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/import.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/import.ts
@@ -30,6 +30,13 @@ export function initializeImportWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: { body: createRequestBodySchema },
},
diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts b/x-pack/plugins/canvas/server/routes/workpad/resolve.ts
index b6260e9e47694..9d0ea3139e043 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/resolve.ts
@@ -21,6 +21,13 @@ export function initializeResolveWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.ts b/x-pack/plugins/canvas/server/routes/workpad/update.ts
index ead5a097a6945..55be02a888bb1 100644
--- a/x-pack/plugins/canvas/server/routes/workpad/update.ts
+++ b/x-pack/plugins/canvas/server/routes/workpad/update.ts
@@ -38,6 +38,13 @@ export function initializeUpdateWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
@@ -71,6 +78,13 @@ export function initializeUpdateWorkpadRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
@@ -109,6 +123,13 @@ export function initializeUpdateWorkpadAssetsRoute(deps: RouteInitializerDeps) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because authorization is provided by saved objects client.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts b/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts
index e7cb10427a297..987fd23a13d4f 100644
--- a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts
+++ b/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts
@@ -46,6 +46,13 @@ export function initIndexingRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
body: schema.object({
@@ -98,6 +105,13 @@ export function initIndexingRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
body: schema.object({
@@ -134,6 +148,13 @@ export function initIndexingRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
params: schema.object({
@@ -196,6 +217,13 @@ export function initIndexingRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
query: schema.object({
@@ -223,6 +251,13 @@ export function initIndexingRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
query: schema.object({
diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.ts b/x-pack/plugins/maps/server/mvt/mvt_routes.ts
index f768eb93dd9a3..aa3f0c51f69ea 100644
--- a/x-pack/plugins/maps/server/mvt/mvt_routes.ts
+++ b/x-pack/plugins/maps/server/mvt/mvt_routes.ts
@@ -41,6 +41,13 @@ export function initMVTRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
params: schema.object({
@@ -117,6 +124,13 @@ export function initMVTRoutes({
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
params: schema.object({
diff --git a/x-pack/plugins/maps/server/routes.ts b/x-pack/plugins/maps/server/routes.ts
index 32f7a9e6c18ea..7bfa80dfe5bd4 100644
--- a/x-pack/plugins/maps/server/routes.ts
+++ b/x-pack/plugins/maps/server/routes.ts
@@ -27,6 +27,13 @@ export function initRoutes(coreSetup: CoreSetup, logger: Logger) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because it is only serving static files.',
+ },
+ },
validate: {
request: {
params: schema.object({
@@ -66,6 +73,13 @@ export function initRoutes(coreSetup: CoreSetup, logger: Logger) {
.addVersion(
{
version: '1',
+ security: {
+ authz: {
+ enabled: false,
+ reason:
+ 'This route is opted out from authorization because permissions will be checked by elasticsearch.',
+ },
+ },
validate: {
request: {
query: schema.object({
From d7280a1380d66107a6818b1b84358c1762c20bb9 Mon Sep 17 00:00:00 2001
From: Nick Peihl
Date: Thu, 19 Dec 2024 15:24:49 -0500
Subject: [PATCH 48/59] [Dashboards] Add getSerializedState method to Dashboard
API (#204140)
Adds a `getSerializedState` method to the Dashboard API.
---
src/plugins/dashboard/common/index.ts | 1 +
.../public/dashboard_api/get_dashboard_api.ts | 13 +-
.../get_serialized_state.test.ts | 170 ++++++++++++++++++
.../dashboard_api/get_serialized_state.ts | 150 ++++++++++++++++
.../public/dashboard_api/open_save_modal.tsx | 5 +-
.../dashboard/public/dashboard_api/types.ts | 5 +
.../dashboard_api/unified_search_manager.ts | 36 ++--
.../lib/save_dashboard_state.test.ts | 10 +-
.../lib/save_dashboard_state.ts | 168 ++---------------
.../types.ts | 8 +-
10 files changed, 396 insertions(+), 170 deletions(-)
create mode 100644 src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts
create mode 100644 src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts
diff --git a/src/plugins/dashboard/common/index.ts b/src/plugins/dashboard/common/index.ts
index be2cedf889e85..c8c988d5c461e 100644
--- a/src/plugins/dashboard/common/index.ts
+++ b/src/plugins/dashboard/common/index.ts
@@ -32,6 +32,7 @@ export { prefixReferencesFromPanel } from './dashboard_container/persistable_sta
export {
convertPanelsArrayToPanelMap,
convertPanelMapToPanelsArray,
+ generateNewPanelIds,
} from './lib/dashboard_panel_converters';
export const UI_SETTINGS = {
diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts
index 5fcb6522b0152..cf1dd0e949d4c 100644
--- a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts
+++ b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts
@@ -41,6 +41,7 @@ import { initializeSearchSessionManager } from './search_session_manager';
import { initializeViewModeManager } from './view_mode_manager';
import { UnsavedPanelState } from '../dashboard_container/types';
import { initializeTrackContentfulRender } from './track_contentful_render';
+import { getSerializedState } from './get_serialized_state';
export function getDashboardApi({
creationOptions,
@@ -110,9 +111,11 @@ export function getDashboardApi({
});
function getState() {
const { panels, references: panelReferences } = panelsManager.internalApi.getState();
+ const { state: unifiedSearchState, references: searchSourceReferences } =
+ unifiedSearchManager.internalApi.getState();
const dashboardState: DashboardState = {
...settingsManager.internalApi.getState(),
- ...unifiedSearchManager.internalApi.getState(),
+ ...unifiedSearchState,
panels,
viewMode: viewModeManager.api.viewMode.value,
};
@@ -130,6 +133,7 @@ export function getDashboardApi({
dashboardState,
controlGroupReferences,
panelReferences,
+ searchSourceReferences,
};
}
@@ -168,6 +172,7 @@ export function getDashboardApi({
unifiedSearchManager.internalApi.controlGroupReload$,
unifiedSearchManager.internalApi.panelsReload$
).pipe(debounceTime(0)),
+ getSerializedState: () => getSerializedState(getState()),
runInteractiveSave: async () => {
trackOverlayApi.clearOverlays();
const saveResult = await openSaveModal({
@@ -197,11 +202,13 @@ export function getDashboardApi({
},
runQuickSave: async () => {
if (isManaged) return;
- const { controlGroupReferences, dashboardState, panelReferences } = getState();
+ const { controlGroupReferences, dashboardState, panelReferences, searchSourceReferences } =
+ getState();
const saveResult = await getDashboardContentManagementService().saveDashboardState({
controlGroupReferences,
- currentState: dashboardState,
+ dashboardState,
panelReferences,
+ searchSourceReferences,
saveOptions: {},
lastSavedId: savedObjectId$.value,
});
diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts b/src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts
new file mode 100644
index 0000000000000..9cae8584e7f44
--- /dev/null
+++ b/src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts
@@ -0,0 +1,170 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import type { DashboardPanelState } from '../../common';
+
+import {
+ dataService,
+ embeddableService,
+ savedObjectsTaggingService,
+} from '../services/kibana_services';
+import { getSampleDashboardState } from '../mocks';
+import { getSerializedState } from './get_serialized_state';
+
+dataService.search.searchSource.create = jest.fn().mockResolvedValue({
+ setField: jest.fn(),
+ getSerializedFields: jest.fn().mockReturnValue({}),
+});
+
+dataService.query.timefilter.timefilter.getTime = jest
+ .fn()
+ .mockReturnValue({ from: 'now-15m', to: 'now' });
+
+dataService.query.timefilter.timefilter.getRefreshInterval = jest
+ .fn()
+ .mockReturnValue({ pause: true, value: 0 });
+
+embeddableService.extract = jest
+ .fn()
+ .mockImplementation((attributes) => ({ state: attributes, references: [] }));
+
+if (savedObjectsTaggingService) {
+ savedObjectsTaggingService.getTaggingApi = jest.fn().mockReturnValue({
+ ui: {
+ updateTagsReferences: jest.fn((references, tags) => references),
+ },
+ });
+}
+
+jest.mock('uuid', () => ({
+ v4: jest.fn().mockReturnValue('54321'),
+}));
+
+describe('getSerializedState', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('should return the current state attributes and references', () => {
+ const dashboardState = getSampleDashboardState();
+ const result = getSerializedState({
+ controlGroupReferences: [],
+ generateNewIds: false,
+ dashboardState,
+ panelReferences: [],
+ searchSourceReferences: [],
+ });
+
+ expect(result.attributes).toMatchInlineSnapshot(`
+ Object {
+ "controlGroupInput": undefined,
+ "description": "",
+ "kibanaSavedObjectMeta": Object {
+ "searchSource": Object {
+ "filter": Array [],
+ "query": Object {
+ "language": "kuery",
+ "query": "hi",
+ },
+ },
+ },
+ "options": Object {
+ "hidePanelTitles": false,
+ "syncColors": false,
+ "syncCursor": true,
+ "syncTooltips": false,
+ "useMargins": true,
+ },
+ "panels": Array [],
+ "refreshInterval": undefined,
+ "timeFrom": undefined,
+ "timeRestore": false,
+ "timeTo": undefined,
+ "title": "My Dashboard",
+ "version": 3,
+ }
+ `);
+ expect(result.references).toEqual([]);
+ });
+
+ it('should generate new IDs for panels and references when generateNewIds is true', () => {
+ const dashboardState = {
+ ...getSampleDashboardState(),
+ panels: { oldPanelId: { type: 'visualization' } as unknown as DashboardPanelState },
+ };
+ const result = getSerializedState({
+ controlGroupReferences: [],
+ generateNewIds: true,
+ dashboardState,
+ panelReferences: [
+ {
+ name: 'oldPanelId:indexpattern_foobar',
+ type: 'index-pattern',
+ id: 'bizzbuzz',
+ },
+ ],
+ searchSourceReferences: [],
+ });
+
+ expect(result.attributes.panels).toMatchInlineSnapshot(`
+ Array [
+ Object {
+ "gridData": Object {
+ "i": "54321",
+ },
+ "panelConfig": Object {},
+ "panelIndex": "54321",
+ "type": "visualization",
+ "version": undefined,
+ },
+ ]
+ `);
+ expect(result.references).toMatchInlineSnapshot(`
+ Array [
+ Object {
+ "id": "bizzbuzz",
+ "name": "54321:indexpattern_foobar",
+ "type": "index-pattern",
+ },
+ ]
+ `);
+ });
+
+ it('should include control group references', () => {
+ const dashboardState = getSampleDashboardState();
+ const controlGroupReferences = [
+ { name: 'control1:indexpattern', type: 'index-pattern', id: 'foobar' },
+ ];
+ const result = getSerializedState({
+ controlGroupReferences,
+ generateNewIds: false,
+ dashboardState,
+ panelReferences: [],
+ searchSourceReferences: [],
+ });
+
+ expect(result.references).toEqual(controlGroupReferences);
+ });
+
+ it('should include panel references', () => {
+ const dashboardState = getSampleDashboardState();
+ const panelReferences = [
+ { name: 'panel1:boogiewoogie', type: 'index-pattern', id: 'fizzbuzz' },
+ ];
+ const result = getSerializedState({
+ controlGroupReferences: [],
+ generateNewIds: false,
+ dashboardState,
+ panelReferences,
+ searchSourceReferences: [],
+ });
+
+ expect(result.references).toEqual(panelReferences);
+ });
+});
diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts b/src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts
new file mode 100644
index 0000000000000..5c0377adf175d
--- /dev/null
+++ b/src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts
@@ -0,0 +1,150 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import { pick } from 'lodash';
+import moment, { Moment } from 'moment';
+import { RefreshInterval } from '@kbn/data-plugin/public';
+
+import type { Reference } from '@kbn/content-management-utils';
+import { convertPanelMapToPanelsArray, extractReferences, generateNewPanelIds } from '../../common';
+import type { DashboardAttributes } from '../../server';
+
+import { convertDashboardVersionToNumber } from '../services/dashboard_content_management_service/lib/dashboard_versioning';
+import {
+ dataService,
+ embeddableService,
+ savedObjectsTaggingService,
+} from '../services/kibana_services';
+import { LATEST_DASHBOARD_CONTAINER_VERSION } from '../dashboard_container';
+import { DashboardState } from './types';
+
+export const convertTimeToUTCString = (time?: string | Moment): undefined | string => {
+ if (moment(time).isValid()) {
+ return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]');
+ } else {
+ // If it's not a valid moment date, then it should be a string representing a relative time
+ // like 'now' or 'now-15m'.
+ return time as string;
+ }
+};
+
+export const getSerializedState = ({
+ controlGroupReferences,
+ generateNewIds,
+ dashboardState,
+ panelReferences,
+ searchSourceReferences,
+}: {
+ controlGroupReferences?: Reference[];
+ generateNewIds?: boolean;
+ dashboardState: DashboardState;
+ panelReferences?: Reference[];
+ searchSourceReferences?: Reference[];
+}) => {
+ const {
+ query: {
+ timefilter: { timefilter },
+ },
+ } = dataService;
+
+ const {
+ tags,
+ query,
+ title,
+ filters,
+ timeRestore,
+ description,
+
+ // Dashboard options
+ useMargins,
+ syncColors,
+ syncCursor,
+ syncTooltips,
+ hidePanelTitles,
+ controlGroupInput,
+ } = dashboardState;
+
+ let { panels } = dashboardState;
+ let prefixedPanelReferences = panelReferences;
+ if (generateNewIds) {
+ const { panels: newPanels, references: newPanelReferences } = generateNewPanelIds(
+ panels,
+ panelReferences
+ );
+ panels = newPanels;
+ prefixedPanelReferences = newPanelReferences;
+ //
+ // do not need to generate new ids for controls.
+ // ControlGroup Component is keyed on dashboard id so changing dashboard id mounts new ControlGroup Component.
+ //
+ }
+
+ const searchSource = { filter: filters, query };
+ const options = {
+ useMargins,
+ syncColors,
+ syncCursor,
+ syncTooltips,
+ hidePanelTitles,
+ };
+ const savedPanels = convertPanelMapToPanelsArray(panels, true);
+
+ /**
+ * Parse global time filter settings
+ */
+ const { from, to } = timefilter.getTime();
+ const timeFrom = timeRestore ? convertTimeToUTCString(from) : undefined;
+ const timeTo = timeRestore ? convertTimeToUTCString(to) : undefined;
+ const refreshInterval = timeRestore
+ ? (pick(timefilter.getRefreshInterval(), [
+ 'display',
+ 'pause',
+ 'section',
+ 'value',
+ ]) as RefreshInterval)
+ : undefined;
+
+ const rawDashboardAttributes: DashboardAttributes = {
+ version: convertDashboardVersionToNumber(LATEST_DASHBOARD_CONTAINER_VERSION),
+ controlGroupInput: controlGroupInput as DashboardAttributes['controlGroupInput'],
+ kibanaSavedObjectMeta: { searchSource },
+ description: description ?? '',
+ refreshInterval,
+ timeRestore,
+ options,
+ panels: savedPanels,
+ timeFrom,
+ title,
+ timeTo,
+ };
+
+ /**
+ * Extract references from raw attributes and tags into the references array.
+ */
+ const { attributes, references: dashboardReferences } = extractReferences(
+ {
+ attributes: rawDashboardAttributes,
+ references: searchSourceReferences ?? [],
+ },
+ { embeddablePersistableStateService: embeddableService }
+ );
+
+ const savedObjectsTaggingApi = savedObjectsTaggingService?.getTaggingApi();
+ const references = savedObjectsTaggingApi?.ui.updateTagsReferences
+ ? savedObjectsTaggingApi?.ui.updateTagsReferences(dashboardReferences, tags)
+ : dashboardReferences;
+
+ const allReferences = [
+ ...references,
+ ...(prefixedPanelReferences ?? []),
+ ...(controlGroupReferences ?? []),
+ ...(searchSourceReferences ?? []),
+ ];
+ return { attributes, references: allReferences };
+};
diff --git a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx b/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx
index e5b2676d7198f..567fd1dcf98f6 100644
--- a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx
+++ b/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx
@@ -32,6 +32,7 @@ export async function openSaveModal({
isManaged,
lastSavedId,
panelReferences,
+ searchSourceReferences,
viewMode,
}: {
controlGroupReferences?: Reference[];
@@ -39,6 +40,7 @@ export async function openSaveModal({
isManaged: boolean;
lastSavedId: string | undefined;
panelReferences: Reference[];
+ searchSourceReferences: Reference[];
viewMode: ViewMode;
}) {
if (viewMode === 'edit' && isManaged) {
@@ -101,8 +103,9 @@ export async function openSaveModal({
const saveResult = await dashboardContentManagementService.saveDashboardState({
controlGroupReferences,
panelReferences,
+ searchSourceReferences,
saveOptions,
- currentState: dashboardStateToSave,
+ dashboardState: dashboardStateToSave,
lastSavedId,
});
diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/plugins/dashboard/public/dashboard_api/types.ts
index 54b540d575695..73e7e9422641f 100644
--- a/src/plugins/dashboard/public/dashboard_api/types.ts
+++ b/src/plugins/dashboard/public/dashboard_api/types.ts
@@ -53,6 +53,7 @@ import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public';
import { PublishesReload } from '@kbn/presentation-publishing/interfaces/fetch/publishes_reload';
import { PublishesSearchSession } from '@kbn/presentation-publishing/interfaces/fetch/publishes_search_session';
import { LocatorPublic } from '@kbn/share-plugin/common';
+import type { SavedObjectReference } from '@kbn/core-saved-objects-api-server';
import { DashboardPanelMap, DashboardPanelState } from '../../common';
import type { DashboardAttributes, DashboardOptions } from '../../server/content_management';
import {
@@ -146,6 +147,10 @@ export type DashboardApi = CanExpandPanels &
focusedPanelId$: PublishingSubject;
forceRefresh: () => void;
getSettings: () => DashboardSettings;
+ getSerializedState: () => {
+ attributes: DashboardAttributes;
+ references: SavedObjectReference[];
+ };
getDashboardPanelFromId: (id: string) => DashboardPanelState;
hasOverlays$: PublishingSubject;
hasUnsavedChanges$: PublishingSubject;
diff --git a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts b/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts
index 9d39961778a91..acc6d0569d2db 100644
--- a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts
+++ b/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts
@@ -33,10 +33,12 @@ import fastIsEqual from 'fast-deep-equal';
import { PublishingSubject, StateComparators } from '@kbn/presentation-publishing';
import { ControlGroupApi } from '@kbn/controls-plugin/public';
import { cloneDeep } from 'lodash';
+import type { SavedObjectReference } from '@kbn/core-saved-objects-api-server';
import {
GlobalQueryStateFromUrl,
RefreshInterval,
connectToQueryState,
+ extractSearchSourceReferences,
syncGlobalQueryStateWithUrl,
} from '@kbn/data-plugin/public';
import moment, { Moment } from 'moment';
@@ -324,16 +326,30 @@ export function initializeUnifiedSearchManager(
setAndSyncTimeRange(lastSavedState.timeRange);
}
},
- getState: (): Pick<
- DashboardState,
- 'filters' | 'query' | 'refreshInterval' | 'timeRange' | 'timeRestore'
- > => ({
- filters: unifiedSearchFilters$.value ?? DEFAULT_DASHBOARD_INPUT.filters,
- query: query$.value ?? DEFAULT_DASHBOARD_INPUT.query,
- refreshInterval: refreshInterval$.value,
- timeRange: timeRange$.value,
- timeRestore: timeRestore$.value ?? DEFAULT_DASHBOARD_INPUT.timeRestore,
- }),
+ getState: (): {
+ state: Pick<
+ DashboardState,
+ 'filters' | 'query' | 'refreshInterval' | 'timeRange' | 'timeRestore'
+ >;
+ references: SavedObjectReference[];
+ } => {
+ // pinned filters are not serialized when saving the dashboard
+ const serializableFilters = unifiedSearchFilters$.value?.filter((f) => !isFilterPinned(f));
+ const [{ filter, query }, references] = extractSearchSourceReferences({
+ filter: serializableFilters,
+ query: query$.value,
+ });
+ return {
+ state: {
+ filters: filter ?? DEFAULT_DASHBOARD_INPUT.filters,
+ query: (query as Query) ?? DEFAULT_DASHBOARD_INPUT.query,
+ refreshInterval: refreshInterval$.value,
+ timeRange: timeRange$.value,
+ timeRestore: timeRestore$.value ?? DEFAULT_DASHBOARD_INPUT.timeRestore,
+ },
+ references,
+ };
+ },
},
cleanup: () => {
controlGroupSubscriptions.unsubscribe();
diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts
index a1b18aca3aca0..1bb1edaac96ac 100644
--- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts
+++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts
@@ -47,7 +47,7 @@ describe('Save dashboard state', () => {
it('should save the dashboard using the same ID', async () => {
const result = await saveDashboardState({
- currentState: {
+ dashboardState: {
...getSampleDashboardState(),
title: 'BOO',
} as unknown as DashboardContainerInput,
@@ -68,7 +68,7 @@ describe('Save dashboard state', () => {
it('should save the dashboard using a new id, and return redirect required', async () => {
const result = await saveDashboardState({
- currentState: {
+ dashboardState: {
...getSampleDashboardState(),
title: 'BooToo',
} as unknown as DashboardContainerInput,
@@ -92,7 +92,7 @@ describe('Save dashboard state', () => {
it('should generate new panel IDs for dashboard panels when save as copy is true', async () => {
const result = await saveDashboardState({
- currentState: {
+ dashboardState: {
...getSampleDashboardState(),
title: 'BooThree',
panels: { aVerySpecialVeryUniqueId: { type: 'boop' } },
@@ -118,7 +118,7 @@ describe('Save dashboard state', () => {
it('should update prefixes on references when save as copy is true', async () => {
const result = await saveDashboardState({
- currentState: {
+ dashboardState: {
...getSampleDashboardState(),
title: 'BooFour',
panels: { idOne: { type: 'boop' } },
@@ -146,7 +146,7 @@ describe('Save dashboard state', () => {
it('should return an error when the save fails.', async () => {
contentManagementService.client.create = jest.fn().mockRejectedValue('Whoops');
const result = await saveDashboardState({
- currentState: {
+ dashboardState: {
...getSampleDashboardState(),
title: 'BooThree',
panels: { idOne: { type: 'boop' } },
diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts
index 58492f51f4d36..5c14732ed939b 100644
--- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts
+++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts
@@ -7,169 +7,37 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import { pick } from 'lodash';
-import moment, { Moment } from 'moment';
-
-import { extractSearchSourceReferences, RefreshInterval } from '@kbn/data-plugin/public';
-import { isFilterPinned } from '@kbn/es-query';
-
-import type { SavedObjectReference } from '@kbn/core/server';
import { getDashboardContentManagementCache } from '..';
-import { convertPanelMapToPanelsArray, extractReferences } from '../../../../common';
import type {
- DashboardAttributes,
DashboardCreateIn,
DashboardCreateOut,
DashboardUpdateIn,
DashboardUpdateOut,
} from '../../../../server/content_management';
-import { generateNewPanelIds } from '../../../../common/lib/dashboard_panel_converters';
import { DASHBOARD_CONTENT_ID } from '../../../dashboard_constants';
-import { LATEST_DASHBOARD_CONTAINER_VERSION } from '../../../dashboard_container';
import { dashboardSaveToastStrings } from '../../../dashboard_container/_dashboard_container_strings';
import { getDashboardBackupService } from '../../dashboard_backup_service';
-import {
- contentManagementService,
- coreServices,
- dataService,
- embeddableService,
- savedObjectsTaggingService,
-} from '../../kibana_services';
-import { DashboardSearchSource, SaveDashboardProps, SaveDashboardReturn } from '../types';
-import { convertDashboardVersionToNumber } from './dashboard_versioning';
-
-export const convertTimeToUTCString = (time?: string | Moment): undefined | string => {
- if (moment(time).isValid()) {
- return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]');
- } else {
- // If it's not a valid moment date, then it should be a string representing a relative time
- // like 'now' or 'now-15m'.
- return time as string;
- }
-};
+import { contentManagementService, coreServices } from '../../kibana_services';
+import { SaveDashboardProps, SaveDashboardReturn } from '../types';
+import { getSerializedState } from '../../../dashboard_api/get_serialized_state';
export const saveDashboardState = async ({
controlGroupReferences,
lastSavedId,
saveOptions,
- currentState,
+ dashboardState,
panelReferences,
+ searchSourceReferences,
}: SaveDashboardProps): Promise => {
- const {
- search: dataSearchService,
- query: {
- timefilter: { timefilter },
- },
- } = dataService;
const dashboardContentManagementCache = getDashboardContentManagementCache();
- const {
- tags,
- query,
- title,
- filters,
- timeRestore,
- description,
-
- // Dashboard options
- useMargins,
- syncColors,
- syncCursor,
- syncTooltips,
- hidePanelTitles,
- controlGroupInput,
- } = currentState;
-
- let { panels } = currentState;
- let prefixedPanelReferences = panelReferences;
- if (saveOptions.saveAsCopy) {
- const { panels: newPanels, references: newPanelReferences } = generateNewPanelIds(
- panels,
- panelReferences
- );
- panels = newPanels;
- prefixedPanelReferences = newPanelReferences;
- //
- // do not need to generate new ids for controls.
- // ControlGroup Component is keyed on dashboard id so changing dashboard id mounts new ControlGroup Component.
- //
- }
-
- const { searchSource, searchSourceReferences } = await (async () => {
- const searchSourceFields = await dataSearchService.searchSource.create();
- searchSourceFields.setField(
- 'filter', // save only unpinned filters
- filters.filter((filter) => !isFilterPinned(filter))
- );
- searchSourceFields.setField('query', query);
-
- const rawSearchSourceFields = searchSourceFields.getSerializedFields();
- const [fields, references] = extractSearchSourceReferences(rawSearchSourceFields) as [
- DashboardSearchSource,
- SavedObjectReference[]
- ];
- return { searchSourceReferences: references, searchSource: fields };
- })();
-
- const options = {
- useMargins,
- syncColors,
- syncCursor,
- syncTooltips,
- hidePanelTitles,
- };
- const savedPanels = convertPanelMapToPanelsArray(panels, true);
-
- /**
- * Parse global time filter settings
- */
- const { from, to } = timefilter.getTime();
- const timeFrom = timeRestore ? convertTimeToUTCString(from) : undefined;
- const timeTo = timeRestore ? convertTimeToUTCString(to) : undefined;
- const refreshInterval = timeRestore
- ? (pick(timefilter.getRefreshInterval(), [
- 'display',
- 'pause',
- 'section',
- 'value',
- ]) as RefreshInterval)
- : undefined;
-
- const rawDashboardAttributes: DashboardAttributes = {
- version: convertDashboardVersionToNumber(LATEST_DASHBOARD_CONTAINER_VERSION),
- controlGroupInput: controlGroupInput as DashboardAttributes['controlGroupInput'],
- kibanaSavedObjectMeta: { searchSource },
- description: description ?? '',
- refreshInterval,
- timeRestore,
- options,
- panels: savedPanels,
- timeFrom,
- title,
- timeTo,
- };
-
- /**
- * Extract references from raw attributes and tags into the references array.
- */
- const { attributes, references: dashboardReferences } = extractReferences(
- {
- attributes: rawDashboardAttributes,
- references: searchSourceReferences,
- },
- { embeddablePersistableStateService: embeddableService }
- );
-
- const savedObjectsTaggingApi = savedObjectsTaggingService?.getTaggingApi();
- const references = savedObjectsTaggingApi?.ui.updateTagsReferences
- ? savedObjectsTaggingApi?.ui.updateTagsReferences(dashboardReferences, tags)
- : dashboardReferences;
-
- const allReferences = [
- ...references,
- ...(prefixedPanelReferences ?? []),
- ...(controlGroupReferences ?? []),
- ];
+ const { attributes, references } = getSerializedState({
+ controlGroupReferences,
+ generateNewIds: saveOptions.saveAsCopy,
+ dashboardState,
+ panelReferences,
+ searchSourceReferences,
+ });
/**
* Save the saved object using the content management
@@ -183,7 +51,7 @@ export const saveDashboardState = async ({
contentTypeId: DASHBOARD_CONTENT_ID,
data: attributes,
options: {
- references: allReferences,
+ references,
/** perform a "full" update instead, where the provided attributes will fully replace the existing ones */
mergeAttributes: false,
},
@@ -192,14 +60,14 @@ export const saveDashboardState = async ({
contentTypeId: DASHBOARD_CONTENT_ID,
data: attributes,
options: {
- references: allReferences,
+ references,
},
});
const newId = result.item.id;
if (newId) {
coreServices.notifications.toasts.addSuccess({
- title: dashboardSaveToastStrings.getSuccessString(currentState.title),
+ title: dashboardSaveToastStrings.getSuccessString(dashboardState.title),
className: 'eui-textBreakWord',
'data-test-subj': 'saveDashboardSuccess',
});
@@ -209,15 +77,15 @@ export const saveDashboardState = async ({
*/
if (newId !== lastSavedId) {
getDashboardBackupService().clearState(lastSavedId);
- return { redirectRequired: true, id: newId, references: allReferences };
+ return { redirectRequired: true, id: newId, references };
} else {
dashboardContentManagementCache.deleteDashboard(newId); // something changed in an existing dashboard, so delete it from the cache so that it can be re-fetched
}
}
- return { id: newId, references: allReferences };
+ return { id: newId, references };
} catch (error) {
coreServices.notifications.toasts.addDanger({
- title: dashboardSaveToastStrings.getFailureString(currentState.title, error.message),
+ title: dashboardSaveToastStrings.getFailureString(dashboardState.title, error.message),
'data-test-subj': 'saveDashboardFailure',
});
return { error };
diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts
index 3c0c37afc0cd6..0c22aa03010c2 100644
--- a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts
+++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts
@@ -81,12 +81,18 @@ export type SavedDashboardSaveOpts = SavedObjectSaveOpts & { saveAsCopy?: boolea
export interface SaveDashboardProps {
controlGroupReferences?: Reference[];
- currentState: DashboardState;
+ dashboardState: DashboardState;
saveOptions: SavedDashboardSaveOpts;
panelReferences?: Reference[];
+ searchSourceReferences?: Reference[];
lastSavedId?: string;
}
+export interface GetDashboardStateReturn {
+ attributes: DashboardAttributes;
+ references: Reference[];
+}
+
export interface SaveDashboardReturn {
id?: string;
error?: string;
From 9ad31d086379c1fea08d152a6613aa8afa564356 Mon Sep 17 00:00:00 2001
From: Lukas Olson
Date: Thu, 19 Dec 2024 14:51:58 -0700
Subject: [PATCH 49/59] Remove bfetch plugin (#204285)
## Summary
Part of https://github.com/elastic/kibana/issues/186139.
Relies on https://github.com/elastic/kibana/pull/204284.
Second step of breaking up https://github.com/elastic/kibana/pull/199066
into smaller pieces.
Removes the bfetch and bfetch-error plugins.
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
.github/CODEOWNERS | 4 -
.i18nrc.json | 2 -
docs/developer/plugin-list.asciidoc | 4 -
package.json | 2 -
packages/kbn-bfetch-error/BUILD.bazel | 35 -
packages/kbn-bfetch-error/README.md | 3 -
packages/kbn-bfetch-error/index.ts | 10 -
packages/kbn-bfetch-error/jest.config.js | 14 -
packages/kbn-bfetch-error/kibana.jsonc | 9 -
packages/kbn-bfetch-error/package.json | 6 -
packages/kbn-bfetch-error/src/bfetch_error.ts | 38 -
packages/kbn-bfetch-error/tsconfig.json | 21 -
packages/kbn-optimizer/limits.yml | 1 -
packages/kbn-search-errors/BUILD.bazel | 1 -
.../src/render_search_error.ts | 3 +-
packages/kbn-search-errors/tsconfig.json | 1 -
src/plugins/bfetch/README.md | 56 --
src/plugins/bfetch/common/batch.ts | 27 -
.../buffer/create_batched_function.test.ts | 65 --
.../common/buffer/create_batched_function.ts | 39 -
src/plugins/bfetch/common/buffer/index.ts | 10 -
src/plugins/bfetch/common/constants.ts | 12 -
src/plugins/bfetch/common/index.ts | 18 -
src/plugins/bfetch/common/streaming/index.ts | 10 -
src/plugins/bfetch/common/streaming/types.ts | 14 -
src/plugins/bfetch/common/types.ts | 10 -
src/plugins/bfetch/common/util/index.ts | 12 -
.../bfetch/common/util/normalize_error.ts | 36 -
.../bfetch/common/util/query_params.ts | 13 -
.../common/util/remove_leading_slash.ts | 10 -
src/plugins/bfetch/docs/browser/reference.md | 44 -
src/plugins/bfetch/docs/server/reference.md | 54 --
src/plugins/bfetch/jest.config.js | 17 -
src/plugins/bfetch/kibana.jsonc | 18 -
.../create_streaming_batched_function.test.ts | 756 ------------------
.../create_streaming_batched_function.ts | 170 ----
src/plugins/bfetch/public/batching/index.ts | 11 -
src/plugins/bfetch/public/batching/types.ts | 21 -
src/plugins/bfetch/public/index.ts | 22 -
src/plugins/bfetch/public/mocks.ts | 55 --
src/plugins/bfetch/public/plugin.ts | 116 ---
.../public/streaming/fetch_streaming.test.ts | 362 ---------
.../public/streaming/fetch_streaming.ts | 68 --
.../streaming/from_streaming_xhr.test.ts | 271 -------
.../public/streaming/from_streaming_xhr.ts | 74 --
src/plugins/bfetch/public/streaming/index.ts | 13 -
.../public/streaming/inflate_response.ts | 17 -
.../bfetch/public/streaming/split.test.ts | 61 --
src/plugins/bfetch/public/streaming/split.ts | 49 --
src/plugins/bfetch/public/test_helpers/xhr.ts | 69 --
src/plugins/bfetch/server/index.ts | 17 -
src/plugins/bfetch/server/mocks.ts | 52 --
src/plugins/bfetch/server/plugin.ts | 221 -----
.../streaming/create_compressed_stream.ts | 109 ---
.../server/streaming/create_ndjson_stream.ts | 40 -
.../bfetch/server/streaming/create_stream.ts | 25 -
src/plugins/bfetch/server/streaming/index.ts | 12 -
src/plugins/bfetch/server/ui_settings.ts | 56 --
src/plugins/bfetch/tsconfig.json | 21 -
src/plugins/data/kibana.jsonc | 3 +-
.../data/public/search/search_service.test.ts | 5 -
src/plugins/data/public/types.ts | 2 -
src/plugins/data/server/plugin.ts | 5 +-
.../data/server/search/search_service.test.ts | 4 -
.../data/server/search/search_service.ts | 4 +-
src/plugins/data/tsconfig.json | 1 -
tsconfig.base.json | 4 -
.../plugins/synthetics/kibana.jsonc | 1 -
.../plugins/synthetics/server/types.ts | 2 -
.../plugins/synthetics/tsconfig.json | 1 -
.../observability/plugins/uptime/kibana.jsonc | 1 -
.../lib/adapters/framework/adapter_types.ts | 2 -
.../plugins/uptime/tsconfig.json | 1 -
.../test/api_integration/apis/maps/bsearch.ts | 113 ---
.../test/api_integration/apis/maps/index.js | 2 +-
.../test/api_integration/apis/maps/search.ts | 84 ++
.../feature_controls/management_security.ts | 2 +-
x-pack/test/tsconfig.json | 1 -
yarn.lock | 8 -
79 files changed, 90 insertions(+), 3463 deletions(-)
delete mode 100644 packages/kbn-bfetch-error/BUILD.bazel
delete mode 100644 packages/kbn-bfetch-error/README.md
delete mode 100644 packages/kbn-bfetch-error/index.ts
delete mode 100644 packages/kbn-bfetch-error/jest.config.js
delete mode 100644 packages/kbn-bfetch-error/kibana.jsonc
delete mode 100644 packages/kbn-bfetch-error/package.json
delete mode 100644 packages/kbn-bfetch-error/src/bfetch_error.ts
delete mode 100644 packages/kbn-bfetch-error/tsconfig.json
delete mode 100644 src/plugins/bfetch/README.md
delete mode 100644 src/plugins/bfetch/common/batch.ts
delete mode 100644 src/plugins/bfetch/common/buffer/create_batched_function.test.ts
delete mode 100644 src/plugins/bfetch/common/buffer/create_batched_function.ts
delete mode 100644 src/plugins/bfetch/common/buffer/index.ts
delete mode 100644 src/plugins/bfetch/common/constants.ts
delete mode 100644 src/plugins/bfetch/common/index.ts
delete mode 100644 src/plugins/bfetch/common/streaming/index.ts
delete mode 100644 src/plugins/bfetch/common/streaming/types.ts
delete mode 100644 src/plugins/bfetch/common/types.ts
delete mode 100644 src/plugins/bfetch/common/util/index.ts
delete mode 100644 src/plugins/bfetch/common/util/normalize_error.ts
delete mode 100644 src/plugins/bfetch/common/util/query_params.ts
delete mode 100644 src/plugins/bfetch/common/util/remove_leading_slash.ts
delete mode 100644 src/plugins/bfetch/docs/browser/reference.md
delete mode 100644 src/plugins/bfetch/docs/server/reference.md
delete mode 100644 src/plugins/bfetch/jest.config.js
delete mode 100644 src/plugins/bfetch/kibana.jsonc
delete mode 100644 src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts
delete mode 100644 src/plugins/bfetch/public/batching/create_streaming_batched_function.ts
delete mode 100644 src/plugins/bfetch/public/batching/index.ts
delete mode 100644 src/plugins/bfetch/public/batching/types.ts
delete mode 100644 src/plugins/bfetch/public/index.ts
delete mode 100644 src/plugins/bfetch/public/mocks.ts
delete mode 100644 src/plugins/bfetch/public/plugin.ts
delete mode 100644 src/plugins/bfetch/public/streaming/fetch_streaming.test.ts
delete mode 100644 src/plugins/bfetch/public/streaming/fetch_streaming.ts
delete mode 100644 src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts
delete mode 100644 src/plugins/bfetch/public/streaming/from_streaming_xhr.ts
delete mode 100644 src/plugins/bfetch/public/streaming/index.ts
delete mode 100644 src/plugins/bfetch/public/streaming/inflate_response.ts
delete mode 100644 src/plugins/bfetch/public/streaming/split.test.ts
delete mode 100644 src/plugins/bfetch/public/streaming/split.ts
delete mode 100644 src/plugins/bfetch/public/test_helpers/xhr.ts
delete mode 100644 src/plugins/bfetch/server/index.ts
delete mode 100644 src/plugins/bfetch/server/mocks.ts
delete mode 100644 src/plugins/bfetch/server/plugin.ts
delete mode 100644 src/plugins/bfetch/server/streaming/create_compressed_stream.ts
delete mode 100644 src/plugins/bfetch/server/streaming/create_ndjson_stream.ts
delete mode 100644 src/plugins/bfetch/server/streaming/create_stream.ts
delete mode 100644 src/plugins/bfetch/server/streaming/index.ts
delete mode 100644 src/plugins/bfetch/server/ui_settings.ts
delete mode 100644 src/plugins/bfetch/tsconfig.json
delete mode 100644 x-pack/test/api_integration/apis/maps/bsearch.ts
create mode 100644 x-pack/test/api_integration/apis/maps/search.ts
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index c002421bf0e68..66d9654e561b4 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -289,7 +289,6 @@ packages/kbn-babel-preset @elastic/kibana-operations
packages/kbn-babel-register @elastic/kibana-operations
packages/kbn-babel-transform @elastic/kibana-operations
packages/kbn-bazel-runner @elastic/kibana-operations
-packages/kbn-bfetch-error @elastic/appex-sharedux
packages/kbn-calculate-auto @elastic/obs-ux-management-team
packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations
packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core
@@ -619,7 +618,6 @@ src/platform/plugins/shared/esql @elastic/kibana-esql
src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql
src/platform/plugins/shared/management @elastic/kibana-management
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
-src/plugins/bfetch @elastic/appex-sharedux
src/plugins/chart_expressions/common @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations
@@ -2911,7 +2909,6 @@ src/platform/packages/shared/kbn-analytics @elastic/kibana-core
src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows
-src/platform/packages/shared/kbn-bfetch-error @elastic/appex-sharedux
src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations
src/platform/packages/shared/kbn-cases-components @elastic/response-ops
src/platform/packages/shared/kbn-cbor @elastic/kibana-operations
@@ -3091,7 +3088,6 @@ src/platform/plugins/private/vis_types/vega @elastic/kibana-visualizations
src/platform/plugins/private/vis_types/vislib @elastic/kibana-visualizations
src/platform/plugins/private/vis_types/xy @elastic/kibana-visualizations
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
-src/platform/plugins/shared/bfetch @elastic/appex-sharedux
src/platform/plugins/shared/chart_expressions/expression_gauge @elastic/kibana-visualizations
src/platform/plugins/shared/chart_expressions/expression_heatmap @elastic/kibana-visualizations
src/platform/plugins/shared/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations
diff --git a/.i18nrc.json b/.i18nrc.json
index 0e167c2b08b54..aeab3c4a16d23 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -8,8 +8,6 @@
"apmOss": "src/plugins/apm_oss",
"autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src",
"avcBanner": "src/platform/packages/shared/kbn-avc-banner/src",
- "bfetch": "src/plugins/bfetch",
- "bfetchError": "packages/kbn-bfetch-error",
"cases": ["packages/kbn-cases-components"],
"cellActions": "src/platform/packages/shared/kbn-cell-actions",
"charts": "src/plugins/charts",
diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc
index c05f9514b2fc3..f97f4b4a20a04 100644
--- a/docs/developer/plugin-list.asciidoc
+++ b/docs/developer/plugin-list.asciidoc
@@ -32,10 +32,6 @@ as uiSettings within the code.
|The aiAssistantManagementSelection plugin manages the Ai Assistant management section.
-|{kib-repo}blob/{branch}/src/plugins/bfetch/README.md[bfetch]
-|bfetch allows to batch HTTP requests and streams responses back.
-
-
|{kib-repo}blob/{branch}/src/plugins/charts/README.md[charts]
|The Charts plugin is a way to create easier integration of shared colors, themes, types and other utilities across all Kibana charts and visualizations.
diff --git a/package.json b/package.json
index 29ffd5f72b927..e76a2c898559f 100644
--- a/package.json
+++ b/package.json
@@ -196,8 +196,6 @@
"@kbn/audit-log-plugin": "link:x-pack/test/security_api_integration/plugins/audit_log",
"@kbn/avc-banner": "link:src/platform/packages/shared/kbn-avc-banner",
"@kbn/banners-plugin": "link:x-pack/plugins/banners",
- "@kbn/bfetch-error": "link:packages/kbn-bfetch-error",
- "@kbn/bfetch-plugin": "link:src/plugins/bfetch",
"@kbn/calculate-auto": "link:packages/kbn-calculate-auto",
"@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count",
"@kbn/canvas-plugin": "link:x-pack/plugins/canvas",
diff --git a/packages/kbn-bfetch-error/BUILD.bazel b/packages/kbn-bfetch-error/BUILD.bazel
deleted file mode 100644
index 88cb5bbe5b9e8..0000000000000
--- a/packages/kbn-bfetch-error/BUILD.bazel
+++ /dev/null
@@ -1,35 +0,0 @@
-load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
-
-SRCS = glob(
- [
- "**/*.ts",
- "**/*.tsx",
- ],
- exclude = [
- "**/test_helpers.ts",
- "**/*.config.js",
- "**/*.mock.*",
- "**/*.test.*",
- "**/*.stories.*",
- "**/__snapshots__/**",
- "**/integration_tests/**",
- "**/mocks/**",
- "**/scripts/**",
- "**/storybook/**",
- "**/test_fixtures/**",
- "**/test_helpers/**",
- ],
-)
-
-BUNDLER_DEPS = [
- "//packages/kbn-i18n",
- "@npm//tslib",
-]
-
-js_library(
- name = "kbn-bfetch-error",
- package_name = "@kbn/bfetch-error",
- srcs = ["package.json"] + SRCS,
- deps = BUNDLER_DEPS,
- visibility = ["//visibility:public"],
-)
diff --git a/packages/kbn-bfetch-error/README.md b/packages/kbn-bfetch-error/README.md
deleted file mode 100644
index c44118eef53a6..0000000000000
--- a/packages/kbn-bfetch-error/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# @kbn/bfetch-error
-
-package isolating befetch error logic
diff --git a/packages/kbn-bfetch-error/index.ts b/packages/kbn-bfetch-error/index.ts
deleted file mode 100644
index c8a9f3c91c8ea..0000000000000
--- a/packages/kbn-bfetch-error/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export { BfetchRequestError } from './src/bfetch_error';
diff --git a/packages/kbn-bfetch-error/jest.config.js b/packages/kbn-bfetch-error/jest.config.js
deleted file mode 100644
index 88b5bf7b9adc8..0000000000000
--- a/packages/kbn-bfetch-error/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-bfetch-error'],
-};
diff --git a/packages/kbn-bfetch-error/kibana.jsonc b/packages/kbn-bfetch-error/kibana.jsonc
deleted file mode 100644
index c5f0f63bc8b13..0000000000000
--- a/packages/kbn-bfetch-error/kibana.jsonc
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "type": "shared-common",
- "id": "@kbn/bfetch-error",
- "owner": [
- "@elastic/appex-sharedux"
- ],
- "group": "platform",
- "visibility": "shared"
-}
\ No newline at end of file
diff --git a/packages/kbn-bfetch-error/package.json b/packages/kbn-bfetch-error/package.json
deleted file mode 100644
index 39e05c4e4be06..0000000000000
--- a/packages/kbn-bfetch-error/package.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "@kbn/bfetch-error",
- "private": true,
- "version": "1.0.0",
- "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0"
-}
\ No newline at end of file
diff --git a/packages/kbn-bfetch-error/src/bfetch_error.ts b/packages/kbn-bfetch-error/src/bfetch_error.ts
deleted file mode 100644
index 77c5325cdd289..0000000000000
--- a/packages/kbn-bfetch-error/src/bfetch_error.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { i18n } from '@kbn/i18n';
-
-/**
- * Error thrown when xhr request fails
- * @public
- */
-export class BfetchRequestError extends Error {
- /**
- * constructor
- * @param code - Xhr error code
- */
- constructor(code: number) {
- const message =
- code === 0
- ? i18n.translate('bfetchError.networkError', {
- defaultMessage: 'Check your network connection and try again.',
- })
- : i18n.translate('bfetchError.networkErrorWithStatus', {
- defaultMessage: 'Check your network connection and try again. Code {code}',
- values: { code },
- });
-
- super(message);
- this.name = 'BfetchRequestError';
- this.code = code;
- }
-
- code: number;
-}
diff --git a/packages/kbn-bfetch-error/tsconfig.json b/packages/kbn-bfetch-error/tsconfig.json
deleted file mode 100644
index c4703bc51cf6c..0000000000000
--- a/packages/kbn-bfetch-error/tsconfig.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "extends": "../../tsconfig.base.json",
- "compilerOptions": {
- "outDir": "target/types",
- "types": [
- "jest",
- "node",
- "react"
- ]
- },
- "include": [
- "**/*.ts",
- "**/*.tsx",
- ],
- "exclude": [
- "target/**/*"
- ],
- "kbn_references": [
- "@kbn/i18n",
- ]
-}
diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml
index 3152a02cd730f..85434fe0f2b21 100644
--- a/packages/kbn-optimizer/limits.yml
+++ b/packages/kbn-optimizer/limits.yml
@@ -7,7 +7,6 @@ pageLoadAssetSize:
apm: 64385
assetInventory: 18478
banners: 17946
- bfetch: 22837
canvas: 29355
cases: 180037
charts: 55000
diff --git a/packages/kbn-search-errors/BUILD.bazel b/packages/kbn-search-errors/BUILD.bazel
index b25a9f900f214..7f462f59a85b7 100644
--- a/packages/kbn-search-errors/BUILD.bazel
+++ b/packages/kbn-search-errors/BUILD.bazel
@@ -22,7 +22,6 @@ SRCS = glob(
)
BUNDLER_DEPS = [
- "//packages/kbn-bfetch-error",
"//packages/kbn-i18n",
"@npm//@elastic/elasticsearch",
"@npm//@elastic/eui",
diff --git a/packages/kbn-search-errors/src/render_search_error.ts b/packages/kbn-search-errors/src/render_search_error.ts
index 4cbf784c35e22..037af2bdb0ee0 100644
--- a/packages/kbn-search-errors/src/render_search_error.ts
+++ b/packages/kbn-search-errors/src/render_search_error.ts
@@ -9,7 +9,6 @@
import { i18n } from '@kbn/i18n';
import { ReactNode } from 'react';
-import { BfetchRequestError } from '@kbn/bfetch-error';
import { EsError } from './es_error';
export function renderSearchError(
@@ -25,7 +24,7 @@ export function renderSearchError(
};
}
- if (error.constructor.name === 'HttpFetchError' || error instanceof BfetchRequestError) {
+ if (error.constructor.name === 'HttpFetchError') {
const defaultMsg = i18n.translate('searchErrors.errors.fetchError', {
defaultMessage: 'Check your network connection and try again.',
});
diff --git a/packages/kbn-search-errors/tsconfig.json b/packages/kbn-search-errors/tsconfig.json
index d420899bfae32..28c8e52860da0 100644
--- a/packages/kbn-search-errors/tsconfig.json
+++ b/packages/kbn-search-errors/tsconfig.json
@@ -20,7 +20,6 @@
"@kbn/core",
"@kbn/kibana-utils-plugin",
"@kbn/data-views-plugin",
- "@kbn/bfetch-error",
"@kbn/search-types",
]
}
diff --git a/src/plugins/bfetch/README.md b/src/plugins/bfetch/README.md
deleted file mode 100644
index 9ed90a4de306e..0000000000000
--- a/src/plugins/bfetch/README.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# `bfetch` plugin
-
-`bfetch` allows to batch HTTP requests and streams responses back.
-
-
-# Example
-
-We will create a batch processing endpoint that receives a number then doubles it
-and streams it back. We will also consider the number to be time in milliseconds
-and before streaming the number back the server will wait for the specified number of
-milliseconds.
-
-To do that, first create server-side batch processing route using [`addBatchProcessingRoute`](./docs/server/reference.md#addBatchProcessingRoute).
-
-```ts
-plugins.bfetch.addBatchProcessingRoute<{ num: number }, { num: number }>(
- '/my-plugin/double',
- () => ({
- onBatchItem: async ({ num }) => {
- // Validate inputs.
- if (num < 0) throw new Error('Invalid number');
- // Wait number of specified milliseconds.
- await new Promise(r => setTimeout(r, num));
- // Double the number and send it back.
- return { num: 2 * num };
- },
- })
-);
-```
-
-Now on client-side create `double` function using [`batchedFunction`](./docs/browser/reference.md#batchedFunction).
-The newly created `double` function can be called many times and it
-will package individual calls into batches and send them to the server.
-
-```ts
-const double = plugins.bfetch.batchedFunction<{ num: number }, { num: number }>({
- url: '/my-plugin/double',
-});
-```
-
-Note: the created `double` must accept a single object argument (`{ num: number }` in this case)
-and it will return a promise that resolves into an object, too (also `{ num: number }` in this case).
-
-Use the `double` function.
-
-```ts
-double({ num: 1 }).then(console.log, console.error); // { num: 2 }
-double({ num: 2 }).then(console.log, console.error); // { num: 4 }
-double({ num: 3 }).then(console.log, console.error); // { num: 6 }
-```
-
-
-## Reference
-
-- [Browser](./docs/browser/reference.md)
-- [Server](./docs/server/reference.md)
diff --git a/src/plugins/bfetch/common/batch.ts b/src/plugins/bfetch/common/batch.ts
deleted file mode 100644
index cc66367b01ab0..0000000000000
--- a/src/plugins/bfetch/common/batch.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export interface ErrorLike {
- message: string;
-}
-
-export interface BatchRequestData- {
- batch: Item[];
-}
-
-export interface BatchResponseItem
{
- id: number;
- result?: Result;
- error?: Error;
-}
-
-export interface BatchItemWrapper {
- compressed: boolean;
- payload: string;
-}
diff --git a/src/plugins/bfetch/common/buffer/create_batched_function.test.ts b/src/plugins/bfetch/common/buffer/create_batched_function.test.ts
deleted file mode 100644
index 2953eaf967c94..0000000000000
--- a/src/plugins/bfetch/common/buffer/create_batched_function.test.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { createBatchedFunction } from './create_batched_function';
-
-describe('createBatchedFunction', () => {
- test('calls onCall every time fn is called, calls onBatch once flushOnMaxItems reached', async () => {
- const onBatch = jest.fn();
- const onCall = jest.fn(() => [1, 2] as any);
- const [fn] = createBatchedFunction({
- onBatch,
- onCall,
- flushOnMaxItems: 2,
- maxItemAge: 10,
- });
-
- expect(onCall).toHaveBeenCalledTimes(0);
- expect(onBatch).toHaveBeenCalledTimes(0);
-
- fn(123);
-
- expect(onCall).toHaveBeenCalledTimes(1);
- expect(onCall).toHaveBeenCalledWith(123);
- expect(onBatch).toHaveBeenCalledTimes(0);
-
- fn(456);
-
- expect(onCall).toHaveBeenCalledTimes(2);
- expect(onCall).toHaveBeenCalledWith(456);
- expect(onBatch).toHaveBeenCalledTimes(1);
- expect(onBatch).toHaveBeenCalledWith([2, 2]);
- });
-
- test('calls onBatch once timeout is reached', async () => {
- const onBatch = jest.fn();
- const onCall = jest.fn(() => [4, 3] as any);
- const [fn] = createBatchedFunction({
- onBatch,
- onCall,
- flushOnMaxItems: 2,
- maxItemAge: 10,
- });
-
- expect(onCall).toHaveBeenCalledTimes(0);
- expect(onBatch).toHaveBeenCalledTimes(0);
-
- fn(123);
-
- expect(onCall).toHaveBeenCalledTimes(1);
- expect(onCall).toHaveBeenCalledWith(123);
- expect(onBatch).toHaveBeenCalledTimes(0);
-
- await new Promise((r) => setTimeout(r, 15));
-
- expect(onCall).toHaveBeenCalledTimes(1);
- expect(onBatch).toHaveBeenCalledTimes(1);
- expect(onBatch).toHaveBeenCalledWith([3]);
- });
-});
diff --git a/src/plugins/bfetch/common/buffer/create_batched_function.ts b/src/plugins/bfetch/common/buffer/create_batched_function.ts
deleted file mode 100644
index b87d45050b3c9..0000000000000
--- a/src/plugins/bfetch/common/buffer/create_batched_function.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import type { ItemBufferParams, TimedItemBufferParams } from '@kbn/item-buffer';
-import { TimedItemBuffer } from '@kbn/item-buffer';
-
-type Fn = (...args: any) => any;
-
-export interface BatchedFunctionParams {
- onCall: (...args: Parameters) => [ReturnType, BatchEntry];
- onBatch: (items: BatchEntry[]) => void;
- flushOnMaxItems?: ItemBufferParams['flushOnMaxItems'];
- maxItemAge?: TimedItemBufferParams['maxItemAge'];
-}
-
-export const createBatchedFunction = (
- params: BatchedFunctionParams
-): [Func, TimedItemBuffer] => {
- const { onCall, onBatch, maxItemAge = 10, flushOnMaxItems = 25 } = params;
- const buffer = new TimedItemBuffer({
- onFlush: onBatch,
- maxItemAge,
- flushOnMaxItems,
- });
-
- const fn: Func = ((...args) => {
- const [result, batchEntry] = onCall(...args);
- buffer.write(batchEntry);
- return result;
- }) as Func;
-
- return [fn, buffer];
-};
diff --git a/src/plugins/bfetch/common/buffer/index.ts b/src/plugins/bfetch/common/buffer/index.ts
deleted file mode 100644
index 5ec864329f456..0000000000000
--- a/src/plugins/bfetch/common/buffer/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './create_batched_function';
diff --git a/src/plugins/bfetch/common/constants.ts b/src/plugins/bfetch/common/constants.ts
deleted file mode 100644
index 928eca32e1895..0000000000000
--- a/src/plugins/bfetch/common/constants.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export const DISABLE_BFETCH_COMPRESSION = 'bfetch:disableCompression';
-export const DISABLE_BFETCH = 'bfetch:disable';
-export const BFETCH_ROUTE_VERSION_LATEST = '1';
diff --git a/src/plugins/bfetch/common/index.ts b/src/plugins/bfetch/common/index.ts
deleted file mode 100644
index 40983f7c81374..0000000000000
--- a/src/plugins/bfetch/common/index.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export { normalizeError, removeLeadingSlash, appendQueryParam } from './util';
-export type { StreamingResponseHandler } from './streaming';
-export { type BatchedFunctionParams, createBatchedFunction } from './buffer';
-export type { ErrorLike, BatchRequestData, BatchResponseItem, BatchItemWrapper } from './batch';
-export {
- DISABLE_BFETCH_COMPRESSION,
- DISABLE_BFETCH,
- BFETCH_ROUTE_VERSION_LATEST,
-} from './constants';
diff --git a/src/plugins/bfetch/common/streaming/index.ts b/src/plugins/bfetch/common/streaming/index.ts
deleted file mode 100644
index 34d385a3f5d62..0000000000000
--- a/src/plugins/bfetch/common/streaming/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './types';
diff --git a/src/plugins/bfetch/common/streaming/types.ts b/src/plugins/bfetch/common/streaming/types.ts
deleted file mode 100644
index e25f04b17f73f..0000000000000
--- a/src/plugins/bfetch/common/streaming/types.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { Observable } from 'rxjs';
-
-export interface StreamingResponseHandler {
- getResponseStream(payload: Payload): Observable;
-}
diff --git a/src/plugins/bfetch/common/types.ts b/src/plugins/bfetch/common/types.ts
deleted file mode 100644
index 027d368e1ba94..0000000000000
--- a/src/plugins/bfetch/common/types.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './streaming/types';
diff --git a/src/plugins/bfetch/common/util/index.ts b/src/plugins/bfetch/common/util/index.ts
deleted file mode 100644
index 6be4ad79b6000..0000000000000
--- a/src/plugins/bfetch/common/util/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './normalize_error';
-export * from './remove_leading_slash';
-export * from './query_params';
diff --git a/src/plugins/bfetch/common/util/normalize_error.ts b/src/plugins/bfetch/common/util/normalize_error.ts
deleted file mode 100644
index 43e9c0958f909..0000000000000
--- a/src/plugins/bfetch/common/util/normalize_error.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { BfetchRequestError } from '@kbn/bfetch-error';
-import { ErrorLike } from '../batch';
-
-export const normalizeError = (err: any): E => {
- if (!err) {
- return {
- message: 'Unknown error.',
- } as E;
- }
- if (err instanceof BfetchRequestError) {
- // ignoring so we can return the error as is
- // @ts-expect-error
- return err;
- }
- if (err instanceof Error) {
- return { message: err.message } as E;
- }
- if (typeof err === 'object') {
- return {
- ...err,
- message: err.message || 'Unknown error.',
- } as E;
- }
- return {
- message: String(err),
- } as E;
-};
diff --git a/src/plugins/bfetch/common/util/query_params.ts b/src/plugins/bfetch/common/util/query_params.ts
deleted file mode 100644
index 6c5233ff7daa4..0000000000000
--- a/src/plugins/bfetch/common/util/query_params.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export const appendQueryParam = (url: string, key: string, value: string): string => {
- const separator = url.includes('?') ? '&' : '?';
- return `${url}${separator}${key}=${value}`;
-};
diff --git a/src/plugins/bfetch/common/util/remove_leading_slash.ts b/src/plugins/bfetch/common/util/remove_leading_slash.ts
deleted file mode 100644
index ad942541720ef..0000000000000
--- a/src/plugins/bfetch/common/util/remove_leading_slash.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export const removeLeadingSlash = (text: string) => (text[0] === '/' ? text.substr(1) : text);
diff --git a/src/plugins/bfetch/docs/browser/reference.md b/src/plugins/bfetch/docs/browser/reference.md
deleted file mode 100644
index 444b1aa08a98e..0000000000000
--- a/src/plugins/bfetch/docs/browser/reference.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# `bfetch` browser reference
-
-- [`batchedFunction`](#batchedFunction)
-- [`fetchStreaming`](#fetchStreaming)
-
-
-## `batchedFunction`
-
-Creates a function that will buffer its calls (until timeout—10ms default— or capacity reached—25 default)
-and send all calls in one batch to the specified endpoint. The endpoint is expected
-to stream results back in ND-JSON format using `Transfer-Encoding: chunked`, which is
-implemented by `addBatchProcessingRoute` server-side method of `bfetch` plugin.
-
-The created function is expected to be called with a single object argument and will
-return a promise that will resolve to an object.
-
-```ts
-const fn = bfetch.batchedFunction({ url: '/my-plugin/something' });
-
-const result = await fn({ foo: 'bar' });
-```
-
-Options:
-
-- `url` — URL endpoint that will receive a batch of requests. This endpoint is expected
- to receive batch as a serialized JSON array. It should stream responses back
- in ND-JSON format using `Transfer-Encoding: chunked` HTTP/1 streaming.
-- `fetchStreaming` — The instance of `fetchStreaming` function that will perform ND-JSON handling.
- There should be a version of this function available in setup contract of `bfetch` plugin.
-- `flushOnMaxItems` — The maximum size of function call buffer before sending the batch request.
-- `maxItemAge` — The maximum timeout in milliseconds of the oldest item in the batch
- before sending the batch request.
-
-
-## `fetchStreaming`
-
-Executes an HTTP request and expects that server streams back results using
-HTTP/1 `Transfer-Encoding: chunked`.
-
-```ts
-const { stream } = bfetch.fetchStreaming({ url: 'http://elastic.co' });
-
-stream.subscribe(value => {});
-```
diff --git a/src/plugins/bfetch/docs/server/reference.md b/src/plugins/bfetch/docs/server/reference.md
deleted file mode 100644
index 424532a50b817..0000000000000
--- a/src/plugins/bfetch/docs/server/reference.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# `bfetch` server reference
-
-- [`addBatchProcessingRoute`](#addBatchProcessingRoute)
-- [`addStreamingResponseRoute`](#addStreamingResponseRoute)
-
-
-## `addBatchProcessingRoute`
-
-Sets up a server endpoint that expects to work with [`batchedFunction`](../browser/reference.md#batchedFunction).
-The endpoint receives a batch of requests, processes each request and streams results
-back immediately as they become available. You only need to implement the
-processing of each request (`onBatchItem` function), everything else is handled.
-
-`onBatchItem` function is called for each individual request in the batch.
-`onBatchItem` function receives a single object argument which is the payload
-of one request; and it must return a promise that resolves to an object, too.
-`onBatchItem` function is allowed to throw, in that case the error will be forwarded
-to the browser only to the individual request, the rest of the batch will still continue
-executing.
-
-```ts
-plugins.bfetch.addBatchProcessingRoute(
- '/my-plugin/double',
- request => ({
- onBatchItem: async (payload) => {
- // ...
- return {};
- },
- })
-);
-```
-
-`request` is the `KibanaRequest` object. `addBatchProcessingRoute` together with `batchedFunction`
-ensure that errors are handled and that all items in the batch get executed.
-
-
-## `addStreamingResponseRoute`
-
-`addStreamingResponseRoute` is a lower-level interface that receives and `payload`
-message returns and observable which results are streamed back as ND-JSON messages
-until the observable completes. `addStreamingResponseRoute` does not know about the
-type of the messages, it does not handle errors, and it does not have a concept of
-batch size—observable can stream any number of messages until it completes.
-
-```ts
-plugins.bfetch.addStreamingResponseRoute('/my-plugin/foo', request => ({
- getResponseStream: (payload) => {
- const subject = new Subject();
- setTimeout(() => { subject.next('123'); }, 100);
- setTimeout(() => { subject.complete(); }, 200);
- return subject;
- },
-}));
-```
diff --git a/src/plugins/bfetch/jest.config.js b/src/plugins/bfetch/jest.config.js
deleted file mode 100644
index 1b98c6b39f043..0000000000000
--- a/src/plugins/bfetch/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/src/plugins/bfetch'],
- coverageDirectory: '/target/kibana-coverage/jest/src/plugins/bfetch',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/src/plugins/bfetch/{common,public,server}/**/*.{ts,tsx}'],
-};
diff --git a/src/plugins/bfetch/kibana.jsonc b/src/plugins/bfetch/kibana.jsonc
deleted file mode 100644
index 39a8866f3b79b..0000000000000
--- a/src/plugins/bfetch/kibana.jsonc
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "type": "plugin",
- "id": "@kbn/bfetch-plugin",
- "owner": [
- "@elastic/appex-sharedux"
- ],
- "group": "platform",
- "visibility": "shared",
- "description": "Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back.",
- "plugin": {
- "id": "bfetch",
- "browser": true,
- "server": true,
- "requiredBundles": [
- "kibanaUtils"
- ]
- }
-}
\ No newline at end of file
diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts
deleted file mode 100644
index 3a5aac0ea4ed5..0000000000000
--- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts
+++ /dev/null
@@ -1,756 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { createStreamingBatchedFunction } from './create_streaming_batched_function';
-import { fetchStreaming as fetchStreamingReal } from '../streaming/fetch_streaming';
-import { AbortError, defer, of } from '@kbn/kibana-utils-plugin/public';
-import { Subject } from 'rxjs';
-
-const flushPromises = () =>
- new Promise((resolve) => jest.requireActual('timers').setImmediate(resolve));
-
-const getPromiseState = (promise: Promise): Promise<'resolved' | 'rejected' | 'pending'> =>
- Promise.race<'resolved' | 'rejected' | 'pending'>([
- new Promise((resolve) =>
- promise.then(
- () => resolve('resolved'),
- () => resolve('rejected')
- )
- ),
- new Promise<'pending'>((resolve) => resolve('pending')).then(() => 'pending'),
- ]);
-
-const isPending = (promise: Promise): Promise =>
- getPromiseState(promise).then((state) => state === 'pending');
-
-const setup = () => {
- const xhr = {} as unknown as XMLHttpRequest;
- const { promise, resolve, reject } = defer();
- const stream = new Subject();
-
- const fetchStreaming = jest.fn(() => ({
- xhr,
- promise,
- stream,
- })) as unknown as jest.SpyInstance & typeof fetchStreamingReal;
-
- return {
- fetchStreaming,
- xhr,
- promise,
- resolve,
- reject,
- stream,
- };
-};
-
-describe('createStreamingBatchedFunction()', () => {
- beforeAll(() => {
- jest.useFakeTimers({ legacyFakeTimers: true });
- });
-
- afterAll(() => {
- jest.useRealTimers();
- });
- test('returns a function', () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- getIsCompressionDisabled: () => true,
- });
- expect(typeof fn).toBe('function');
- });
-
- test('returned function is async', () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- getIsCompressionDisabled: () => true,
- });
- const res = fn({});
- expect(typeof res.then).toBe('function');
- });
-
- describe('when timeout is reached', () => {
- test('dispatches batch', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- fn({ foo: 'bar' });
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- fn({ baz: 'quix' });
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- jest.advanceTimersByTime(6);
-
- expect(fetchStreaming).toHaveBeenCalledTimes(1);
- });
-
- test('does nothing is buffer is empty', async () => {
- const { fetchStreaming } = setup();
- createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- jest.advanceTimersByTime(6);
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- });
-
- test('sends POST request to correct endpoint', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- fn({ foo: 'bar' });
- jest.advanceTimersByTime(6);
-
- expect(fetchStreaming.mock.calls[0][0]).toMatchObject({
- url: '/test',
- method: 'POST',
- });
- });
-
- test('collects calls into an array batch ordered by in same order as calls', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- fn({ foo: 'bar' });
- fn({ baz: 'quix' });
-
- jest.advanceTimersByTime(6);
- const { body } = fetchStreaming.mock.calls[0][0];
- expect(JSON.parse(body)).toEqual({
- batch: [{ foo: 'bar' }, { baz: 'quix' }],
- });
- });
- });
-
- describe('when buffer becomes full', () => {
- test('dispatches batch request', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- fn({ foo: 'bar' });
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- fn({ baz: 'quix' });
- expect(fetchStreaming).toHaveBeenCalledTimes(0);
- fn({ full: 'yep' });
- expect(fetchStreaming).toHaveBeenCalledTimes(1);
- });
-
- test('ignores a request with an aborted signal', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const abortController = new AbortController();
- abortController.abort();
-
- of(fn({ foo: 'bar' }, abortController.signal));
- fn({ baz: 'quix' });
-
- jest.advanceTimersByTime(6);
- const { body } = fetchStreaming.mock.calls[0][0];
- expect(JSON.parse(body)).toEqual({
- batch: [{ baz: 'quix' }],
- });
- });
-
- test("doesn't send batch request if all items have been aborted", async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const abortController = new AbortController();
- abortController.abort();
-
- expect.assertions(3);
- const req1 = fn({ foo: 'bar' }, abortController.signal).catch((e) =>
- expect(e).toBeInstanceOf(AbortError)
- );
- const req2 = fn({ baz: 'quix' }, abortController.signal).catch((e) =>
- expect(e).toBeInstanceOf(AbortError)
- );
-
- jest.advanceTimersByTime(6);
- expect(fetchStreaming).not.toBeCalled();
-
- await Promise.all([req1, req2]);
- });
-
- test('sends POST request to correct endpoint with items in array batched sorted in call order', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- fn({ a: '1' });
- fn({ b: '2' });
- fn({ c: '3' });
-
- expect(fetchStreaming.mock.calls[0][0]).toMatchObject({
- url: '/test',
- method: 'POST',
- });
- const { body } = fetchStreaming.mock.calls[0][0];
- expect(JSON.parse(body)).toEqual({
- batch: [{ a: '1' }, { b: '2' }, { c: '3' }],
- });
- });
-
- test('dispatches batch on full buffer and also on timeout', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- fn({ a: '1' });
- fn({ b: '2' });
- fn({ c: '3' });
- expect(fetchStreaming).toHaveBeenCalledTimes(1);
- fn({ d: '4' });
- jest.advanceTimersByTime(6);
- expect(fetchStreaming).toHaveBeenCalledTimes(2);
- });
- });
-
- describe('when receiving results', () => {
- test('does not resolve call promises until request finishes', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = fn({ a: '1' });
- const promise2 = fn({ b: '2' });
- jest.advanceTimersByTime(6);
-
- expect(await isPending(promise1)).toBe(true);
- expect(await isPending(promise2)).toBe(true);
- });
-
- test('resolves only promise of result that was streamed back', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- await flushPromises();
-
- const promise1 = fn({ a: '1' });
- const promise2 = fn({ b: '2' });
- const promise3 = fn({ c: '3' });
- jest.advanceTimersByTime(6);
-
- expect(await isPending(promise1)).toBe(true);
- expect(await isPending(promise2)).toBe(true);
- expect(await isPending(promise3)).toBe(true);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { foo: 'bar' },
- }) + '\n'
- );
-
- expect(await isPending(promise1)).toBe(true);
- expect(await isPending(promise2)).toBe(false);
- expect(await isPending(promise3)).toBe(true);
-
- stream.next(
- JSON.stringify({
- id: 0,
- result: { foo: 'bar 2' },
- }) + '\n'
- );
-
- expect(await isPending(promise1)).toBe(false);
- expect(await isPending(promise2)).toBe(false);
- expect(await isPending(promise3)).toBe(true);
- });
-
- test('resolves each promise with correct data', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = fn({ a: '1' });
- const promise2 = fn({ b: '2' });
- const promise3 = fn({ c: '3' });
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { foo: 'bar' },
- }) + '\n'
- );
- stream.next(
- JSON.stringify({
- id: 2,
- result: { foo: 'bar 2' },
- }) + '\n'
- );
-
- expect(await isPending(promise1)).toBe(true);
- expect(await isPending(promise2)).toBe(false);
- expect(await isPending(promise3)).toBe(false);
- expect(await promise2).toEqual({ foo: 'bar' });
- expect(await promise3).toEqual({ foo: 'bar 2' });
- });
-
- test('compression is false by default', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- flushOnMaxItems: 1,
- fetchStreaming,
- });
-
- fn({ a: '1' });
-
- const dontCompress = await fetchStreaming.mock.calls[0][0].getIsCompressionDisabled();
- expect(dontCompress).toBe(false);
- });
-
- test('resolves falsy results', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = fn({ a: '1' });
- const promise2 = fn({ b: '2' });
- const promise3 = fn({ c: '3' });
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 0,
- result: false,
- }) + '\n'
- );
- stream.next(
- JSON.stringify({
- id: 1,
- result: 0,
- }) + '\n'
- );
- stream.next(
- JSON.stringify({
- id: 2,
- result: '',
- }) + '\n'
- );
-
- expect(await isPending(promise1)).toBe(false);
- expect(await isPending(promise2)).toBe(false);
- expect(await isPending(promise3)).toBe(false);
- expect(await promise1).toEqual(false);
- expect(await promise2).toEqual(0);
- expect(await promise3).toEqual('');
- });
-
- test('rejects promise on error response', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise = fn({ a: '1' });
- jest.advanceTimersByTime(6);
-
- expect(await isPending(promise)).toBe(true);
-
- stream.next(
- JSON.stringify({
- id: 0,
- error: { message: 'oops' },
- }) + '\n'
- );
-
- expect(await isPending(promise)).toBe(false);
- const [, error] = await of(promise);
- expect(error).toEqual({
- message: 'oops',
- });
- });
-
- test('resolves successful requests even after rejected ones', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
- const promise3 = of(fn({ a: '3' }));
-
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 2,
- result: { b: '3' },
- }) + '\n'
- );
-
- jest.advanceTimersByTime(1);
-
- stream.next(
- JSON.stringify({
- id: 1,
- error: { b: '2' },
- }) + '\n'
- );
-
- jest.advanceTimersByTime(1);
-
- stream.next(
- JSON.stringify({
- id: 0,
- result: { b: '1' },
- }) + '\n'
- );
-
- jest.advanceTimersByTime(1);
-
- const [result1] = await promise1;
- const [, error2] = await promise2;
- const [result3] = await promise3;
-
- expect(result1).toEqual({ b: '1' });
- expect(error2).toEqual({ b: '2' });
- expect(result3).toEqual({ b: '3' });
- });
-
- describe('when requests are aborted', () => {
- test('aborts stream when all are aborted', async () => {
- const { fetchStreaming } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const abortController = new AbortController();
- const promise = fn({ a: '1' }, abortController.signal);
- const promise2 = fn({ a: '2' }, abortController.signal);
- jest.advanceTimersByTime(6);
-
- expect(await isPending(promise)).toBe(true);
- expect(await isPending(promise2)).toBe(true);
-
- abortController.abort();
- jest.advanceTimersByTime(6);
- await flushPromises();
-
- expect(await isPending(promise)).toBe(false);
- expect(await isPending(promise2)).toBe(false);
- const [, error] = await of(promise);
- const [, error2] = await of(promise2);
- expect(error).toBeInstanceOf(AbortError);
- expect(error2).toBeInstanceOf(AbortError);
- expect(fetchStreaming.mock.calls[0][0].signal.aborted).toBeTruthy();
- });
-
- test('rejects promise on abort and lets others continue', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const abortController = new AbortController();
- const promise = fn({ a: '1' }, abortController.signal);
- const promise2 = fn({ a: '2' });
- jest.advanceTimersByTime(6);
-
- expect(await isPending(promise)).toBe(true);
-
- abortController.abort();
- jest.advanceTimersByTime(6);
- await flushPromises();
-
- expect(await isPending(promise)).toBe(false);
- const [, error] = await of(promise);
- expect(error).toBeInstanceOf(AbortError);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { b: '2' },
- }) + '\n'
- );
-
- jest.advanceTimersByTime(1);
-
- const [result2] = await of(promise2);
- expect(result2).toEqual({ b: '2' });
- });
- });
-
- describe('when stream closes prematurely', () => {
- test('rejects pending promises with CONNECTION error code', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
-
- jest.advanceTimersByTime(6);
-
- stream.complete();
-
- jest.advanceTimersByTime(1);
-
- const [, error1] = await promise1;
- const [, error2] = await promise2;
- expect(error1).toMatchObject({
- message: 'Connection terminated prematurely.',
- code: 'CONNECTION',
- });
- expect(error2).toMatchObject({
- message: 'Connection terminated prematurely.',
- code: 'CONNECTION',
- });
- });
-
- test('rejects with CONNECTION error only pending promises', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
-
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { b: '1' },
- }) + '\n'
- );
- stream.complete();
-
- jest.advanceTimersByTime(1);
-
- const [, error1] = await promise1;
- const [result1] = await promise2;
- expect(error1).toMatchObject({
- message: 'Connection terminated prematurely.',
- code: 'CONNECTION',
- });
- expect(result1).toMatchObject({
- b: '1',
- });
- });
- });
-
- describe('when stream errors', () => {
- test('rejects pending promises with STREAM error code', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
-
- jest.advanceTimersByTime(6);
-
- stream.error({
- message: 'something went wrong',
- });
-
- jest.advanceTimersByTime(1);
-
- const [, error1] = await promise1;
- const [, error2] = await promise2;
- expect(error1).toMatchObject({
- message: 'something went wrong',
- code: 'STREAM',
- });
- expect(error2).toMatchObject({
- message: 'something went wrong',
- code: 'STREAM',
- });
- });
-
- test('rejects with STREAM error only pending promises', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
-
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { b: '1' },
- }) + '\n'
- );
- stream.error('oops');
-
- jest.advanceTimersByTime(1);
-
- const [, error1] = await promise1;
- const [result1] = await promise2;
- expect(error1).toMatchObject({
- message: 'oops',
- code: 'STREAM',
- });
- expect(result1).toMatchObject({
- b: '1',
- });
- });
- });
-
- test('rejects with STREAM error on JSON parse error only pending promises', async () => {
- const { fetchStreaming, stream } = setup();
- const fn = createStreamingBatchedFunction({
- url: '/test',
- fetchStreaming,
- maxItemAge: 5,
- flushOnMaxItems: 3,
- getIsCompressionDisabled: () => true,
- });
- await flushPromises();
-
- const promise1 = of(fn({ a: '1' }));
- const promise2 = of(fn({ a: '2' }));
-
- jest.advanceTimersByTime(6);
-
- stream.next(
- JSON.stringify({
- id: 1,
- result: { b: '1' },
- }) + '\n'
- );
-
- stream.next('Not a JSON\n');
-
- jest.advanceTimersByTime(1);
-
- const [, error1] = await promise1;
- const [result1] = await promise2;
- expect(error1).toMatchObject({
- message: `Unexpected token 'N', "Not a JSON\n" is not valid JSON`,
- code: 'STREAM',
- });
- expect(result1).toMatchObject({
- b: '1',
- });
- });
- });
-});
diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts
deleted file mode 100644
index 799aef494a19e..0000000000000
--- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { AbortError, abortSignalToPromise, defer } from '@kbn/kibana-utils-plugin/public';
-import type { ItemBufferParams, TimedItemBufferParams } from '@kbn/item-buffer';
-import { createBatchedFunction, ErrorLike, normalizeError } from '../../common';
-import { fetchStreaming } from '../streaming';
-import { BatchedFunc, BatchItem } from './types';
-
-export interface BatchedFunctionProtocolError extends ErrorLike {
- code: string;
-}
-
-export interface StreamingBatchedFunctionParams {
- /**
- * URL endpoint that will receive a batch of requests. This endpoint is expected
- * to receive batch as a serialized JSON array. It should stream responses back
- * in ND-JSON format using `Transfer-Encoding: chunked` HTTP/1 streaming.
- */
- url: string;
-
- /**
- * The instance of `fetchStreaming` function that will perform ND-JSON handling.
- * There should be a version of this function available in setup contract of `bfetch`
- * plugin.
- */
- fetchStreaming?: typeof fetchStreaming;
-
- /**
- * The maximum size of function call buffer before sending the batch request.
- */
- flushOnMaxItems?: ItemBufferParams['flushOnMaxItems'];
-
- /**
- * The maximum timeout in milliseconds of the oldest item in the batch
- * before sending the batch request.
- */
- maxItemAge?: TimedItemBufferParams['maxItemAge'];
-
- /**
- * Disabled zlib compression of response chunks.
- */
- getIsCompressionDisabled?: () => boolean;
-}
-
-/**
- * Returns a function that does not execute immediately but buffers the call internally until
- * `params.flushOnMaxItems` is reached or after `params.maxItemAge` timeout in milliseconds is reached. Once
- * one of those thresholds is reached all buffered calls are sent in one batch to the
- * server using `params.fetchStreaming` in a POST request. Responses are streamed back
- * and each batch item is resolved once corresponding response is received.
- */
-export const createStreamingBatchedFunction = (
- params: StreamingBatchedFunctionParams
-): BatchedFunc => {
- const {
- url,
- fetchStreaming: fetchStreamingInjected = fetchStreaming,
- flushOnMaxItems = 25,
- maxItemAge = 10,
- getIsCompressionDisabled = () => false,
- } = params;
- const [fn] = createBatchedFunction({
- onCall: (payload: Payload, signal?: AbortSignal) => {
- const future = defer();
- const entry: BatchItem = {
- payload,
- future,
- signal,
- };
- return [future.promise, entry];
- },
- onBatch: async (items) => {
- try {
- // Filter out any items whose signal is already aborted
- items = items.filter((item) => {
- if (item.signal?.aborted) item.future.reject(new AbortError());
- return !item.signal?.aborted;
- });
-
- if (items.length === 0) {
- return; // all items have been aborted before a request has been sent
- }
-
- const donePromises: Array> = items.map((item) => {
- return new Promise((resolve) => {
- const { promise: abortPromise, cleanup } = item.signal
- ? abortSignalToPromise(item.signal)
- : {
- promise: undefined,
- cleanup: () => {},
- };
-
- const onDone = () => {
- resolve();
- cleanup();
- };
- if (abortPromise)
- abortPromise.catch(() => {
- item.future.reject(new AbortError());
- onDone();
- });
- item.future.promise.then(onDone, onDone);
- });
- });
-
- // abort when all items were either resolved, rejected or aborted
- const abortController = new AbortController();
- let isBatchDone = false;
- Promise.all(donePromises).then(() => {
- isBatchDone = true;
- abortController.abort();
- });
- const batch = items.map((item) => item.payload);
-
- const { stream } = fetchStreamingInjected({
- url,
- body: JSON.stringify({ batch }),
- method: 'POST',
- signal: abortController.signal,
- getIsCompressionDisabled,
- });
-
- const handleStreamError = (error: any) => {
- const normalizedError = normalizeError(error);
- normalizedError.code = 'STREAM';
- for (const { future } of items) future.reject(normalizedError);
- };
-
- stream.subscribe({
- next: (json: string) => {
- try {
- const response = JSON.parse(json);
- if (response.error) {
- items[response.id].future.reject(response.error);
- } else if (response.result !== undefined) {
- items[response.id].future.resolve(response.result);
- }
- } catch (e) {
- handleStreamError(e);
- }
- },
- error: handleStreamError,
- complete: () => {
- if (!isBatchDone) {
- const error: BatchedFunctionProtocolError = {
- message: 'Connection terminated prematurely.',
- code: 'CONNECTION',
- };
- for (const { future } of items) future.reject(error);
- }
- },
- });
- await stream.toPromise();
- } catch (error) {
- for (const item of items) item.future.reject(error);
- }
- },
- flushOnMaxItems,
- maxItemAge,
- });
-
- return fn;
-};
diff --git a/src/plugins/bfetch/public/batching/index.ts b/src/plugins/bfetch/public/batching/index.ts
deleted file mode 100644
index 1285bab9b1ef5..0000000000000
--- a/src/plugins/bfetch/public/batching/index.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export type { StreamingBatchedFunctionParams } from './create_streaming_batched_function';
-export { createStreamingBatchedFunction } from './create_streaming_batched_function';
diff --git a/src/plugins/bfetch/public/batching/types.ts b/src/plugins/bfetch/public/batching/types.ts
deleted file mode 100644
index 1d1708f7366ab..0000000000000
--- a/src/plugins/bfetch/public/batching/types.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { Defer } from '@kbn/kibana-utils-plugin/public';
-
-export interface BatchItem {
- payload: Payload;
- future: Defer;
- signal?: AbortSignal;
-}
-
-export type BatchedFunc = (
- payload: Payload,
- signal?: AbortSignal
-) => Promise;
diff --git a/src/plugins/bfetch/public/index.ts b/src/plugins/bfetch/public/index.ts
deleted file mode 100644
index cdce68a59ce27..0000000000000
--- a/src/plugins/bfetch/public/index.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { PluginInitializerContext } from '@kbn/core/public';
-import { BfetchPublicPlugin } from './plugin';
-
-export type { BfetchPublicSetup, BfetchPublicStart, BfetchPublicContract } from './plugin';
-export { split } from './streaming';
-
-export type { BatchedFunc } from './batching/types';
-
-export { DISABLE_BFETCH } from '../common/constants';
-
-export function plugin(initializerContext: PluginInitializerContext) {
- return new BfetchPublicPlugin(initializerContext);
-}
diff --git a/src/plugins/bfetch/public/mocks.ts b/src/plugins/bfetch/public/mocks.ts
deleted file mode 100644
index 20abe00f84e11..0000000000000
--- a/src/plugins/bfetch/public/mocks.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { coreMock } from '@kbn/core/public/mocks';
-import { BfetchPublicSetup, BfetchPublicStart } from '.';
-import { plugin as pluginInitializer } from '.';
-
-export type Setup = jest.Mocked;
-export type Start = jest.Mocked;
-
-const createSetupContract = (): Setup => {
- const setupContract: Setup = {
- fetchStreaming: jest.fn(),
- batchedFunction: jest.fn(),
- };
- return setupContract;
-};
-
-const createStartContract = (): Start => {
- const startContract: Start = {
- fetchStreaming: jest.fn(),
- batchedFunction: jest.fn(),
- };
-
- return startContract;
-};
-
-const createPlugin = async () => {
- const pluginInitializerContext = coreMock.createPluginInitializerContext();
- const coreSetup = coreMock.createSetup();
- const coreStart = coreMock.createStart();
- const plugin = pluginInitializer(pluginInitializerContext);
- const setup = await plugin.setup(coreSetup, {});
-
- return {
- pluginInitializerContext,
- coreSetup,
- coreStart,
- plugin,
- setup,
- doStart: async () => await plugin.start(coreStart, {}),
- };
-};
-
-export const bfetchPluginMock = {
- createSetupContract,
- createStartContract,
- createPlugin,
-};
diff --git a/src/plugins/bfetch/public/plugin.ts b/src/plugins/bfetch/public/plugin.ts
deleted file mode 100644
index 2e1ef59d39b86..0000000000000
--- a/src/plugins/bfetch/public/plugin.ts
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from '@kbn/core/public';
-import { createStartServicesGetter } from '@kbn/kibana-utils-plugin/public';
-import {
- ELASTIC_HTTP_VERSION_HEADER,
- X_ELASTIC_INTERNAL_ORIGIN_REQUEST,
-} from '@kbn/core-http-common';
-import { fetchStreaming as fetchStreamingStatic, FetchStreamingParams } from './streaming';
-import { DISABLE_BFETCH_COMPRESSION, removeLeadingSlash } from '../common';
-import { createStreamingBatchedFunction, StreamingBatchedFunctionParams } from './batching';
-import { BatchedFunc } from './batching/types';
-import { BFETCH_ROUTE_VERSION_LATEST } from '../common/constants';
-
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface BfetchPublicSetupDependencies {}
-
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface BfetchPublicStartDependencies {}
-
-export interface BfetchPublicContract {
- fetchStreaming: (params: FetchStreamingParams) => ReturnType;
- batchedFunction: (
- params: StreamingBatchedFunctionParams
- ) => BatchedFunc;
-}
-
-export type BfetchPublicSetup = BfetchPublicContract;
-export type BfetchPublicStart = BfetchPublicContract;
-
-export class BfetchPublicPlugin
- implements
- Plugin<
- BfetchPublicSetup,
- BfetchPublicStart,
- BfetchPublicSetupDependencies,
- BfetchPublicStartDependencies
- >
-{
- private contract!: BfetchPublicContract;
-
- constructor(private readonly initializerContext: PluginInitializerContext) {}
-
- public setup(
- core: CoreSetup,
- plugins: BfetchPublicSetupDependencies
- ): BfetchPublicSetup {
- const { version: kibanaVersion } = this.initializerContext.env.packageInfo;
- const basePath = core.http.basePath.get();
-
- const startServices = createStartServicesGetter(core.getStartServices);
- const getIsCompressionDisabled = () =>
- startServices().core.uiSettings.get(DISABLE_BFETCH_COMPRESSION);
-
- const fetchStreaming = this.fetchStreaming(
- BFETCH_ROUTE_VERSION_LATEST,
- kibanaVersion,
- basePath,
- getIsCompressionDisabled
- );
- const batchedFunction = this.batchedFunction(fetchStreaming, getIsCompressionDisabled);
-
- this.contract = {
- fetchStreaming,
- batchedFunction,
- };
-
- return this.contract;
- }
-
- public start(core: CoreStart, plugins: BfetchPublicStartDependencies): BfetchPublicStart {
- return this.contract;
- }
-
- public stop() {}
-
- private fetchStreaming =
- (
- version: string,
- kibanaVersion: string,
- basePath: string,
- getIsCompressionDisabled: () => boolean
- ): BfetchPublicSetup['fetchStreaming'] =>
- (params) =>
- fetchStreamingStatic({
- ...params,
- url: `${basePath}/${removeLeadingSlash(params.url)}`,
- headers: {
- 'Content-Type': 'application/json',
- 'kbn-version': kibanaVersion,
- [X_ELASTIC_INTERNAL_ORIGIN_REQUEST]: 'Kibana',
- [ELASTIC_HTTP_VERSION_HEADER]: version,
- ...(params.headers || {}),
- },
- getIsCompressionDisabled,
- });
-
- private batchedFunction =
- (
- fetchStreaming: BfetchPublicContract['fetchStreaming'],
- getIsCompressionDisabled: () => boolean
- ): BfetchPublicContract['batchedFunction'] =>
- (params) =>
- createStreamingBatchedFunction({
- ...params,
- getIsCompressionDisabled,
- fetchStreaming: params.fetchStreaming || fetchStreaming,
- });
-}
diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts
deleted file mode 100644
index 8e065ce424dd7..0000000000000
--- a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts
+++ /dev/null
@@ -1,362 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { fetchStreaming } from './fetch_streaming';
-import { mockXMLHttpRequest } from '../test_helpers/xhr';
-import { promisify } from 'util';
-import { deflate } from 'zlib';
-const pDeflate = promisify(deflate);
-
-const compressResponse = async (resp: any) => {
- const gzipped = await pDeflate(JSON.stringify(resp));
- return gzipped.toString('base64');
-};
-
-const tick = () => new Promise((resolve) => setTimeout(resolve, 1));
-
-const setup = () => {
- const { xhr, XMLHttpRequest } = mockXMLHttpRequest();
- window.XMLHttpRequest = XMLHttpRequest;
- (xhr as any).status = 200;
- return { xhr };
-};
-
-test('returns XHR request', () => {
- setup();
- const { xhr } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
- expect(typeof xhr.readyState).toBe('number');
-});
-
-test('returns stream', () => {
- setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
- expect(typeof stream.subscribe).toBe('function');
-});
-
-test('promise resolves when request completes', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- let resolved = false;
- stream.toPromise().then(() => (resolved = true));
-
- await tick();
- expect(resolved).toBe(false);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(resolved).toBe(false);
-
- (env.xhr as any).responseText = 'foo\nbar';
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(resolved).toBe(false);
-
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(resolved).toBe(true);
-});
-
-test('promise resolves when compressed request completes', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => false,
- });
-
- let resolved = false;
- let result;
- stream.toPromise().then((r) => {
- resolved = true;
- result = r;
- });
-
- await tick();
- expect(resolved).toBe(false);
-
- const msg = { foo: 'bar' };
-
- // Whole message in a response
- (env.xhr as any).responseText = `${await compressResponse(msg)}\n`;
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(resolved).toBe(false);
-
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(resolved).toBe(true);
- expect(result).toStrictEqual(JSON.stringify(msg));
-});
-
-test('promise resolves when compressed chunked request completes', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => false,
- });
-
- let resolved = false;
- let result;
- stream.toPromise().then((r) => {
- resolved = true;
- result = r;
- });
-
- await tick();
- expect(resolved).toBe(false);
-
- const msg = { veg: 'tomato' };
- const msgToCut = await compressResponse(msg);
- const part1 = msgToCut.substr(0, 3);
-
- // Message and a half in a response
- (env.xhr as any).responseText = part1;
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(resolved).toBe(false);
-
- // Half a message in a response
- (env.xhr as any).responseText = `${msgToCut}\n`;
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(resolved).toBe(false);
-
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(resolved).toBe(true);
- expect(result).toStrictEqual(JSON.stringify(msg));
-});
-
-test('streams incoming text as it comes through, according to separators', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- const spy = jest.fn();
- stream.subscribe(spy);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo\nbar';
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(1);
- expect(spy).toHaveBeenCalledWith('foo');
-
- (env.xhr as any).responseText = 'foo\nbar\n';
- env.xhr.onprogress!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(2);
- expect(spy).toHaveBeenCalledWith('bar');
-
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(2);
-});
-
-test('completes stream observable when request finishes', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- const spy = jest.fn();
- stream.subscribe({
- complete: spy,
- });
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(1);
-});
-
-test('completes stream observable when aborted', async () => {
- const env = setup();
- const abort = new AbortController();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- signal: abort.signal,
- getIsCompressionDisabled: () => true,
- });
-
- const spy = jest.fn();
- stream.subscribe({
- complete: spy,
- });
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
-
- abort.abort();
-
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 200;
- env.xhr.onreadystatechange!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(1);
-});
-
-test('promise throws when request errors', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- const spy = jest.fn();
- stream.toPromise().catch(spy);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 400;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(1);
- expect(spy.mock.calls[0][0]).toBeInstanceOf(Error);
- expect(spy.mock.calls[0][0].message).toMatchInlineSnapshot(
- `"Check your network connection and try again. Code 400"`
- );
-});
-
-test('stream observable errors when request errors', async () => {
- const env = setup();
- const { stream } = fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- const spy = jest.fn();
- stream.subscribe({
- error: spy,
- });
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(0);
-
- (env.xhr as any).responseText = 'foo';
- env.xhr.onprogress!({} as any);
- (env.xhr as any).readyState = 4;
- (env.xhr as any).status = 400;
- env.xhr.onreadystatechange!({} as any);
-
- await tick();
- expect(spy).toHaveBeenCalledTimes(1);
- expect(spy.mock.calls[0][0]).toBeInstanceOf(Error);
- expect(spy.mock.calls[0][0].message).toMatchInlineSnapshot(
- `"Check your network connection and try again. Code 400"`
- );
-});
-
-test('sets custom headers', async () => {
- const env = setup();
- fetchStreaming({
- url: 'http://example.com',
- headers: {
- 'Content-Type': 'text/plain',
- Authorization: 'Bearer 123',
- },
- getIsCompressionDisabled: () => true,
- });
-
- expect(env.xhr.setRequestHeader).toHaveBeenCalledWith('Content-Type', 'text/plain');
- expect(env.xhr.setRequestHeader).toHaveBeenCalledWith('Authorization', 'Bearer 123');
-});
-
-test('uses credentials', async () => {
- const env = setup();
-
- expect(env.xhr.withCredentials).toBe(false);
-
- fetchStreaming({
- url: 'http://example.com',
- getIsCompressionDisabled: () => true,
- });
-
- expect(env.xhr.withCredentials).toBe(true);
-});
-
-test('opens XHR request and sends specified body', async () => {
- const env = setup();
-
- expect(env.xhr.open).toHaveBeenCalledTimes(0);
- expect(env.xhr.send).toHaveBeenCalledTimes(0);
-
- fetchStreaming({
- url: 'http://elastic.co',
- method: 'GET',
- body: 'foobar',
- getIsCompressionDisabled: () => true,
- });
-
- expect(env.xhr.open).toHaveBeenCalledTimes(1);
- expect(env.xhr.send).toHaveBeenCalledTimes(1);
- expect(env.xhr.open).toHaveBeenCalledWith('GET', 'http://elastic.co');
- expect(env.xhr.send).toHaveBeenCalledWith('foobar');
-});
-
-test('uses POST request method by default', async () => {
- const env = setup();
- fetchStreaming({
- url: 'http://elastic.co',
- getIsCompressionDisabled: () => true,
- });
- expect(env.xhr.open).toHaveBeenCalledWith('POST', 'http://elastic.co');
-});
diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.ts
deleted file mode 100644
index 6df4e72fedc85..0000000000000
--- a/src/plugins/bfetch/public/streaming/fetch_streaming.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { map, share } from 'rxjs';
-import { inflateResponse } from '.';
-import { fromStreamingXhr } from './from_streaming_xhr';
-import { split } from './split';
-import { appendQueryParam } from '../../common';
-
-export interface FetchStreamingParams {
- url: string;
- headers?: Record;
- method?: 'GET' | 'POST';
- body?: string;
- signal?: AbortSignal;
- getIsCompressionDisabled?: () => boolean;
-}
-
-/**
- * Sends an AJAX request to the server, and processes the result as a
- * streaming HTTP/1 response. Streams data as text through observable.
- */
-export function fetchStreaming({
- url,
- headers = {},
- method = 'POST',
- body = '',
- signal,
- getIsCompressionDisabled = () => false,
-}: FetchStreamingParams) {
- const xhr = new window.XMLHttpRequest();
-
- const isCompressionDisabled = getIsCompressionDisabled();
- if (!isCompressionDisabled) {
- url = appendQueryParam(url, 'compress', 'true');
- }
- // Begin the request
- xhr.open(method, url);
- xhr.withCredentials = true;
-
- // Set the HTTP headers
- Object.entries(headers).forEach(([k, v]) => xhr.setRequestHeader(k, v));
-
- const stream = fromStreamingXhr(xhr, signal);
-
- // Send the payload to the server
- xhr.send(body);
-
- // Return a stream of chunked decompressed messages
- const stream$ = stream.pipe(
- split('\n'),
- map((msg) => {
- return isCompressionDisabled ? msg : inflateResponse(msg);
- }),
- share()
- );
-
- return {
- xhr,
- stream: stream$,
- };
-}
diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts
deleted file mode 100644
index d39dda2e07c0c..0000000000000
--- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts
+++ /dev/null
@@ -1,271 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { fromStreamingXhr } from './from_streaming_xhr';
-
-const createXhr = (): XMLHttpRequest =>
- ({
- abort: () => {},
- onprogress: () => {},
- onreadystatechange: () => {},
- readyState: 0,
- responseText: '',
- status: 200,
- } as unknown as XMLHttpRequest);
-
-test('returns observable', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
- expect(typeof observable.subscribe).toBe('function');
-});
-
-test('emits an event to observable', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const spy = jest.fn();
- observable.subscribe(spy);
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (xhr as any).responseText = 'foo';
- xhr.onprogress!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(1);
- expect(spy).toHaveBeenCalledWith('foo');
-});
-
-test('streams multiple events to observable', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const spy = jest.fn();
- observable.subscribe(spy);
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '12';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '123';
- xhr.onprogress!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(3);
- expect(spy.mock.calls[0][0]).toBe('1');
- expect(spy.mock.calls[1][0]).toBe('2');
- expect(spy.mock.calls[2][0]).toBe('3');
-});
-
-test('completes observable when request reaches end state', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const next = jest.fn();
- const complete = jest.fn();
- observable.subscribe({
- next,
- complete,
- });
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '2';
- xhr.onprogress!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(0);
-
- (xhr as any).readyState = 4;
- (xhr as any).status = 200;
- xhr.onreadystatechange!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(1);
-});
-
-test('completes observable when aborted', () => {
- const xhr = createXhr();
- const abortController = new AbortController();
- const observable = fromStreamingXhr(xhr, abortController.signal);
-
- const next = jest.fn();
- const complete = jest.fn();
- observable.subscribe({
- next,
- complete,
- });
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '2';
- xhr.onprogress!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(0);
-
- (xhr as any).readyState = 2;
- abortController.abort();
-
- expect(complete).toHaveBeenCalledTimes(1);
-
- // Shouldn't trigger additional events
- (xhr as any).readyState = 4;
- (xhr as any).status = 200;
- xhr.onreadystatechange!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(1);
-});
-
-test('errors observable if request returns with error', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const next = jest.fn();
- const complete = jest.fn();
- const error = jest.fn();
- observable.subscribe({
- next,
- complete,
- error,
- });
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '2';
- xhr.onprogress!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(0);
-
- (xhr as any).readyState = 4;
- (xhr as any).status = 400;
- xhr.onreadystatechange!({} as any);
-
- expect(complete).toHaveBeenCalledTimes(0);
- expect(error).toHaveBeenCalledTimes(1);
- expect(error.mock.calls[0][0]).toBeInstanceOf(Error);
- expect(error.mock.calls[0][0].message).toMatchInlineSnapshot(
- `"Check your network connection and try again. Code 400"`
- );
-});
-
-test('does not emit when gets error response', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const next = jest.fn();
- const complete = jest.fn();
- const error = jest.fn();
- observable.subscribe({
- next,
- complete,
- error,
- });
-
- (xhr as any).responseText = 'error';
- (xhr as any).status = 400;
- xhr.onprogress!({} as any);
-
- expect(next).toHaveBeenCalledTimes(0);
-
- (xhr as any).readyState = 4;
- xhr.onreadystatechange!({} as any);
-
- expect(next).toHaveBeenCalledTimes(0);
- expect(error).toHaveBeenCalledTimes(1);
- expect(error.mock.calls[0][0]).toBeInstanceOf(Error);
- expect(error.mock.calls[0][0].message).toMatchInlineSnapshot(
- `"Check your network connection and try again. Code 400"`
- );
-});
-
-test('when .onprogress called multiple times with same text, does not create new observable events', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const spy = jest.fn();
- observable.subscribe(spy);
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '1';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '12';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '12';
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '123';
- xhr.onprogress!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(3);
- expect(spy.mock.calls[0][0]).toBe('1');
- expect(spy.mock.calls[1][0]).toBe('2');
- expect(spy.mock.calls[2][0]).toBe('3');
-});
-
-test('generates new observable events on .onreadystatechange', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const spy = jest.fn();
- observable.subscribe(spy);
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (xhr as any).responseText = '{"foo":"bar"}';
- xhr.onreadystatechange!({} as any);
-
- (xhr as any).responseText = '{"foo":"bar"}\n';
- xhr.onreadystatechange!({} as any);
-
- (xhr as any).responseText = '{"foo":"bar"}\n123';
- xhr.onreadystatechange!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(3);
- expect(spy.mock.calls[0][0]).toBe('{"foo":"bar"}');
- expect(spy.mock.calls[1][0]).toBe('\n');
- expect(spy.mock.calls[2][0]).toBe('123');
-});
-
-test('.onreadystatechange and .onprogress can be called in any order', () => {
- const xhr = createXhr();
- const observable = fromStreamingXhr(xhr);
-
- const spy = jest.fn();
- observable.subscribe(spy);
-
- expect(spy).toHaveBeenCalledTimes(0);
-
- (xhr as any).responseText = '{"foo":"bar"}';
- xhr.onreadystatechange!({} as any);
- xhr.onprogress!({} as any);
-
- (xhr as any).responseText = '{"foo":"bar"}\n';
- xhr.onprogress!({} as any);
- xhr.onreadystatechange!({} as any);
-
- (xhr as any).responseText = '{"foo":"bar"}\n123';
- xhr.onreadystatechange!({} as any);
- xhr.onprogress!({} as any);
- xhr.onreadystatechange!({} as any);
- xhr.onprogress!({} as any);
-
- expect(spy).toHaveBeenCalledTimes(3);
- expect(spy.mock.calls[0][0]).toBe('{"foo":"bar"}');
- expect(spy.mock.calls[1][0]).toBe('\n');
- expect(spy.mock.calls[2][0]).toBe('123');
-});
diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts
deleted file mode 100644
index 9242d78c9fba2..0000000000000
--- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { Observable, Subject } from 'rxjs';
-import { BfetchRequestError } from '@kbn/bfetch-error';
-
-/**
- * Creates observable from streaming XMLHttpRequest, where each event
- * corresponds to a streamed chunk.
- */
-export const fromStreamingXhr = (
- xhr: Pick<
- XMLHttpRequest,
- 'onprogress' | 'onreadystatechange' | 'readyState' | 'status' | 'responseText' | 'abort'
- >,
- signal?: AbortSignal
-): Observable => {
- const subject = new Subject();
- let index = 0;
- let aborted = false;
-
- // 0 indicates a network failure. 400+ messages are considered server errors
- const isErrorStatus = () => xhr.status === 0 || xhr.status >= 400;
-
- const processBatch = () => {
- if (aborted) return;
- if (isErrorStatus()) return;
-
- const { responseText } = xhr;
- if (index >= responseText.length) return;
- subject.next(responseText.substr(index));
- index = responseText.length;
- };
-
- xhr.onprogress = processBatch;
-
- const onBatchAbort = () => {
- if (xhr.readyState !== 4) {
- aborted = true;
- xhr.abort();
- subject.complete();
- if (signal) signal.removeEventListener('abort', onBatchAbort);
- }
- };
-
- if (signal) signal.addEventListener('abort', onBatchAbort);
-
- xhr.onreadystatechange = () => {
- if (aborted) return;
- // Older browsers don't support onprogress, so we need
- // to call this here, too. It's safe to call this multiple
- // times even for the same progress event.
- processBatch();
-
- // 4 is the magic number that means the request is done
- if (xhr.readyState === 4) {
- if (signal) signal.removeEventListener('abort', onBatchAbort);
-
- if (isErrorStatus()) {
- subject.error(new BfetchRequestError(xhr.status));
- } else {
- subject.complete();
- }
- }
- };
-
- return subject;
-};
diff --git a/src/plugins/bfetch/public/streaming/index.ts b/src/plugins/bfetch/public/streaming/index.ts
deleted file mode 100644
index f0753584131c2..0000000000000
--- a/src/plugins/bfetch/public/streaming/index.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './split';
-export * from './from_streaming_xhr';
-export * from './fetch_streaming';
-export { inflateResponse } from './inflate_response';
diff --git a/src/plugins/bfetch/public/streaming/inflate_response.ts b/src/plugins/bfetch/public/streaming/inflate_response.ts
deleted file mode 100644
index d374c471662ae..0000000000000
--- a/src/plugins/bfetch/public/streaming/inflate_response.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { unzlibSync, strFromU8 } from 'fflate';
-import { toByteArray } from 'base64-js';
-
-export function inflateResponse(response: string) {
- const buff = toByteArray(response);
- const unzip = unzlibSync(buff);
- return strFromU8(unzip);
-}
diff --git a/src/plugins/bfetch/public/streaming/split.test.ts b/src/plugins/bfetch/public/streaming/split.test.ts
deleted file mode 100644
index 8b66c021a3cd9..0000000000000
--- a/src/plugins/bfetch/public/streaming/split.test.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { split } from './split';
-import { Subject } from 'rxjs';
-
-test('splits a single IP address', () => {
- const ip = '127.0.0.1';
- const list: string[] = [];
- const subject = new Subject();
- const splitted = split('.')(subject);
-
- splitted.subscribe((value) => list.push(value));
-
- subject.next(ip);
- subject.complete();
- expect(list).toEqual(['127', '0', '0', '1']);
-});
-
-const streams = [
- 'adsf.asdf.asdf',
- 'single.dot',
- 'empty..split',
- 'trailingdot.',
- '.leadingdot',
- '.',
- '....',
- 'no_delimiter',
- '1.2.3.4.5',
- '1.2.3.4.5.',
- '.1.2.3.4.5.',
- '.1.2.3.4.5',
-];
-
-for (const stream of streams) {
- test(`splits stream by delimiter correctly "${stream}"`, () => {
- const correctResult = stream.split('.').filter(Boolean);
-
- for (let j = 0; j < 100; j++) {
- const list: string[] = [];
- const subject = new Subject();
- const splitted = split('.')(subject);
- splitted.subscribe((value) => list.push(value));
- let i = 0;
- while (i < stream.length) {
- const len = Math.round(Math.random() * 10);
- const chunk = stream.substr(i, len);
- subject.next(chunk);
- i += len;
- }
- subject.complete();
- expect(list).toEqual(correctResult);
- }
- });
-}
diff --git a/src/plugins/bfetch/public/streaming/split.ts b/src/plugins/bfetch/public/streaming/split.ts
deleted file mode 100644
index ba35e43a87c74..0000000000000
--- a/src/plugins/bfetch/public/streaming/split.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { Observable, Subject } from 'rxjs';
-import { filter } from 'rxjs';
-
-/**
- * Receives observable that emits strings, and returns a new observable
- * that also returns strings separated by delimiter.
- *
- * Input stream:
- *
- * asdf.f -> df..aaa. -> dfsdf
- *
- * Output stream, assuming "." is used as delimiter:
- *
- * asdf -> fdf -> aaa -> dfsdf
- *
- */
-export const split =
- (delimiter: string = '\n') =>
- (in$: Observable): Observable => {
- const out$ = new Subject();
- let startingText = '';
-
- in$.subscribe(
- (chunk) => {
- const messages = (startingText + chunk).split(delimiter);
-
- // We don't want to send the last message here, since it may or
- // may not be a partial message.
- messages.slice(0, -1).forEach(out$.next.bind(out$));
- startingText = messages.length ? messages[messages.length - 1] : '';
- },
- out$.error.bind(out$),
- () => {
- out$.next(startingText);
- out$.complete();
- }
- );
-
- return out$.pipe(filter(Boolean));
- };
diff --git a/src/plugins/bfetch/public/test_helpers/xhr.ts b/src/plugins/bfetch/public/test_helpers/xhr.ts
deleted file mode 100644
index dcc521d2c7563..0000000000000
--- a/src/plugins/bfetch/public/test_helpers/xhr.ts
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-/* eslint-disable max-classes-per-file */
-
-export const mockXMLHttpRequest = (): {
- xhr: XMLHttpRequest;
- XMLHttpRequest: typeof window.XMLHttpRequest;
-} => {
- class MockXMLHttpRequest implements XMLHttpRequest {
- // @ts-expect-error upgrade typescript v5.1.6
- DONE = 0;
- // @ts-expect-error upgrade typescript v5.1.6
- HEADERS_RECEIVED = 0;
- // @ts-expect-error upgrade typescript v5.1.6
- LOADING = 0;
- // @ts-expect-error upgrade typescript v5.1.6
- OPENED = 0;
- // @ts-expect-error upgrade typescript v5.1.6
- UNSENT = 0;
- abort = jest.fn();
- addEventListener = jest.fn();
- dispatchEvent = jest.fn();
- getAllResponseHeaders = jest.fn();
- getResponseHeader = jest.fn();
- onabort = jest.fn();
- onerror = jest.fn();
- onload = jest.fn();
- onloadend = jest.fn();
- onloadstart = jest.fn();
- onprogress = jest.fn();
- onreadystatechange = jest.fn();
- ontimeout = jest.fn();
- open = jest.fn();
- overrideMimeType = jest.fn();
- readyState = 0;
- removeEventListener = jest.fn();
- response = null;
- responseText = '';
- responseType = null as any;
- responseURL = '';
- responseXML = null;
- send = jest.fn();
- setRequestHeader = jest.fn();
- status = 0;
- statusText = '';
- timeout = 0;
- upload = null as any;
- withCredentials = false;
- }
-
- const xhr = new MockXMLHttpRequest();
-
- return {
- // @ts-expect-error upgrade typescript v5.1.6
- xhr,
- XMLHttpRequest: class {
- constructor() {
- return xhr;
- }
- } as any,
- };
-};
diff --git a/src/plugins/bfetch/server/index.ts b/src/plugins/bfetch/server/index.ts
deleted file mode 100644
index 368779a4ff7c6..0000000000000
--- a/src/plugins/bfetch/server/index.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { PluginInitializerContext } from '@kbn/core/server';
-
-export type { BfetchServerSetup, BfetchServerStart, BatchProcessingRouteParams } from './plugin';
-
-export async function plugin(initializerContext: PluginInitializerContext) {
- const { BfetchServerPlugin } = await import('./plugin');
- return new BfetchServerPlugin(initializerContext);
-}
diff --git a/src/plugins/bfetch/server/mocks.ts b/src/plugins/bfetch/server/mocks.ts
deleted file mode 100644
index 0c0af0369a2b5..0000000000000
--- a/src/plugins/bfetch/server/mocks.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { coreMock } from '@kbn/core/server/mocks';
-import { BfetchServerSetup, BfetchServerStart } from '.';
-import { plugin as pluginInitializer } from '.';
-
-export type Setup = jest.Mocked;
-export type Start = jest.Mocked;
-
-const createSetupContract = (): Setup => {
- const setupContract: Setup = {
- addBatchProcessingRoute: jest.fn(),
- addStreamingResponseRoute: jest.fn(),
- };
- return setupContract;
-};
-
-const createStartContract = (): Start => {
- const startContract: Start = {};
-
- return startContract;
-};
-
-const createPlugin = async () => {
- const pluginInitializerContext = coreMock.createPluginInitializerContext();
- const coreSetup = coreMock.createSetup();
- const coreStart = coreMock.createStart();
- const plugin = await pluginInitializer(pluginInitializerContext);
- const setup = await plugin.setup(coreSetup, {});
-
- return {
- pluginInitializerContext,
- coreSetup,
- coreStart,
- plugin,
- setup,
- doStart: async () => await plugin.start(coreStart, {}),
- };
-};
-
-export const bfetchPluginMock = {
- createSetupContract,
- createStartContract,
- createPlugin,
-};
diff --git a/src/plugins/bfetch/server/plugin.ts b/src/plugins/bfetch/server/plugin.ts
deleted file mode 100644
index 51ff8c0505026..0000000000000
--- a/src/plugins/bfetch/server/plugin.ts
+++ /dev/null
@@ -1,221 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import {
- CoreStart,
- PluginInitializerContext,
- CoreSetup,
- Plugin,
- Logger,
- KibanaRequest,
- StartServicesAccessor,
- RequestHandlerContext,
- RequestHandler,
- KibanaResponseFactory,
- AnalyticsServiceStart,
- HttpProtocol,
-} from '@kbn/core/server';
-
-import { map$ } from '@kbn/std';
-import { schema } from '@kbn/config-schema';
-import { BFETCH_ROUTE_VERSION_LATEST } from '../common/constants';
-import {
- StreamingResponseHandler,
- BatchRequestData,
- BatchResponseItem,
- ErrorLike,
- removeLeadingSlash,
- normalizeError,
-} from '../common';
-import { createStream } from './streaming';
-import { getUiSettings } from './ui_settings';
-
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface BfetchServerSetupDependencies {}
-
-export interface BfetchServerStartDependencies {
- analytics?: AnalyticsServiceStart;
-}
-
-export interface BatchProcessingRouteParams {
- onBatchItem: (data: BatchItemData) => Promise;
-}
-
-/** @public */
-export interface BfetchServerSetup {
- addBatchProcessingRoute: (
- path: string,
- handler: (request: KibanaRequest) => BatchProcessingRouteParams
- ) => void;
- addStreamingResponseRoute: (
- path: string,
- params: (
- request: KibanaRequest,
- context: RequestHandlerContext
- ) => StreamingResponseHandler,
- method?: 'GET' | 'POST' | 'PUT' | 'DELETE',
- pluginRouter?: ReturnType
- ) => void;
-}
-
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface BfetchServerStart {}
-
-const getStreamingHeaders = (protocol: HttpProtocol): Record => {
- if (protocol === 'http2') {
- return {
- 'Content-Type': 'application/x-ndjson',
- 'X-Accel-Buffering': 'no',
- };
- }
- return {
- 'Content-Type': 'application/x-ndjson',
- Connection: 'keep-alive',
- 'Transfer-Encoding': 'chunked',
- 'X-Accel-Buffering': 'no',
- };
-};
-
-interface Query {
- compress: boolean;
-}
-export class BfetchServerPlugin
- implements
- Plugin<
- BfetchServerSetup,
- BfetchServerStart,
- BfetchServerSetupDependencies,
- BfetchServerStartDependencies
- >
-{
- private _analyticsService: AnalyticsServiceStart | undefined;
-
- constructor(private readonly initializerContext: PluginInitializerContext) {}
-
- public setup(core: CoreSetup, plugins: BfetchServerSetupDependencies): BfetchServerSetup {
- const logger = this.initializerContext.logger.get();
- const router = core.http.createRouter();
-
- core.uiSettings.register(getUiSettings());
-
- const addStreamingResponseRoute = this.addStreamingResponseRoute({
- getStartServices: core.getStartServices,
- router,
- logger,
- });
- const addBatchProcessingRoute = this.addBatchProcessingRoute(addStreamingResponseRoute);
-
- return {
- addBatchProcessingRoute,
- addStreamingResponseRoute,
- };
- }
-
- public start(core: CoreStart, plugins: BfetchServerStartDependencies): BfetchServerStart {
- this._analyticsService = core.analytics;
- return {};
- }
-
- public stop() {}
-
- private addStreamingResponseRoute =
- ({
- router,
- logger,
- }: {
- getStartServices: StartServicesAccessor;
- router: ReturnType;
- logger: Logger;
- }): BfetchServerSetup['addStreamingResponseRoute'] =>
- (path, handler, method = 'POST', pluginRouter) => {
- const httpRouter = pluginRouter || router;
- const routeDefinition = {
- version: BFETCH_ROUTE_VERSION_LATEST,
- validate: {
- request: {
- body: schema.any(),
- query: schema.object({ compress: schema.boolean({ defaultValue: false }) }),
- },
- },
- };
-
- const routeHandler: RequestHandler = async (
- context: RequestHandlerContext,
- request: KibanaRequest,
- response: KibanaResponseFactory
- ) => {
- const handlerInstance = handler(request, context);
- const data = request.body;
- const compress = request.query.compress;
- return response.ok({
- headers: getStreamingHeaders(request.protocol),
- body: createStream(
- handlerInstance.getResponseStream(data),
- logger,
- compress,
- this._analyticsService
- ),
- });
- };
-
- switch (method) {
- case 'GET':
- httpRouter.versioned
- .get({ access: 'internal', path: `/${removeLeadingSlash(path)}` })
- .addVersion(routeDefinition, routeHandler);
- break;
- case 'POST':
- httpRouter.versioned
- .post({ access: 'internal', path: `/${removeLeadingSlash(path)}` })
- .addVersion(routeDefinition, routeHandler);
- break;
- case 'PUT':
- httpRouter.versioned
- .put({ access: 'internal', path: `/${removeLeadingSlash(path)}` })
- .addVersion(routeDefinition, routeHandler);
- break;
- case 'DELETE':
- httpRouter.versioned
- .delete({ access: 'internal', path: `/${removeLeadingSlash(path)}` })
- .addVersion(routeDefinition, routeHandler);
- break;
- default:
- throw new Error(`Handler for method ${method} is not defined`);
- }
- };
-
- private addBatchProcessingRoute =
- (
- addStreamingResponseRoute: BfetchServerSetup['addStreamingResponseRoute']
- ): BfetchServerSetup['addBatchProcessingRoute'] =>
- (
- path: string,
- handler: (
- request: KibanaRequest
- ) => BatchProcessingRouteParams
- ) => {
- addStreamingResponseRoute<
- BatchRequestData,
- BatchResponseItem
- >(path, (request) => {
- const handlerInstance = handler(request);
- return {
- getResponseStream: ({ batch }) =>
- map$(batch, async (batchItem, id) => {
- try {
- const result = await handlerInstance.onBatchItem(batchItem);
- return { id, result };
- } catch (error) {
- return { id, error: normalizeError(error) };
- }
- }),
- };
- });
- };
-}
diff --git a/src/plugins/bfetch/server/streaming/create_compressed_stream.ts b/src/plugins/bfetch/server/streaming/create_compressed_stream.ts
deleted file mode 100644
index 2dfc290e40bb3..0000000000000
--- a/src/plugins/bfetch/server/streaming/create_compressed_stream.ts
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { promisify } from 'util';
-import { Observable } from 'rxjs';
-import { catchError, concatMap, finalize } from 'rxjs';
-import { AnalyticsServiceStart, Logger } from '@kbn/core/server';
-import { Stream, PassThrough } from 'stream';
-import { constants, deflate } from 'zlib';
-import { reportPerformanceMetricEvent } from '@kbn/ebt-tools';
-
-const delimiter = '\n';
-const pDeflate = promisify(deflate);
-
-const BFETCH_SERVER_ENCODING_EVENT_TYPE = 'bfetch_server_encoding';
-
-class StreamMetricCollector {
- private readonly _collector: number[] = [];
- addMetric(time: number, messageSize: number) {
- this._collector.push(time);
- this._collector.push(messageSize);
- }
- getEBTPerformanceMetricEvent() {
- let totalTime = 0;
- let totalMessageSize = 0;
- for (let i = 0; i < this._collector.length; i += 2) {
- totalTime += this._collector[i];
- totalMessageSize += this._collector[i + 1];
- }
- return {
- eventName: BFETCH_SERVER_ENCODING_EVENT_TYPE,
- duration: totalTime,
- key1: 'message_count',
- value1: this._collector.length / 2,
- key2: 'total_byte_size',
- value2: totalMessageSize,
- key3: 'stream_type',
- value3: 1, // 1 == 'compressed'. Can always include support for ndjson-type later (e.g. 2 == ndjson)
- };
- }
-}
-
-async function zipMessageToStream(
- output: PassThrough,
- message: string,
- collector?: StreamMetricCollector
-) {
- return new Promise(async (resolve, reject) => {
- try {
- const before = performance.now();
- const gzipped = await pDeflate(message, {
- flush: constants.Z_SYNC_FLUSH,
- });
- const base64Compressed = gzipped.toString('base64');
- if (collector) {
- // 1 ASCII character = 1 byte
- collector.addMetric(performance.now() - before, base64Compressed.length);
- }
- output.write(base64Compressed);
- output.write(delimiter);
- resolve(undefined);
- } catch (err) {
- reject(err);
- }
- });
-}
-
-export const createCompressedStream = (
- results: Observable,
- logger: Logger,
- analyticsStart?: AnalyticsServiceStart
-): Stream => {
- const output = new PassThrough();
- const metricCollector: StreamMetricCollector | undefined = analyticsStart
- ? new StreamMetricCollector()
- : undefined;
-
- results
- .pipe(
- concatMap((message: Response) => {
- const strMessage = JSON.stringify(message);
- return zipMessageToStream(output, strMessage, metricCollector);
- }),
- catchError((e) => {
- logger.error('Could not serialize or stream a message.');
- logger.error(e);
- throw e;
- }),
- finalize(() => {
- output.end();
-
- if (analyticsStart && metricCollector) {
- reportPerformanceMetricEvent(
- analyticsStart,
- metricCollector.getEBTPerformanceMetricEvent()
- );
- }
- })
- )
- .subscribe();
-
- return output;
-};
diff --git a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts b/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts
deleted file mode 100644
index d287f33f2c518..0000000000000
--- a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { Observable } from 'rxjs';
-import { Logger } from '@kbn/core/server';
-import { Stream, PassThrough } from 'stream';
-
-const delimiter = '\n';
-
-export const createNDJSONStream = (
- results: Observable,
- logger: Logger
-): Stream => {
- const stream = new PassThrough();
-
- results.subscribe({
- next: (message: Response) => {
- try {
- const line = JSON.stringify(message);
- stream.write(`${line}${delimiter}`);
- } catch (error) {
- logger.error('Could not serialize or stream a message.');
- logger.error(error);
- }
- },
- error: (error) => {
- stream.end();
- logger.error(error);
- },
- complete: () => stream.end(),
- });
-
- return stream;
-};
diff --git a/src/plugins/bfetch/server/streaming/create_stream.ts b/src/plugins/bfetch/server/streaming/create_stream.ts
deleted file mode 100644
index bbbbba701756c..0000000000000
--- a/src/plugins/bfetch/server/streaming/create_stream.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { AnalyticsServiceStart, Logger } from '@kbn/core/server';
-import { Stream } from 'stream';
-import { Observable } from 'rxjs';
-import { createCompressedStream } from './create_compressed_stream';
-import { createNDJSONStream } from './create_ndjson_stream';
-
-export function createStream(
- response$: Observable,
- logger: Logger,
- compress: boolean,
- analytics?: AnalyticsServiceStart
-): Stream {
- return compress
- ? createCompressedStream(response$, logger, analytics)
- : createNDJSONStream(response$, logger);
-}
diff --git a/src/plugins/bfetch/server/streaming/index.ts b/src/plugins/bfetch/server/streaming/index.ts
deleted file mode 100644
index 26e34b219959f..0000000000000
--- a/src/plugins/bfetch/server/streaming/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export * from './create_ndjson_stream';
-export * from './create_compressed_stream';
-export * from './create_stream';
diff --git a/src/plugins/bfetch/server/ui_settings.ts b/src/plugins/bfetch/server/ui_settings.ts
deleted file mode 100644
index 132dd19ef8b9c..0000000000000
--- a/src/plugins/bfetch/server/ui_settings.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { i18n } from '@kbn/i18n';
-import { UiSettingsParams } from '@kbn/core/server';
-import { schema } from '@kbn/config-schema';
-import { DISABLE_BFETCH_COMPRESSION, DISABLE_BFETCH } from '../common';
-
-export function getUiSettings(): Record> {
- return {
- [DISABLE_BFETCH]: {
- name: i18n.translate('bfetch.disableBfetch', {
- defaultMessage: 'Disable request batching',
- }),
- value: true,
- description: i18n.translate('bfetch.disableBfetchDesc', {
- defaultMessage:
- 'Disables requests batching. This increases number of HTTP requests from Kibana, but allows to debug requests individually.',
- }),
- schema: schema.boolean(),
- deprecation: {
- message: i18n.translate('bfetch.advancedSettings.disableBfetchDeprecation', {
- defaultMessage: 'This setting is deprecated and will be removed in Kibana 9.0.',
- }),
- docLinksKey: 'generalSettings',
- },
- category: [],
- requiresPageReload: true,
- },
- [DISABLE_BFETCH_COMPRESSION]: {
- name: i18n.translate('bfetch.disableBfetchCompression', {
- defaultMessage: 'Disable batch compression',
- }),
- value: false,
- description: i18n.translate('bfetch.disableBfetchCompressionDesc', {
- defaultMessage:
- 'Disable batch compression. This allows you to debug individual requests, but increases response size.',
- }),
- schema: schema.boolean(),
- deprecation: {
- message: i18n.translate('bfetch.advancedSettings.disableBfetchCompressionDeprecation', {
- defaultMessage: 'This setting is deprecated and will be removed in Kibana 9.0.',
- }),
- docLinksKey: 'generalSettings',
- },
- category: [],
- requiresPageReload: true,
- },
- };
-}
diff --git a/src/plugins/bfetch/tsconfig.json b/src/plugins/bfetch/tsconfig.json
deleted file mode 100644
index d75e6085d4537..0000000000000
--- a/src/plugins/bfetch/tsconfig.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "extends": "../../../tsconfig.base.json",
- "compilerOptions": {
- "outDir": "target/types",
- },
- "include": ["common/**/*", "public/**/*", "server/**/*", "index.ts"],
- "kbn_references": [
- "@kbn/core",
- "@kbn/kibana-utils-plugin",
- "@kbn/i18n",
- "@kbn/config-schema",
- "@kbn/std",
- "@kbn/core-http-common",
- "@kbn/bfetch-error",
- "@kbn/ebt-tools",
- "@kbn/item-buffer",
- ],
- "exclude": [
- "target/**/*",
- ]
-}
diff --git a/src/plugins/data/kibana.jsonc b/src/plugins/data/kibana.jsonc
index 84e692c42648a..0491e87f994e7 100644
--- a/src/plugins/data/kibana.jsonc
+++ b/src/plugins/data/kibana.jsonc
@@ -18,7 +18,6 @@
"browser": true,
"server": true,
"requiredPlugins": [
- "bfetch",
"expressions",
"uiActions",
"share",
@@ -40,4 +39,4 @@
"common"
]
}
-}
\ No newline at end of file
+}
diff --git a/src/plugins/data/public/search/search_service.test.ts b/src/plugins/data/public/search/search_service.test.ts
index 503a8a1d7961d..5654475263242 100644
--- a/src/plugins/data/public/search/search_service.test.ts
+++ b/src/plugins/data/public/search/search_service.test.ts
@@ -7,7 +7,6 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import { bfetchPluginMock } from '@kbn/bfetch-plugin/public/mocks';
import { CoreSetup, CoreStart } from '@kbn/core/public';
import { coreMock } from '@kbn/core/public/mocks';
import { DataViewsContract } from '@kbn/data-views-plugin/common';
@@ -38,10 +37,8 @@ describe('Search service', () => {
describe('setup()', () => {
it('exposes proper contract', async () => {
- const bfetch = bfetchPluginMock.createSetupContract();
const setup = searchService.setup(mockCoreSetup, {
packageInfo: { version: '8' },
- bfetch,
expressions: { registerFunction: jest.fn(), registerType: jest.fn() },
management: managementPluginMock.createSetupContract(),
} as unknown as SearchServiceSetupDependencies);
@@ -55,10 +52,8 @@ describe('Search service', () => {
describe('start()', () => {
let data: ISearchStart;
beforeEach(() => {
- const bfetch = bfetchPluginMock.createSetupContract();
searchService.setup(mockCoreSetup, {
packageInfo: { version: '8' },
- bfetch,
expressions: { registerFunction: jest.fn(), registerType: jest.fn() },
management: managementPluginMock.createSetupContract(),
} as unknown as SearchServiceSetupDependencies);
diff --git a/src/plugins/data/public/types.ts b/src/plugins/data/public/types.ts
index 6cd1878ac6fb8..2191f784c9c04 100644
--- a/src/plugins/data/public/types.ts
+++ b/src/plugins/data/public/types.ts
@@ -7,7 +7,6 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
-import { BfetchPublicSetup } from '@kbn/bfetch-plugin/public';
import { ExpressionsSetup } from '@kbn/expressions-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public';
@@ -32,7 +31,6 @@ import { DataViewsContract } from './data_views';
import { NowProviderPublicContract } from './now_provider';
export interface DataSetupDependencies {
- bfetch: BfetchPublicSetup;
expressions: ExpressionsSetup;
uiActions: UiActionsSetup;
inspector: InspectorSetup;
diff --git a/src/plugins/data/server/plugin.ts b/src/plugins/data/server/plugin.ts
index b74bae5fb76e9..c18353960db57 100644
--- a/src/plugins/data/server/plugin.ts
+++ b/src/plugins/data/server/plugin.ts
@@ -9,7 +9,6 @@
import { CoreSetup, CoreStart, Logger, Plugin, PluginInitializerContext } from '@kbn/core/server';
import { ExpressionsServerSetup } from '@kbn/expressions-plugin/server';
-import { BfetchServerSetup } from '@kbn/bfetch-plugin/server';
import { PluginStart as DataViewsServerPluginStart } from '@kbn/data-views-plugin/server';
import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server';
import { FieldFormatsSetup, FieldFormatsStart } from '@kbn/field-formats-plugin/server';
@@ -47,7 +46,6 @@ export interface DataPluginStart {
}
export interface DataPluginSetupDependencies {
- bfetch: BfetchServerSetup;
expressions: ExpressionsServerSetup;
usageCollection?: UsageCollectionSetup;
fieldFormats: FieldFormatsSetup;
@@ -85,7 +83,7 @@ export class DataServerPlugin
public setup(
core: CoreSetup,
- { bfetch, expressions, usageCollection, fieldFormats }: DataPluginSetupDependencies
+ { expressions, usageCollection, fieldFormats }: DataPluginSetupDependencies
) {
this.scriptsService.setup(core);
const querySetup = this.queryService.setup(core);
@@ -94,7 +92,6 @@ export class DataServerPlugin
core.uiSettings.register(getUiSettings(core.docLinks, this.config.enableUiSettingsValidations));
const searchSetup = this.searchService.setup(core, {
- bfetch,
expressions,
usageCollection,
});
diff --git a/src/plugins/data/server/search/search_service.test.ts b/src/plugins/data/server/search/search_service.test.ts
index 303d9a796ccca..5d26b9e3d3e78 100644
--- a/src/plugins/data/server/search/search_service.test.ts
+++ b/src/plugins/data/server/search/search_service.test.ts
@@ -16,7 +16,6 @@ import { createFieldFormatsStartMock } from '@kbn/field-formats-plugin/server/mo
import { createIndexPatternsStartMock } from '../data_views/mocks';
import { SearchService, SearchServiceSetupDependencies } from './search_service';
-import { bfetchPluginMock } from '@kbn/bfetch-plugin/server/mocks';
import { lastValueFrom, of } from 'rxjs';
import type {
@@ -68,10 +67,8 @@ describe('Search service', () => {
describe('setup()', () => {
it('exposes proper contract', async () => {
- const bfetch = bfetchPluginMock.createSetupContract();
const setup = plugin.setup(mockCoreSetup, {
packageInfo: { version: '8' },
- bfetch,
expressions: {
registerFunction: jest.fn(),
registerType: jest.fn(),
@@ -115,7 +112,6 @@ describe('Search service', () => {
mockSessionClient = createSearchSessionsClientMock();
const pluginSetup = plugin.setup(mockCoreSetup, {
- bfetch: bfetchPluginMock.createSetupContract(),
expressions: expressionsPluginMock.createSetupContract(),
});
pluginSetup.registerSearchStrategy(ENHANCED_ES_SEARCH_STRATEGY, mockStrategy);
diff --git a/src/plugins/data/server/search/search_service.ts b/src/plugins/data/server/search/search_service.ts
index f4d17f4f640e5..f52a94c8bf429 100644
--- a/src/plugins/data/server/search/search_service.ts
+++ b/src/plugins/data/server/search/search_service.ts
@@ -28,7 +28,6 @@ import type {
IEsSearchRequest,
IEsSearchResponse,
} from '@kbn/search-types';
-import { BfetchServerSetup } from '@kbn/bfetch-plugin/server';
import { ExpressionsServerSetup } from '@kbn/expressions-plugin/server';
import { FieldFormatsStart } from '@kbn/field-formats-plugin/server';
import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server';
@@ -106,7 +105,6 @@ type StrategyMap = Record>;
/** @internal */
export interface SearchServiceSetupDependencies {
- bfetch: BfetchServerSetup;
expressions: ExpressionsServerSetup;
usageCollection?: UsageCollectionSetup;
}
@@ -145,7 +143,7 @@ export class SearchService implements Plugin {
public setup(
core: CoreSetup,
- { bfetch, expressions, usageCollection }: SearchServiceSetupDependencies
+ { expressions, usageCollection }: SearchServiceSetupDependencies
): ISearchSetup {
core.savedObjects.registerType(searchSessionSavedObjectType);
const usage = usageCollection ? usageProvider(core) : undefined;
diff --git a/src/plugins/data/tsconfig.json b/src/plugins/data/tsconfig.json
index b1f06b761c0fb..8683afafceb47 100644
--- a/src/plugins/data/tsconfig.json
+++ b/src/plugins/data/tsconfig.json
@@ -14,7 +14,6 @@
],
"kbn_references": [
"@kbn/core",
- "@kbn/bfetch-plugin",
"@kbn/ui-actions-plugin",
"@kbn/share-plugin",
"@kbn/inspector-plugin",
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 1ea36da2d4ba9..1d5ab8fa1a0f8 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -116,10 +116,6 @@
"@kbn/banners-plugin/*": ["x-pack/plugins/banners/*"],
"@kbn/bazel-runner": ["packages/kbn-bazel-runner"],
"@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"],
- "@kbn/bfetch-error": ["packages/kbn-bfetch-error"],
- "@kbn/bfetch-error/*": ["packages/kbn-bfetch-error/*"],
- "@kbn/bfetch-plugin": ["src/plugins/bfetch"],
- "@kbn/bfetch-plugin/*": ["src/plugins/bfetch/*"],
"@kbn/calculate-auto": ["packages/kbn-calculate-auto"],
"@kbn/calculate-auto/*": ["packages/kbn-calculate-auto/*"],
"@kbn/calculate-width-from-char-count": ["packages/kbn-calculate-width-from-char-count"],
diff --git a/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc b/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc
index 44d549843f469..eab5fa622d47a 100644
--- a/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc
+++ b/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc
@@ -38,7 +38,6 @@
"taskManager",
"triggersActionsUi",
"usageCollection",
- "bfetch",
"uiActions",
"unifiedSearch",
"presentationUtil"
diff --git a/x-pack/solutions/observability/plugins/synthetics/server/types.ts b/x-pack/solutions/observability/plugins/synthetics/server/types.ts
index 1a8016830c085..be8d18025209f 100644
--- a/x-pack/solutions/observability/plugins/synthetics/server/types.ts
+++ b/x-pack/solutions/observability/plugins/synthetics/server/types.ts
@@ -22,7 +22,6 @@ import { SharePluginSetup } from '@kbn/share-plugin/server';
import { ObservabilityPluginSetup } from '@kbn/observability-plugin/server';
import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server';
import { TelemetryPluginSetup, TelemetryPluginStart } from '@kbn/telemetry-plugin/server';
-import { BfetchServerSetup } from '@kbn/bfetch-plugin/server';
import { CloudSetup } from '@kbn/cloud-plugin/server';
import { SpacesPluginStart } from '@kbn/spaces-plugin/server';
import { SecurityPluginStart } from '@kbn/security-plugin/server';
@@ -75,7 +74,6 @@ export interface SyntheticsPluginsSetupDependencies {
encryptedSavedObjects: EncryptedSavedObjectsPluginSetup;
taskManager: TaskManagerSetupContract;
telemetry: TelemetryPluginSetup;
- bfetch: BfetchServerSetup;
share: SharePluginSetup;
}
diff --git a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
index 075ef1d3c6443..6ce7da00a3457 100644
--- a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json
@@ -59,7 +59,6 @@
"@kbn/core-saved-objects-api-server",
"@kbn/core-saved-objects-common",
"@kbn/features-plugin",
- "@kbn/bfetch-plugin",
"@kbn/actions-plugin",
"@kbn/core-elasticsearch-server",
"@kbn/core-saved-objects-api-server-mocks",
diff --git a/x-pack/solutions/observability/plugins/uptime/kibana.jsonc b/x-pack/solutions/observability/plugins/uptime/kibana.jsonc
index 25fd311a81f81..95a2d7c37074a 100644
--- a/x-pack/solutions/observability/plugins/uptime/kibana.jsonc
+++ b/x-pack/solutions/observability/plugins/uptime/kibana.jsonc
@@ -38,7 +38,6 @@
"triggersActionsUi",
"usageCollection",
"unifiedSearch",
- "bfetch",
"charts"
],
"optionalPlugins": [
diff --git a/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts b/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts
index 9c20ff432aa7c..67fde1068fbbf 100644
--- a/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts
+++ b/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts
@@ -23,7 +23,6 @@ import { SecurityPluginStart } from '@kbn/security-plugin/server';
import { CloudSetup } from '@kbn/cloud-plugin/server';
import { SpacesPluginStart } from '@kbn/spaces-plugin/server';
import { FleetStartContract } from '@kbn/fleet-plugin/server';
-import { BfetchServerSetup } from '@kbn/bfetch-plugin/server';
import { SharePluginSetup } from '@kbn/share-plugin/server';
import { UptimeEsClient } from '../../lib';
import { UptimeConfig } from '../../../../../common/config';
@@ -59,7 +58,6 @@ export interface UptimeCorePluginsSetup {
ruleRegistry: RuleRegistryPluginSetupContract;
encryptedSavedObjects: EncryptedSavedObjectsPluginSetup;
taskManager: TaskManagerSetupContract;
- bfetch: BfetchServerSetup;
share: SharePluginSetup;
}
diff --git a/x-pack/solutions/observability/plugins/uptime/tsconfig.json b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
index 75d0e1521db38..496ae1f398f2c 100644
--- a/x-pack/solutions/observability/plugins/uptime/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
@@ -58,7 +58,6 @@
"@kbn/features-plugin",
"@kbn/rule-registry-plugin",
"@kbn/security-plugin",
- "@kbn/bfetch-plugin",
"@kbn/alerts-as-data-utils",
"@kbn/std",
"@kbn/utility-types",
diff --git a/x-pack/test/api_integration/apis/maps/bsearch.ts b/x-pack/test/api_integration/apis/maps/bsearch.ts
deleted file mode 100644
index c3161bdfdfa39..0000000000000
--- a/x-pack/test/api_integration/apis/maps/bsearch.ts
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-import request from 'superagent';
-import { inflateResponse } from '@kbn/bfetch-plugin/public/streaming';
-import expect from '@kbn/expect';
-import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common';
-import { BFETCH_ROUTE_VERSION_LATEST } from '@kbn/bfetch-plugin/common';
-import type { FtrProviderContext } from '../../ftr_provider_context';
-
-function parseBfetchResponse(resp: request.Response, compressed: boolean = false) {
- return resp.text
- .trim()
- .split('\n')
- .map((item) => {
- return JSON.parse(compressed ? inflateResponse(item) : item);
- });
-}
-
-export default function ({ getService }: FtrProviderContext) {
- const supertest = getService('supertest');
-
- // Failing: See https://github.com/elastic/kibana/issues/194716
- describe.skip('bsearch', () => {
- describe('ES|QL', () => {
- it(`should return getColumns response in expected shape`, async () => {
- const resp = await supertest
- .post(`/internal/bsearch`)
- .set('kbn-xsrf', 'kibana')
- .set(ELASTIC_HTTP_VERSION_HEADER, BFETCH_ROUTE_VERSION_LATEST)
- .send({
- batch: [
- {
- request: {
- params: {
- query: 'from logstash-* | keep geo.coordinates | limit 0',
- },
- },
- options: {
- strategy: 'esql',
- },
- },
- ],
- });
-
- const jsonBody = parseBfetchResponse(resp);
- expect(resp.status).to.be(200);
- expect(jsonBody[0].result.rawResponse).to.eql({
- columns: [
- {
- name: 'geo.coordinates',
- type: 'geo_point',
- },
- ],
- values: [],
- });
- });
-
- it(`should return getValues response in expected shape`, async () => {
- const resp = await supertest
- .post(`/internal/bsearch`)
- .set('kbn-xsrf', 'kibana')
- .set(ELASTIC_HTTP_VERSION_HEADER, BFETCH_ROUTE_VERSION_LATEST)
- .send({
- batch: [
- {
- request: {
- params: {
- dropNullColumns: true,
- query:
- 'from logstash-* | keep geo.coordinates, @timestamp | sort @timestamp | limit 1',
- },
- },
- options: {
- strategy: 'esql',
- },
- },
- ],
- });
-
- const jsonBody = parseBfetchResponse(resp);
- expect(resp.status).to.be(200);
- expect(jsonBody[0].result.rawResponse).to.eql({
- all_columns: [
- {
- name: 'geo.coordinates',
- type: 'geo_point',
- },
- {
- name: '@timestamp',
- type: 'date',
- },
- ],
- columns: [
- {
- name: 'geo.coordinates',
- type: 'geo_point',
- },
- {
- name: '@timestamp',
- type: 'date',
- },
- ],
- values: [['POINT (-120.9871642 38.68407028)', '2015-09-20T00:00:00.000Z']],
- });
- });
- });
- });
-}
diff --git a/x-pack/test/api_integration/apis/maps/index.js b/x-pack/test/api_integration/apis/maps/index.js
index 88c4f842a07bf..2ca2e5052ab57 100644
--- a/x-pack/test/api_integration/apis/maps/index.js
+++ b/x-pack/test/api_integration/apis/maps/index.js
@@ -38,7 +38,7 @@ export default function ({ loadTestFile, getService }) {
loadTestFile(require.resolve('./migrations'));
loadTestFile(require.resolve('./get_tile'));
loadTestFile(require.resolve('./get_grid_tile'));
- loadTestFile(require.resolve('./bsearch'));
+ loadTestFile(require.resolve('./search'));
});
});
}
diff --git a/x-pack/test/api_integration/apis/maps/search.ts b/x-pack/test/api_integration/apis/maps/search.ts
new file mode 100644
index 0000000000000..757f8cc0b6f8c
--- /dev/null
+++ b/x-pack/test/api_integration/apis/maps/search.ts
@@ -0,0 +1,84 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import expect from '@kbn/expect';
+import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common';
+import { SEARCH_API_BASE_URL } from '@kbn/data-plugin/server/search/routes';
+import { ESQL_SEARCH_STRATEGY } from '@kbn/data-plugin/common';
+import type { FtrProviderContext } from '../../ftr_provider_context';
+
+export default function ({ getService }: FtrProviderContext) {
+ const supertest = getService('supertest');
+
+ describe('search', () => {
+ describe('ES|QL', () => {
+ it(`should return getColumns response in expected shape`, async () => {
+ const resp = await supertest
+ .post(`${SEARCH_API_BASE_URL}/${ESQL_SEARCH_STRATEGY}`)
+ .set('kbn-xsrf', 'kibana')
+ .set(ELASTIC_HTTP_VERSION_HEADER, '1')
+ .send({
+ params: {
+ query: 'from logstash-* | keep geo.coordinates | limit 0',
+ },
+ })
+ .expect(200);
+
+ const { took, ...response } = resp.body.rawResponse;
+ expect(response).to.eql({
+ columns: [
+ {
+ name: 'geo.coordinates',
+ type: 'geo_point',
+ },
+ ],
+ values: [],
+ });
+ });
+
+ it(`should return getValues response in expected shape`, async () => {
+ const resp = await supertest
+ .post(`${SEARCH_API_BASE_URL}/${ESQL_SEARCH_STRATEGY}`)
+ .set('kbn-xsrf', 'kibana')
+ .set(ELASTIC_HTTP_VERSION_HEADER, '1')
+ .send({
+ params: {
+ dropNullColumns: true,
+ query:
+ 'from logstash-* | keep geo.coordinates, @timestamp | sort @timestamp | limit 1',
+ },
+ })
+ .expect(200);
+
+ const { took, ...response } = resp.body.rawResponse;
+ expect(response).to.eql({
+ all_columns: [
+ {
+ name: 'geo.coordinates',
+ type: 'geo_point',
+ },
+ {
+ name: '@timestamp',
+ type: 'date',
+ },
+ ],
+ columns: [
+ {
+ name: 'geo.coordinates',
+ type: 'geo_point',
+ },
+ {
+ name: '@timestamp',
+ type: 'date',
+ },
+ ],
+ values: [['POINT (-120.9871642 38.68407028)', '2015-09-20T00:00:00.000Z']],
+ });
+ });
+ });
+ });
+}
diff --git a/x-pack/test/functional/apps/management/feature_controls/management_security.ts b/x-pack/test/functional/apps/management/feature_controls/management_security.ts
index 286963b77d53b..9f73f5500cb4d 100644
--- a/x-pack/test/functional/apps/management/feature_controls/management_security.ts
+++ b/x-pack/test/functional/apps/management/feature_controls/management_security.ts
@@ -82,8 +82,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
sectionLinks: [
'dataViews',
'filesManagement',
- 'aiAssistantManagementSelection',
'objects',
+ 'aiAssistantManagementSelection',
'tags',
'search_sessions',
'spaces',
diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json
index ce202abc9738a..381355a6439a6 100644
--- a/x-pack/test/tsconfig.json
+++ b/x-pack/test/tsconfig.json
@@ -130,7 +130,6 @@
"@kbn/telemetry-tools",
"@kbn/profiling-plugin",
"@kbn/observability-onboarding-plugin",
- "@kbn/bfetch-plugin",
"@kbn/uptime-plugin",
"@kbn/ml-category-validator",
"@kbn/observability-ai-assistant-plugin",
diff --git a/yarn.lock b/yarn.lock
index bf8c0d92dc79c..58329763b0fb5 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4049,14 +4049,6 @@
version "0.0.0"
uid ""
-"@kbn/bfetch-error@link:packages/kbn-bfetch-error":
- version "0.0.0"
- uid ""
-
-"@kbn/bfetch-plugin@link:src/plugins/bfetch":
- version "0.0.0"
- uid ""
-
"@kbn/calculate-auto@link:packages/kbn-calculate-auto":
version "0.0.0"
uid ""
From 0952f6e0f52771b3503c9ddd2afd793d8ed86709 Mon Sep 17 00:00:00 2001
From: Lukas Olson
Date: Thu, 19 Dec 2024 14:55:29 -0700
Subject: [PATCH 50/59] Fix resolve index API to not throw 500 when
encountering `no_such_remote_cluster_exception` (#204802)
## Summary
Fixes https://github.com/elastic/kibana/issues/197747.
Updates the `/internal/index-pattern-management/resolve_index/{query}`
route to properly handle `no_such_remote_cluster_exception` and return
`404` rather than `500` server error.
Adds unit tests for the route handler.
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
---------
Co-authored-by: Julia Rechkunova
---
.../server/routes/resolve_index.test.ts | 243 ++++++++++++++++++
.../server/routes/resolve_index.ts | 4 +-
.../data_views/resolve_index/resolve_index.ts | 10 +-
3 files changed, 255 insertions(+), 2 deletions(-)
create mode 100644 src/plugins/data_view_management/server/routes/resolve_index.test.ts
diff --git a/src/plugins/data_view_management/server/routes/resolve_index.test.ts b/src/plugins/data_view_management/server/routes/resolve_index.test.ts
new file mode 100644
index 0000000000000..90894edff4880
--- /dev/null
+++ b/src/plugins/data_view_management/server/routes/resolve_index.test.ts
@@ -0,0 +1,243 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+import type { MockedKeys } from '@kbn/utility-types-jest';
+import { CoreSetup, RequestHandlerContext } from '@kbn/core/server';
+import { coreMock, httpServerMock } from '@kbn/core/server/mocks';
+import { registerResolveIndexRoute } from './resolve_index';
+
+const mockResponseIndices = {
+ indices: [
+ {
+ name: 'kibana_sample_data_logs',
+ attributes: ['open'],
+ },
+ ],
+ aliases: [],
+ data_streams: [],
+};
+
+const mockResponseEmpty = {
+ indices: [],
+ aliases: [],
+ data_streams: [],
+};
+
+const mockError403 = {
+ meta: {
+ body: {
+ error: {
+ root_cause: [
+ {
+ type: 'no_such_remote_cluster_exception',
+ reason: 'no such remote cluster: [cluster1]',
+ },
+ ],
+ type: 'security_exception',
+ reason:
+ 'action [indices:admin/resolve/index] is unauthorized for user [elastic] with effective roles [superuser], this action is granted by the index privileges [view_index_metadata,manage,read,all]',
+ caused_by: {
+ type: 'no_such_remote_cluster_exception',
+ reason: 'no such remote cluster: [cluster1]',
+ },
+ },
+ status: 403,
+ },
+ statusCode: 403,
+ },
+};
+
+const mockError404 = {
+ meta: {
+ body: {
+ error: {
+ root_cause: [
+ {
+ type: 'index_not_found_exception',
+ reason: 'no such index [asdf]',
+ 'resource.type': 'index_or_alias',
+ 'resource.id': 'asdf',
+ index_uuid: '_na_',
+ index: 'asdf',
+ },
+ ],
+ type: 'index_not_found_exception',
+ reason: 'no such index [asdf]',
+ 'resource.type': 'index_or_alias',
+ 'resource.id': 'asdf',
+ index_uuid: '_na_',
+ index: 'asdf',
+ },
+ status: 404,
+ },
+ statusCode: 404,
+ },
+};
+
+describe('resolve_index route', () => {
+ let mockCoreSetup: MockedKeys;
+
+ beforeEach(() => {
+ mockCoreSetup = coreMock.createSetup();
+ });
+
+ it('handler calls /_resolve/index with the given request', async () => {
+ const mockClient = {
+ indices: {
+ resolveIndex: jest.fn().mockResolvedValue(mockResponseIndices),
+ },
+ };
+ const mockContext = {
+ core: {
+ elasticsearch: { client: { asCurrentUser: mockClient } },
+ },
+ };
+ const mockRequest = httpServerMock.createKibanaRequest({
+ params: {
+ query: 'kibana_sample_data_logs',
+ },
+ });
+ const mockResponse = httpServerMock.createResponseFactory();
+
+ registerResolveIndexRoute(mockCoreSetup.http.createRouter());
+
+ const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value;
+ const handler = mockRouter.get.mock.calls[0][1];
+ await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse);
+
+ expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "expand_wildcards": "open",
+ "name": "kibana_sample_data_logs",
+ }
+ `);
+
+ expect(mockResponse.ok).toBeCalled();
+ expect(mockResponse.ok.mock.calls[0][0]).toEqual({ body: mockResponseIndices });
+ });
+
+ it('should return 200 for a search for indices with wildcard', async () => {
+ const mockClient = {
+ indices: {
+ resolveIndex: jest.fn().mockResolvedValue(mockResponseEmpty),
+ },
+ };
+ const mockContext = {
+ core: {
+ elasticsearch: { client: { asCurrentUser: mockClient } },
+ },
+ };
+ const mockRequest = httpServerMock.createKibanaRequest({
+ params: {
+ query: 'asdf*',
+ },
+ });
+ const mockResponse = httpServerMock.createResponseFactory();
+
+ registerResolveIndexRoute(mockCoreSetup.http.createRouter());
+
+ const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value;
+ const handler = mockRouter.get.mock.calls[0][1];
+ await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse);
+
+ expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "expand_wildcards": "open",
+ "name": "asdf*",
+ }
+ `);
+
+ expect(mockResponse.ok).toBeCalled();
+ expect(mockResponse.ok.mock.calls[0][0]).toEqual({ body: mockResponseEmpty });
+ });
+
+ it('returns 404 when hitting a 403 from Elasticsearch', async () => {
+ const mockClient = {
+ indices: {
+ resolveIndex: jest.fn().mockRejectedValue(mockError403),
+ },
+ };
+ const mockContext = {
+ core: {
+ elasticsearch: { client: { asCurrentUser: mockClient } },
+ },
+ };
+ const mockRequest = httpServerMock.createKibanaRequest({
+ params: {
+ query: 'cluster1:filebeat-*,cluster2:filebeat-*',
+ },
+ });
+ const mockResponse = httpServerMock.createResponseFactory();
+
+ registerResolveIndexRoute(mockCoreSetup.http.createRouter());
+
+ const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value;
+ const handler = mockRouter.get.mock.calls[0][1];
+
+ await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse);
+
+ expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "expand_wildcards": "open",
+ "name": "cluster1:filebeat-*,cluster2:filebeat-*",
+ }
+ `);
+
+ expect(mockResponse.notFound).toBeCalled();
+ expect(mockResponse.notFound.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "body": Object {
+ "message": "action [indices:admin/resolve/index] is unauthorized for user [elastic] with effective roles [superuser], this action is granted by the index privileges [view_index_metadata,manage,read,all]",
+ },
+ }
+ `);
+ });
+
+ it('returns 404 when hitting a 404 from Elasticsearch', async () => {
+ const mockClient = {
+ indices: {
+ resolveIndex: jest.fn().mockRejectedValue(mockError404),
+ },
+ };
+ const mockContext = {
+ core: {
+ elasticsearch: { client: { asCurrentUser: mockClient } },
+ },
+ };
+ const mockRequest = httpServerMock.createKibanaRequest({
+ params: {
+ query: 'asdf',
+ },
+ });
+ const mockResponse = httpServerMock.createResponseFactory();
+
+ registerResolveIndexRoute(mockCoreSetup.http.createRouter());
+
+ const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value;
+ const handler = mockRouter.get.mock.calls[0][1];
+
+ await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse);
+
+ expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "expand_wildcards": "open",
+ "name": "asdf",
+ }
+ `);
+
+ expect(mockResponse.notFound).toBeCalled();
+ expect(mockResponse.notFound.mock.calls[0][0]).toMatchInlineSnapshot(`
+ Object {
+ "body": Object {
+ "message": "no such index [asdf]",
+ },
+ }
+ `);
+ });
+});
diff --git a/src/plugins/data_view_management/server/routes/resolve_index.ts b/src/plugins/data_view_management/server/routes/resolve_index.ts
index f51027e55f9ca..04e3865fd8592 100644
--- a/src/plugins/data_view_management/server/routes/resolve_index.ts
+++ b/src/plugins/data_view_management/server/routes/resolve_index.ts
@@ -47,7 +47,9 @@ export function registerResolveIndexRoute(router: IRouter): void {
});
return res.ok({ body });
} catch (e) {
- if (e?.meta.statusCode === 404) {
+ // 403: no_such_remote_cluster_exception
+ // 404: index_not_found_exception
+ if ([403, 404].includes(e?.meta.statusCode)) {
return res.notFound({ body: { message: e.meta?.body?.error?.reason } });
} else {
throw getKbnServerError(e);
diff --git a/test/api_integration/apis/data_views/resolve_index/resolve_index.ts b/test/api_integration/apis/data_views/resolve_index/resolve_index.ts
index cd13d23e80c1e..221b63b05fe8c 100644
--- a/test/api_integration/apis/data_views/resolve_index/resolve_index.ts
+++ b/test/api_integration/apis/data_views/resolve_index/resolve_index.ts
@@ -22,10 +22,18 @@ export default function ({ getService }: FtrProviderContext) {
.set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana')
.expect(200));
- it('should return 404 for an exact match index', () =>
+ it('should return 404 when no indices match', () =>
supertest
.get(`/internal/index-pattern-management/resolve_index/test`)
.set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana')
.expect(404));
+
+ it('should return 404 when cluster is not found', () =>
+ supertest
+ .get(
+ `/internal/index-pattern-management/resolve_index/cluster1:filebeat-*,cluster2:filebeat-*`
+ )
+ .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana')
+ .expect(404));
});
}
From 223781cdd176c5197d718252fa9a20abcb23553d Mon Sep 17 00:00:00 2001
From: Gerard Soldevila
Date: Thu, 19 Dec 2024 23:20:53 +0100
Subject: [PATCH 51/59] Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-ux-logs-team` (#202831)
## Summary
This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.
> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
> * customised eslint rules
> * docs pointing to source code
> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.
Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).
#### 7 plugin(s) are going to be relocated:
| Id | Target folder |
| -- | ------------- |
| `@kbn/data-quality-plugin` |
`x-pack/solutions/observability/plugins/data_quality` |
| `@kbn/dataset-quality-plugin` |
`x-pack/solutions/observability/plugins/dataset_quality` |
| `@kbn/fields-metadata-plugin` |
`x-pack/platform/plugins/shared/fields_metadata` |
| `@kbn/infra-plugin` | `x-pack/solutions/observability/plugins/infra` |
| `@kbn/logs-explorer-plugin` |
`x-pack/solutions/observability/plugins/logs_explorer` |
| `@kbn/observability-logs-explorer-plugin` |
`x-pack/solutions/observability/plugins/observability_logs_explorer` |
| `@kbn/observability-onboarding-plugin` |
`x-pack/solutions/observability/plugins/observability_onboarding` |
#### 9 packages(s) are going to be relocated:
| Id | Target folder |
| -- | ------------- |
| `@kbn/custom-icons` | `src/platform/packages/shared/kbn-custom-icons`
|
| `@kbn/custom-integrations` |
`x-pack/solutions/observability/packages/kbn-custom-integrations` |
| `@kbn/discover-contextual-components` |
`src/platform/packages/shared/kbn-discover-contextual-components` |
| `@kbn/elastic-agent-utils` |
`src/platform/packages/shared/kbn-elastic-agent-utils` |
| `@kbn/observability-logs-overview` |
`x-pack/solutions/observability/packages/logs_overview` |
| `@kbn/react-hooks` | `src/platform/packages/shared/kbn-react-hooks` |
| `@kbn/router-utils` | `src/platform/packages/shared/kbn-router-utils`
|
| `@kbn/timerange` | `src/platform/packages/shared/kbn-timerange` |
| `@kbn/xstate-utils` |
`x-pack/solutions/observability/packages/kbn-xstate-utils` |
Updated references
```
./.buildkite/ftr_oblt_stateful_configs.yml
./.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh
./.eslintrc.js
./.i18nrc.json
./docs/developer/plugin-list.asciidoc
./oas_docs/overlays/alerting.overlays.yaml
./package.json
./packages/kbn-ebt-tools/BUILD.bazel
./packages/kbn-repo-packages/package-map.json
./packages/kbn-text-based-editor/tsconfig.type_check.json
./packages/kbn-ts-projects/config-paths.json
./src/dev/storybook/aliases.ts
./src/platform/packages/shared/kbn-custom-icons/jest.config.js
./src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js
./src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js
./src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json
./src/platform/packages/shared/kbn-react-hooks/jest.config.js
./src/platform/packages/shared/kbn-router-utils/jest.config.js
./src/platform/packages/shared/kbn-timerange/jest.config.js
./src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json
./src/platform/plugins/shared/discover/tsconfig.type_check.json
./src/platform/plugins/shared/esql/tsconfig.type_check.json
./src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json
./src/plugins/vis_types/timeseries/server/plugin.ts
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/platform/plugins/shared/fields_metadata/jest.config.js
./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json
./x-pack/plugins/observability_solution/infra/tsconfig.type_check.json
./x-pack/plugins/observability_solution/logs_shared/tsconfig.type_check.json
./x-pack/plugins/observability_solution/metrics_data_access/tsconfig.type_check.json
./x-pack/plugins/observability_solution/observability_logs_explorer/README.md
./x-pack/plugins/observability_solution/observability_onboarding/tsconfig.type_check.json
./x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js
./x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js
./x-pack/solutions/observability/packages/logs_overview/jest.config.js
./x-pack/solutions/observability/plugins/data_quality/jest.config.js
./x-pack/solutions/observability/plugins/dataset_quality/README.md
./x-pack/solutions/observability/plugins/dataset_quality/jest.config.js
./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
./x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md
./x-pack/solutions/observability/plugins/infra/jest.config.js
./x-pack/solutions/observability/plugins/infra/public/plugin.ts
./x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/logs_explorer/jest.config.js
./x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts
./x-pack/solutions/observability/plugins/observability_logs_explorer/README.md
./x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js
./x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md
./x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js
./x-pack/test/tsconfig.type_check.json
./x-pack/test_serverless/tsconfig.type_check.json
./yarn.lock
.github/CODEOWNERS
```
Updated relative paths
```
src/platform/packages/shared/kbn-custom-icons/jest.config.js:12
src/platform/packages/shared/kbn-custom-icons/tsconfig.json:2
src/platform/packages/shared/kbn-custom-icons/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-custom-icons/tsconfig.type_check.json:26
src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js:12
src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json:2
src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js:12
src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json:2
src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-react-hooks/jest.config.js:12
src/platform/packages/shared/kbn-react-hooks/tsconfig.json:2
src/platform/packages/shared/kbn-react-hooks/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-router-utils/jest.config.js:12
src/platform/packages/shared/kbn-router-utils/tsconfig.json:2
src/platform/packages/shared/kbn-router-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-timerange/jest.config.js:12
src/platform/packages/shared/kbn-timerange/tsconfig.json:2
src/platform/packages/shared/kbn-timerange/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fields_metadata/jest.config.js:10
x-pack/platform/plugins/shared/fields_metadata/tsconfig.json:2
x-pack/platform/plugins/shared/fields_metadata/tsconfig.json:7
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:20
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:26
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:29
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:32
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:35
x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:9
x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js:12
x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json:2
x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.type_check.json:2
x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.type_check.json:27
x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.type_check.json:30
x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js:12
x-pack/solutions/observability/packages/kbn-xstate-utils/tsconfig.json:2
x-pack/solutions/observability/packages/kbn-xstate-utils/tsconfig.type_check.json:2
x-pack/solutions/observability/packages/logs_overview/jest.config.js:10
x-pack/solutions/observability/packages/logs_overview/tsconfig.json:2
x-pack/solutions/observability/plugins/data_quality/jest.config.js:10
x-pack/solutions/observability/plugins/data_quality/tsconfig.json:11
x-pack/solutions/observability/plugins/data_quality/tsconfig.json:2
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:13
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:20
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:26
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:29
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:32
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:35
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:38
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:41
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:44
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:47
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:50
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:53
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:59
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:62
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:65
x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:68
x-pack/solutions/observability/plugins/dataset_quality/jest.config.js:10
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.json:10
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.json:2
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:100
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:103
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:106
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:109
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:112
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:115
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:118
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:12
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:121
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:124
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:130
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:133
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:136
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:139
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:142
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:145
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:148
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:151
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:154
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:157
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:19
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:22
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:25
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:28
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:31
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:34
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:37
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:40
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:43
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:46
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:49
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:52
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:55
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:61
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:64
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:67
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:70
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:73
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:76
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:79
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:85
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:88
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:91
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:94
x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:97
x-pack/solutions/observability/plugins/infra/README.md:121
x-pack/solutions/observability/plugins/infra/README.md:29
x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md:18
x-pack/solutions/observability/plugins/infra/jest.config.js:10
x-pack/solutions/observability/plugins/infra/tsconfig.json:2
x-pack/solutions/observability/plugins/infra/tsconfig.json:7
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:101
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:104
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:107
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:110
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:113
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:116
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:119
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:122
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:125
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:128
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:131
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:134
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:137
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:140
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:143
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:146
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:149
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:152
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:155
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:158
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:161
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:164
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:167
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:170
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:173
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:182
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:185
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:188
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:191
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:194
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:20
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:200
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:203
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:209
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:212
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:215
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:218
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:221
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:227
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:23
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:230
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:236
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:239
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:242
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:245
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:248
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:251
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:254
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:257
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:26
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:260
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:263
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:266
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:269
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:272
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:275
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:278
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:281
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:284
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:287
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:29
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:290
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:293
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:296
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:299
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:305
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:308
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:311
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:314
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:32
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:35
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:38
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:41
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:44
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:47
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:50
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:53
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:56
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:62
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:65
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:68
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:71
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:74
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:77
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:80
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:83
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:86
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:89
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:9
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:92
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:95
x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:98
x-pack/solutions/observability/plugins/logs_explorer/jest.config.js:10
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json:2
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json:7
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:101
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:104
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:107
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:110
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:113
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:116
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:119
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:122
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:125
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:20
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:23
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:26
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:29
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:32
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:35
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:38
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:41
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:44
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:47
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:50
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:53
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:56
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:59
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:62
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:65
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:68
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:71
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:74
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:77
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:80
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:83
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:86
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:89
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:9
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:92
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:95
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:98
x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js:10
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json:7
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:104
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:107
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:110
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:113
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:116
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:119
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:125
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:128
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:131
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:20
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:23
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:26
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:29
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:32
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:35
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:38
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:41
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:44
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:47
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:50
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:53
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:56
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:68
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:71
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:74
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:77
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:80
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:83
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:86
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:89
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:9
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:92
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:98
x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md:3
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json:11
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:23
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:26
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:29
x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js:12
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json:9
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:102
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:105
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:108
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:111
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:114
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:21
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:24
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:27
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:33
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:36
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:39
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:42
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:45
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:48
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:51
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:54
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:60
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:63
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:66
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:69
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:72
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:75
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:78
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:81
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:84
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:87
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:9
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:90
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:93
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:96
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:99
```
---------
Co-authored-by: Giorgos Bamparopoulos
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
.buildkite/ftr_oblt_stateful_configs.yml | 6 +-
.../observability_onboarding_cypress.sh | 2 +-
.eslintrc.js | 2 +-
.github/CODEOWNERS | 128 +++++++-------
.i18nrc.json | 4 +-
docs/developer/plugin-list.asciidoc | 18 +-
oas_docs/overlays/alerting.overlays.yaml | 6 +-
package.json | 38 ++--
.../kbn-custom-integrations/jest.config.js | 14 --
.../src/components/index.ts | 13 --
.../src/hooks/index.ts | 12 --
.../custom_integrations/defaults.ts | 14 --
.../custom_integrations/selectors.ts | 13 --
.../src/state_machines/index.ts | 12 --
packages/kbn-ebt-tools/BUILD.bazel | 2 +-
packages/kbn-router-utils/jest.config.js | 14 --
.../lib/config/run_check_ftr_configs_cli.ts | 2 +-
packages/kbn-timerange/jest.config.js | 14 --
src/dev/storybook/aliases.ts | 6 +-
.../kbn-custom-icons/.storybook/main.js | 0
.../shared}/kbn-custom-icons/README.md | 0
.../kbn-custom-icons/assets/android.svg | 0
.../shared}/kbn-custom-icons/assets/cpp.svg | 0
.../kbn-custom-icons/assets/cpp_dark.svg | 0
.../kbn-custom-icons/assets/default.svg | 0
.../kbn-custom-icons/assets/dot_net.svg | 0
.../kbn-custom-icons/assets/erlang.svg | 0
.../kbn-custom-icons/assets/erlang_dark.svg | 0
.../kbn-custom-icons/assets/functions.svg | 0
.../shared}/kbn-custom-icons/assets/go.svg | 0
.../shared}/kbn-custom-icons/assets/ios.svg | 0
.../kbn-custom-icons/assets/ios_dark.svg | 0
.../shared}/kbn-custom-icons/assets/java.svg | 0
.../kbn-custom-icons/assets/lambda.svg | 0
.../kbn-custom-icons/assets/nodejs.svg | 0
.../shared}/kbn-custom-icons/assets/ocaml.svg | 0
.../kbn-custom-icons/assets/opentelemetry.svg | 0
.../kbn-custom-icons/assets/otel_default.svg | 0
.../shared}/kbn-custom-icons/assets/php.svg | 0
.../kbn-custom-icons/assets/php_dark.svg | 0
.../kbn-custom-icons/assets/python.svg | 0
.../shared}/kbn-custom-icons/assets/ruby.svg | 0
.../shared}/kbn-custom-icons/assets/rumjs.svg | 0
.../kbn-custom-icons/assets/rumjs_dark.svg | 0
.../shared}/kbn-custom-icons/assets/rust.svg | 0
.../kbn-custom-icons/assets/rust_dark.svg | 0
.../shared}/kbn-custom-icons/index.ts | 0
.../shared/kbn-custom-icons}/jest.config.js | 4 +-
.../shared}/kbn-custom-icons/kibana.jsonc | 0
.../shared}/kbn-custom-icons/package.json | 0
.../agent_icon/agent_icon.stories.tsx | 0
.../agent_icon/get_agent_icon.test.ts | 0
.../components/agent_icon/get_agent_icon.ts | 0
.../agent_icon/get_serverless_icon.ts | 0
.../src/components/agent_icon/index.tsx | 0
.../cloud_provider_icon.stories.tsx | 0
.../get_cloud_provider_icon.ts | 0
.../components/cloud_provider_icon/index.tsx | 0
.../shared}/kbn-custom-icons/tsconfig.json | 2 +-
.../README.md | 0
.../index.ts | 0
.../jest.config.js | 14 ++
.../kibana.jsonc | 0
.../package.json | 0
.../logs/components/cell_actions_popover.tsx | 0
.../src/data_types/logs/components/index.ts | 0
.../log_level_badge_cell.test.tsx | 0
.../log_level_badge_cell.tsx | 0
.../service_name_badge_with_actions.tsx | 0
.../components/summary_column/content.tsx | 0
.../logs/components/summary_column/index.ts | 0
.../components/summary_column/resource.tsx | 0
.../summary_column/summary_column.test.tsx | 0
.../summary_column/summary_column.tsx | 0
.../logs/components/summary_column/utils.tsx | 0
.../logs/components/translations.tsx | 0
.../src/index.ts | 0
.../tsconfig.json | 2 +-
.../shared}/kbn-elastic-agent-utils/README.md | 0
.../shared}/kbn-elastic-agent-utils/index.ts | 0
.../kbn-elastic-agent-utils/jest.config.js | 14 ++
.../kbn-elastic-agent-utils/kibana.jsonc | 0
.../kbn-elastic-agent-utils/package.json | 0
.../src/agent_guards.test.ts | 0
.../src/agent_guards.ts | 0
.../src/agent_names.ts | 0
.../kbn-elastic-agent-utils/tsconfig.json | 2 +-
.../shared}/kbn-react-hooks/README.md | 0
.../packages/shared}/kbn-react-hooks/index.ts | 0
.../shared/kbn-react-hooks}/jest.config.js | 4 +-
.../shared}/kbn-react-hooks/kibana.jsonc | 0
.../shared}/kbn-react-hooks/package.json | 0
.../kbn-react-hooks/src/use_boolean/index.ts | 0
.../src/use_boolean/use_boolean.test.ts | 0
.../src/use_boolean/use_boolean.ts | 0
.../src/use_error_text_style/index.ts | 0
.../use_error_text_style.ts | 0
.../shared}/kbn-react-hooks/tsconfig.json | 2 +-
.../shared}/kbn-router-utils/README.md | 0
.../shared}/kbn-router-utils/index.ts | 0
.../shared/kbn-router-utils}/jest.config.js | 4 +-
.../shared}/kbn-router-utils/kibana.jsonc | 0
.../shared}/kbn-router-utils/package.json | 0
.../src/get_router_link_props/index.ts | 0
.../shared}/kbn-router-utils/tsconfig.json | 2 +-
.../shared}/kbn-timerange/BUILD.bazel | 0
.../packages/shared}/kbn-timerange/README.md | 0
.../packages/shared}/kbn-timerange/index.ts | 0
.../shared/kbn-timerange}/jest.config.js | 4 +-
.../shared}/kbn-timerange/kibana.jsonc | 0
.../shared}/kbn-timerange/package.json | 0
.../shared}/kbn-timerange/src/index.ts | 0
.../shared}/kbn-timerange/tsconfig.json | 2 +-
.../shared}/kbn-xstate-utils/README.md | 0
.../shared}/kbn-xstate-utils/index.ts | 0
.../shared}/kbn-xstate-utils/jest.config.js | 4 +-
.../shared}/kbn-xstate-utils/kibana.jsonc | 0
.../shared}/kbn-xstate-utils/package.json | 0
.../shared}/kbn-xstate-utils/src/actions.ts | 0
.../kbn-xstate-utils/src/console_inspector.ts | 0
.../shared}/kbn-xstate-utils/src/dev_tools.ts | 0
.../shared}/kbn-xstate-utils/src/index.ts | 0
.../src/notification_channel.ts | 0
.../shared}/kbn-xstate-utils/src/types.ts | 0
.../shared}/kbn-xstate-utils/tsconfig.json | 2 +-
src/plugins/discover_shared/README.md | 2 +-
.../vis_types/timeseries/server/plugin.ts | 2 +-
tsconfig.base.json | 76 ++++----
x-pack/.i18nrc.json | 18 +-
.../observability/logs_overview/README.md | 0
.../observability/logs_overview/index.ts | 0
.../logs_overview/jest.config.js | 4 +-
.../observability/logs_overview/kibana.jsonc | 0
.../observability/logs_overview/package.json | 0
.../discover_link/discover_link.tsx | 0
.../src/components/discover_link/index.ts | 0
.../src/components/log_categories/index.ts | 0
.../log_categories/log_categories.tsx | 0
.../log_categories_control_bar.tsx | 0
.../log_categories_error_content.tsx | 0
.../log_categories/log_categories_grid.tsx | 0
.../log_categories_grid_cell.tsx | 0
.../log_categories_grid_change_time_cell.tsx | 0
.../log_categories_grid_change_type_cell.tsx | 0
.../log_categories_grid_control_columns.tsx | 0
.../log_categories_grid_count_cell.tsx | 0
.../log_categories_grid_expand_button.tsx | 0
.../log_categories_grid_histogram_cell.tsx | 0
.../log_categories_grid_pattern_cell.tsx | 0
.../log_categories_loading_content.tsx | 0
.../log_categories_result_content.tsx | 0
.../log_category_details_error_content.tsx | 0
.../log_category_details_flyout.tsx | 0
.../log_category_details_loading_content.tsx | 0
.../log_category_document_examples_table.tsx | 0
.../src/components/logs_overview/index.ts | 0
.../logs_overview/logs_overview.tsx | 0
.../logs_overview_error_content.tsx | 0
.../logs_overview_loading_content.tsx | 0
.../shared/log_category_pattern.tsx | 0
.../categorize_documents.ts | 0
.../categorize_logs_service.ts | 0
.../count_documents.ts | 0
.../services/categorize_logs_service/index.ts | 0
.../categorize_logs_service/queries.ts | 0
.../services/categorize_logs_service/types.ts | 0
.../category_details_service.ts | 0
.../category_details_service/index.ts | 0
.../category_details_service/types.ts | 0
.../observability/logs_overview/src/types.ts | 0
.../logs_overview/src/utils/log_category.ts | 0
.../logs_overview/src/utils/logs_source.ts | 0
.../logs_overview/src/utils/xstate5_utils.ts | 0
.../observability/logs_overview/tsconfig.json | 2 +-
.../plugins/shared}/data_quality/README.md | 0
.../shared}/data_quality/common/index.ts | 0
...ct_dataset_quality_details_locator_path.ts | 0
.../construct_dataset_quality_locator_path.ts | 0
.../dataset_quality_details_locator.ts | 0
.../locators/dataset_quality_locator.ts | 0
.../data_quality/common/locators/index.ts | 0
.../common/locators/locators.test.ts | 0
.../data_quality/common/locators/types.ts | 0
.../data_quality/common/url_schema/common.ts | 0
.../dataset_quality_details_url_schema_v1.ts | 0
.../dataset_quality_url_schema_v1.ts | 0
.../data_quality/common/url_schema/index.ts | 0
.../common/utils/deep_compact_object.ts | 0
.../shared}/data_quality/jest.config.js | 7 +-
.../plugins/shared}/data_quality/kibana.jsonc | 0
.../data_quality/public/application.tsx | 0
.../shared}/data_quality/public/index.ts | 0
.../shared}/data_quality/public/plugin.ts | 0
.../public/routes/dataset_quality/context.tsx | 0
.../public/routes/dataset_quality/index.tsx | 0
.../routes/dataset_quality/url_schema_v1.ts | 0
.../url_state_storage_service.ts | 0
.../dataset_quality_details/context.tsx | 0
.../routes/dataset_quality_details/index.tsx | 0
.../dataset_quality_details/url_schema_v1.ts | 0
.../url_state_storage_service.ts | 0
.../data_quality/public/routes/index.tsx | 0
.../shared}/data_quality/public/types.ts | 0
.../public/utils/kbn_url_state_context.ts | 0
.../public/utils/use_breadcrumbs.tsx | 0
.../data_quality/public/utils/use_kibana.tsx | 0
.../shared}/data_quality/server/features.ts | 0
.../shared}/data_quality/server/index.ts | 0
.../shared}/data_quality/server/plugin.ts | 0
.../shared}/data_quality/server/types.ts | 0
.../shared}/data_quality/tsconfig.json | 4 +-
.../plugins/shared}/dataset_quality/README.md | 10 +-
.../dataset_quality/common/api_types.ts | 0
.../dataset_quality/common/constants.ts | 0
.../common/data_stream_details/index.ts | 0
.../common/data_stream_details/types.ts | 0
.../data_streams_stats/data_stream_stat.ts | 0
.../common/data_streams_stats/index.ts | 0
.../common/data_streams_stats/integration.ts | 0
.../common/data_streams_stats/types.ts | 0
.../shared}/dataset_quality/common/errors.ts | 0
.../dataset_quality/common/es_fields/index.ts | 0
.../dataset_quality/common/fetch_options.ts | 0
.../shared}/dataset_quality/common/index.ts | 0
.../dataset_quality/common/plugin_config.ts | 0
.../dataset_quality/common/rest/call_api.ts | 0
.../rest/create_call_dataset_quality_api.ts | 0
.../dataset_quality/common/rest/index.ts | 0
.../dataset_quality/common/translations.ts | 0
.../dataset_quality/common/types/common.ts | 0
.../common/types/dataset_types.ts | 0
.../dataset_quality/common/types/index.ts | 0
.../common/types/quality_types.ts | 0
.../common/utils/component_template_name.ts | 0
.../common/utils/dataset_name.test.ts | 0
.../common/utils/dataset_name.ts | 0
.../dataset_quality/common/utils/index.ts | 0
.../common/utils/quality_helpers.ts | 0
.../shared/dataset_quality}/jest.config.js | 8 +-
.../shared}/dataset_quality/kibana.jsonc | 0
.../components/common/descriptive_switch.tsx | 0
.../public/components/common/index.ts | 0
.../common/insufficient_privileges.tsx | 0
.../components/common/integration_icon.tsx | 0
.../public/components/common/spark_plot.tsx | 0
.../components/common/vertical_rule.tsx | 0
.../components/dataset_quality/context.ts | 0
.../dataset_quality/dataset_quality.tsx | 0
.../empty_state/empty_state.tsx | 0
.../dataset_quality/filters/filter_bar.tsx | 0
.../dataset_quality/filters/filters.tsx | 0
.../filters/integrations_selector.tsx | 0
.../filters/namespaces_selector.tsx | 0
.../filters/qualities_selector.tsx | 0
.../dataset_quality/filters/selector.tsx | 0
.../components/dataset_quality/header.tsx | 0
.../components/dataset_quality/index.tsx | 0
.../summary_panel/data_placeholder.tsx | 0
.../summary_panel/datasets_activity.tsx | 0
.../datasets_quality_indicators.tsx | 0
.../summary_panel/estimated_data.tsx | 0
.../summary_panel/summary_panel.tsx | 0
.../dataset_quality/table/columns.tsx | 0
.../dataset_quality_details_link.test.tsx | 0
.../table/dataset_quality_details_link.tsx | 0
.../table/degraded_docs_percentage_link.tsx | 0
.../dataset_quality/table/table.tsx | 0
.../dataset_quality/warnings/warnings.tsx | 0
.../dataset_quality_details/context.ts | 0
.../dataset_quality_details.tsx | 0
.../degraded_field_flyout/field_info.tsx | 0
.../degraded_field_flyout/index.tsx | 0
.../field_limit_documentation_link.tsx | 0
.../field_limit/field_mapping_limit.tsx | 0
.../increase_field_mapping_limit.tsx | 0
.../field_limit/message_callout.tsx | 0
.../possible_mitigations/index.tsx | 0
.../manual/component_template_link.tsx | 0
.../possible_mitigations/manual/index.tsx | 0
.../manual/pipeline_link.tsx | 0
.../possible_mitigations/title.tsx | 0
.../details/dataset_summary.tsx | 0
.../details/fields_list.tsx | 0
.../details/header.tsx | 0
.../dataset_quality_details/details/index.tsx | 0
.../details/integration_actions_menu.tsx | 0
.../dataset_quality_details/header.tsx | 0
.../dataset_quality_details/index.tsx | 0
.../index_not_found_prompt.tsx | 0
.../overview/aggregation_not_supported.tsx | 0
.../overview/degraded_fields/columns.tsx | 0
.../degraded_fields/degraded_fields.tsx | 0
.../overview/degraded_fields/index.ts | 0
.../overview/degraded_fields/table.tsx | 0
.../degraded_docs/degraded_docs_chart.tsx | 0
.../document_trends/degraded_docs/index.tsx | 0
.../degraded_docs/lens_attributes.ts | 0
.../overview/header.tsx | 0
.../overview/index.tsx | 0
.../overview/summary/index.tsx | 0
.../overview/summary/panel.tsx | 0
.../dataset_quality_indicator.tsx | 0
.../components/quality_indicator/helpers.ts | 0
.../components/quality_indicator/index.ts | 0
.../quality_indicator/indicator.tsx | 0
.../percentage_indicator.tsx | 0
.../dataset_quality/create_controller.ts | 0
.../controller/dataset_quality/index.ts | 0
.../dataset_quality/lazy_create_controller.ts | 0
.../dataset_quality/public_state.ts | 0
.../controller/dataset_quality/types.ts | 0
.../create_controller.ts | 0
.../dataset_quality_details/index.ts | 0
.../lazy_create_controller.ts | 0
.../dataset_quality_details/public_state.ts | 0
.../dataset_quality_details/types.ts | 0
.../dataset_quality/public/hooks/index.ts | 0
.../public/hooks/use_create_dataview.ts | 0
.../hooks/use_dataset_details_telemetry.ts | 0
.../use_dataset_quality_details_state.ts | 0
.../hooks/use_dataset_quality_filters.ts | 0
.../hooks/use_dataset_quality_table.tsx | 0
.../hooks/use_dataset_quality_warnings.ts | 0
.../public/hooks/use_dataset_telemetry.ts | 0
.../public/hooks/use_degraded_docs_chart.ts | 0
.../public/hooks/use_degraded_fields.ts | 0
.../public/hooks/use_empty_state.ts | 0
.../public/hooks/use_integration_actions.ts | 0
.../hooks/use_overview_summary_panel.ts | 0
.../public/hooks/use_redirect_link.ts | 0
.../hooks/use_redirect_link_telemetry.ts | 0
.../public/hooks/use_summary_panel.ts | 0
.../dataset_quality/public/icons/logging.svg | 0
.../shared}/dataset_quality/public/index.ts | 0
.../shared}/dataset_quality/public/plugin.tsx | 0
.../data_stream_details_client.ts | 0
.../data_stream_details_service.ts | 0
.../services/data_stream_details/index.ts | 0
.../services/data_stream_details/types.ts | 0
.../data_streams_stats_client.ts | 0
.../data_streams_stats_service.ts | 0
.../services/data_streams_stats/index.ts | 0
.../services/data_streams_stats/types.ts | 0
.../public/services/telemetry/index.ts | 0
.../services/telemetry/telemetry_client.ts | 0
.../services/telemetry/telemetry_events.ts | 0
.../telemetry/telemetry_service.test.ts | 0
.../services/telemetry/telemetry_service.ts | 0
.../public/services/telemetry/types.ts | 0
.../state_machines/common/notifications.ts | 0
.../dataset_quality_controller/index.ts | 0
.../src/defaults.ts | 0
.../dataset_quality_controller/src/index.ts | 0
.../src/notifications.ts | 0
.../src/state_machine.ts | 0
.../dataset_quality_controller/src/types.ts | 0
.../defaults.ts | 0
.../index.ts | 0
.../notifications.ts | 0
.../state_machine.ts | 0
.../types.ts | 0
.../shared}/dataset_quality/public/types.ts | 0
.../public/utils/filter_inactive_datasets.ts | 0
.../public/utils/flatten_stats.ts | 0
.../public/utils/generate_datasets.test.ts | 0
.../public/utils/generate_datasets.ts | 0
.../dataset_quality/public/utils/index.ts | 0
.../public/utils/use_kibana.tsx | 0
.../public/utils/use_quick_time_ranges.tsx | 0
.../shared}/dataset_quality/scripts/api.js | 0
.../shared}/dataset_quality/server/index.ts | 0
.../shared}/dataset_quality/server/plugin.ts | 0
.../create_datasets_quality_server_route.ts | 0
.../check_and_load_integration/index.ts | 0
.../validate_custom_component_template.ts | 0
.../get_data_stream_details/index.ts | 0
.../get_data_streams/get_data_streams.test.ts | 0
.../data_streams/get_data_streams/index.ts | 0
.../get_data_streams_metering_stats/index.ts | 0
.../get_data_streams_stats/index.ts | 0
...et_dataset_aggregated_paginated_results.ts | 0
.../get_datastream_created_on.ts | 0
.../get_datastream_settings/index.ts | 0
.../routes/data_streams/get_degraded_docs.ts | 0
.../get_datastream_mappings.ts | 0
.../get_datastream_settings.ts | 0
.../get_degraded_field_analysis/index.ts | 0
.../get_degraded_field_values/index.ts | 0
.../get_degraded_fields/get_interval.ts | 0
.../data_streams/get_degraded_fields/index.ts | 0
.../get_non_aggregatable_data_streams.ts | 0
.../server/routes/data_streams/routes.ts | 0
.../data_streams/update_field_limit/index.ts | 0
.../update_component_template.ts | 0
.../update_settings_last_backing_index.ts | 0
.../dataset_quality/server/routes/index.ts | 0
.../get_integration_dashboards.ts | 0
.../routes/integrations/get_integrations.ts | 0
.../server/routes/integrations/routes.ts | 0
.../server/routes/register_routes.ts | 0
.../dataset_quality/server/routes/types.ts | 0
.../server/services/data_stream.ts | 0
.../services/data_telemetry/constants.ts | 0
.../data_telemetry_service.test.ts | 0
.../data_telemetry/data_telemetry_service.ts | 0
.../server/services/data_telemetry/helpers.ts | 0
.../data_telemetry/register_collector.ts | 0
.../server/services/data_telemetry/types.ts | 0
.../dataset_quality/server/services/index.ts | 0
.../server/services/index_stats.ts | 0
.../server/services/privileges.ts | 0
.../authentication.ts | 0
.../helpers/call_kibana.ts | 0
.../helpers/create_custom_role.ts | 0
.../helpers/create_or_update_user.ts | 0
.../create_dataset_quality_users/index.ts | 0
.../shared}/dataset_quality/server/types.ts | 0
.../server/types/default_api_types.ts | 0
.../utils/create_dataset_quality_es_client.ts | 0
.../dataset_quality/server/utils/index.ts | 0
.../dataset_quality/server/utils/queries.ts | 0
.../server/utils/reduce_async_chunks.test.ts | 0
.../server/utils/reduce_async_chunks.ts | 0
.../server/utils/to_boolean.ts | 0
.../shared}/dataset_quality/tsconfig.json | 4 +-
.../plugins/shared}/fields_metadata/README.md | 0
.../common/fields_metadata/common.ts | 0
.../common/fields_metadata/errors.ts | 0
.../common/fields_metadata/index.ts | 0
.../fields_metadata/models/field_metadata.ts | 0
.../models/fields_metadata_dictionary.ts | 0
.../common/fields_metadata/types.ts | 0
.../v1/find_fields_metadata.ts | 0
.../common/fields_metadata/v1/index.ts | 0
.../fields_metadata/common/hashed_cache.ts | 0
.../shared}/fields_metadata/common/index.ts | 0
.../shared}/fields_metadata/common/latest.ts | 0
.../fields_metadata/common/metadata_fields.ts | 0
.../fields_metadata/common/runtime_types.ts | 0
.../shared/fields_metadata}/jest.config.js | 8 +-
.../shared}/fields_metadata/kibana.jsonc | 0
.../public/hooks/use_fields_metadata/index.ts | 0
.../use_fields_metadata.mock.ts | 0
.../use_fields_metadata.test.ts | 0
.../use_fields_metadata.ts | 0
.../shared}/fields_metadata/public/index.ts | 0
.../shared}/fields_metadata/public/mocks.tsx | 0
.../shared}/fields_metadata/public/plugin.ts | 0
.../fields_metadata_client.mock.ts | 0
.../fields_metadata/fields_metadata_client.ts | 0
.../fields_metadata_service.mock.ts | 0
.../fields_metadata_service.ts | 0
.../public/services/fields_metadata/index.ts | 0
.../public/services/fields_metadata/types.ts | 0
.../shared}/fields_metadata/public/types.ts | 0
.../server/fields_metadata_server.ts | 0
.../shared}/fields_metadata/server/index.ts | 0
.../server/lib/shared_types.ts | 0
.../shared}/fields_metadata/server/mocks.ts | 0
.../shared}/fields_metadata/server/plugin.ts | 0
.../fields_metadata/find_fields_metadata.ts | 0
.../server/routes/fields_metadata/index.ts | 0
.../server/services/fields_metadata/errors.ts | 0
.../fields_metadata_client.mock.ts | 0
.../fields_metadata_client.test.ts | 0
.../fields_metadata/fields_metadata_client.ts | 0
.../fields_metadata_service.mock.ts | 0
.../fields_metadata_service.ts | 0
.../server/services/fields_metadata/index.ts | 0
.../repositories/ecs_fields_repository.ts | 0
.../integration_fields_repository.ts | 0
.../metadata_fields_repository.ts | 0
.../fields_metadata/repositories/types.ts | 0
.../server/services/fields_metadata/types.ts | 0
.../shared}/fields_metadata/server/types.ts | 0
.../shared}/fields_metadata/tsconfig.json | 4 +-
.../shared}/logs_data_access/README.md | 0
.../logs_data_access/common/constants.ts | 0
.../log_sources_service.mocks.ts | 0
.../services/log_sources_service/types.ts | 0
.../services/log_sources_service/utils.ts | 0
.../shared}/logs_data_access/common/types.ts | 0
.../logs_data_access/common/ui_settings.ts | 0
.../shared}/logs_data_access/jest.config.js | 4 +-
.../shared}/logs_data_access/kibana.jsonc | 0
.../components/logs_sources_setting.tsx | 0
.../public/hooks/use_log_sources.ts | 0
.../shared}/logs_data_access/public/index.ts | 0
.../shared}/logs_data_access/public/plugin.ts | 0
.../services/log_sources_service/index.ts | 0
.../public/services/register_services.ts | 0
.../shared}/logs_data_access/public/types.ts | 0
.../logs_data_access/server/es_fields.ts | 0
.../shared}/logs_data_access/server/index.ts | 0
.../shared}/logs_data_access/server/plugin.ts | 0
.../get_logs_error_rate_timeseries.ts | 0
.../get_logs_rate_timeseries.ts | 0
.../services/get_logs_rates_service/index.ts | 0
.../services/log_sources_service/index.ts | 0
.../server/services/register_services.ts | 0
.../shared}/logs_data_access/server/types.ts | 0
.../server/utils/es_queries.ts | 0
.../logs_data_access/server/utils/index.ts | 0
.../server/utils/utils.test.ts | 0
.../shared}/logs_data_access/tsconfig.json | 2 +-
.../plugins/shared}/logs_shared/README.md | 0
.../shared}/logs_shared/common/constants.ts | 0
.../common/formatters/datetime.ts | 0
.../common/http_api/deprecations/index.ts | 0
.../logs_shared/common/http_api/index.ts | 0
.../logs_shared/common/http_api/latest.ts | 0
.../http_api/log_entries/v1/highlights.ts | 0
.../common/http_api/log_entries/v1/index.ts | 0
.../common/http_api/log_entries/v1/summary.ts | 0
.../log_entries/v1/summary_highlights.ts | 0
.../common/http_api/log_views/common.ts | 0
.../common/http_api/log_views/index.ts | 0
.../http_api/log_views/v1/get_log_view.ts | 0
.../common/http_api/log_views/v1/index.ts | 0
.../http_api/log_views/v1/put_log_view.ts | 0
.../shared}/logs_shared/common/index.ts | 1 -
.../common/locators/get_logs_locators.ts | 0
.../logs_shared/common/locators/helpers.ts | 0
.../logs_shared/common/locators/index.ts | 0
.../common/locators/logs_locator.ts | 0
.../common/locators/node_logs_locator.ts | 0
.../common/locators}/time_range.ts | 0
.../common/locators/trace_logs_locator.ts | 0
.../logs_shared/common/locators/types.ts | 0
.../logs_shared/common/log_entry/index.ts | 0
.../logs_shared/common/log_entry/log_entry.ts | 0
.../common/log_entry/log_entry_cursor.ts | 0
.../common/log_text_scale/index.ts | 0
.../common/log_text_scale/log_text_scale.ts | 0
.../logs_shared/common/log_views/defaults.ts | 0
.../logs_shared/common/log_views/errors.ts | 0
.../logs_shared/common/log_views/index.ts | 0
.../common/log_views/log_view.mock.ts | 0
.../log_views/resolved_log_view.mock.ts | 0
.../common/log_views/resolved_log_view.ts | 0
.../logs_shared/common/log_views/types.ts | 0
.../shared}/logs_shared/common/mocks.ts | 0
.../logs_shared/common/plugin_config.ts | 0
.../logs_shared/common/runtime_types.ts | 0
.../common/search_strategies/common/errors.ts | 0
.../log_entries/log_entries.ts | 0
.../log_entries/log_entry.ts | 0
.../shared}/logs_shared/common/time/index.ts | 0
.../logs_shared/common/time/time_key.ts | 0
.../shared/logs_shared}/common/typed_json.ts | 0
.../common/utils/date_helpers.test.ts | 0
.../logs_shared/common/utils/date_helpers.ts | 0
.../shared}/logs_shared/common/utils/index.ts | 0
.../plugins/shared}/logs_shared/emotion.d.ts | 0
.../shared/logs_shared}/jest.config.js | 8 +-
.../plugins/shared}/logs_shared/kibana.jsonc | 0
.../public/components/auto_sizer.tsx | 0
.../components/centered_flyout_body.tsx | 0
.../data_search_error_callout.stories.tsx | 0
.../components/data_search_error_callout.tsx | 0
.../data_search_progress.stories.tsx | 0
.../components/data_search_progress.tsx | 0
.../public/components/empty_states/index.tsx | 0
.../components/empty_states/no_data.tsx | 0
.../public/components/formatted_time.tsx | 0
.../loading/__examples__/index.stories.tsx | 0
.../public/components/loading/index.tsx | 0
.../components/log_ai_assistant/index.tsx | 0
.../log_ai_assistant.mock.tsx | 0
.../log_ai_assistant/log_ai_assistant.tsx | 0
.../log_ai_assistant/translations.ts | 0
.../public/components/log_stream/index.ts | 0
.../log_stream/log_stream.stories.mdx | 2 +-
.../log_stream/log_stream.stories.tsx | 0
.../log_stream.story_decorators.tsx | 0
.../components/log_stream/log_stream.tsx | 0
.../log_stream/log_stream_error_boundary.tsx | 0
.../logging/log_entry_flyout/index.tsx | 0
.../log_entry_actions_menu.test.tsx | 0
.../log_entry_actions_menu.tsx | 0
.../log_entry_fields_table.tsx | 0
.../log_entry_flyout/log_entry_flyout.tsx | 0
.../log_text_stream/column_headers.tsx | 0
.../column_headers_wrapper.tsx | 0
.../logging/log_text_stream/field_value.tsx | 0
.../logging/log_text_stream/highlighting.tsx | 0
.../logging/log_text_stream/index.ts | 0
.../logging/log_text_stream/item.ts | 0
.../logging/log_text_stream/jump_to_tail.tsx | 0
.../log_text_stream/loading_item_view.tsx | 0
.../logging/log_text_stream/log_date_row.tsx | 0
.../log_text_stream/log_entry_column.tsx | 0
.../log_entry_context_menu.tsx | 0
.../log_entry_field_column.test.tsx | 0
.../log_entry_field_column.tsx | 0
.../log_entry_message_column.test.tsx | 0
.../log_entry_message_column.tsx | 0
.../logging/log_text_stream/log_entry_row.tsx | 0
.../log_text_stream/log_entry_row_wrapper.tsx | 0
.../log_entry_timestamp_column.tsx | 0
.../log_text_stream/log_text_separator.tsx | 0
.../log_text_stream/measurable_item_view.tsx | 0
.../scrollable_log_text_stream_view.tsx | 0
.../logging/log_text_stream/text_styles.tsx | 0
.../log_text_stream/vertical_scroll_panel.tsx | 0
.../public/components/logs_overview/index.tsx | 0
.../logs_overview/logs_overview.mock.tsx | 0
.../logs_overview/logs_overview.tsx | 0
.../open_in_logs_explorer_button.tsx | 0
.../components/resettable_error_boundary.tsx | 0
.../public/containers/logs/log_entry.ts | 0
.../api/fetch_log_entries_highlights.ts | 0
.../api/fetch_log_summary_highlights.ts | 0
.../containers/logs/log_highlights/index.ts | 0
.../log_highlights/log_entry_highlights.tsx | 0
.../logs/log_highlights/log_highlights.tsx | 0
.../log_highlights/log_summary_highlights.ts | 0
.../logs/log_highlights/next_and_previous.tsx | 0
.../containers/logs/log_position/index.ts | 0
.../logs/log_position/use_log_position.ts | 0
.../containers/logs/log_stream/index.ts | 0
.../log_stream/use_fetch_log_entries_after.ts | 0
.../use_fetch_log_entries_around.ts | 0
.../use_fetch_log_entries_before.ts | 0
.../logs/log_summary/api/fetch_log_summary.ts | 0
.../logs/log_summary/bucket_size.ts | 0
.../containers/logs/log_summary/index.ts | 0
.../logs/log_summary/log_summary.test.tsx | 0
.../logs/log_summary/log_summary.tsx | 0
.../logs/log_summary/with_summary.ts | 0
.../logs_shared/public/hooks/use_kibana.tsx | 0
.../logs_shared/public/hooks/use_log_view.ts | 0
.../shared}/logs_shared/public/index.ts | 0
.../shared}/logs_shared/public/mocks.tsx | 0
.../log_view_state/README.md | 0
.../log_view_state}/index.ts | 0
.../log_view_state/src/index.ts | 0
.../log_view_state/src/notifications.ts | 0
.../log_view_state/src/state_machine.ts | 0
.../log_view_state/src/types.ts | 0
.../src/url_state_storage_service.ts | 0
.../xstate_helpers/README.md | 0
.../xstate_helpers}/index.ts | 0
.../xstate_helpers/src/index.ts | 0
.../src/notification_channel.ts | 0
.../xstate_helpers/src/types.ts | 0
.../shared}/logs_shared/public/plugin.tsx | 0
.../public/services/log_views/index.ts | 0
.../log_views/log_views_client.mock.ts | 0
.../services/log_views/log_views_client.ts | 0
.../log_views/log_views_service.mock.ts | 0
.../services/log_views/log_views_service.ts | 0
.../public/services/log_views/types.ts | 0
.../logs_shared/public/test_utils/entries.ts | 0
.../test_utils/use_global_storybook_theme.tsx | 0
.../shared}/logs_shared/public/types.ts | 0
.../utils/data_search/data_search.stories.mdx | 0
.../flatten_data_search_response.ts | 0
.../public/utils/data_search/index.ts | 0
.../normalize_data_search_responses.ts | 0
.../public/utils/data_search/types.ts | 0
.../use_data_search_request.test.tsx | 0
.../data_search/use_data_search_request.ts | 0
.../use_data_search_response_state.ts | 0
...test_partial_data_search_response.test.tsx | 0
...use_latest_partial_data_search_response.ts | 0
.../logs_shared/public/utils/datemath.ts | 0
.../logs_shared/public/utils/dev_mode.ts | 0
.../logs_shared/public/utils/handlers.ts | 0
.../utils/log_column_render_configuration.tsx | 0
.../public/utils/log_entry/index.ts | 0
.../public/utils/log_entry/log_entry.ts | 0
.../utils/log_entry/log_entry_highlight.ts | 0
.../logs_shared/public/utils/typed_react.tsx | 0
.../public/utils/use_kibana_query_settings.ts | 0
.../public/utils}/use_kibana_ui_setting.ts | 0
.../public/utils}/use_observable.ts | 0
.../public/utils}/use_tracked_promise.ts | 0
.../public/utils/use_ui_tracker.ts | 0
.../public/utils}/use_visibility_state.ts | 0
.../shared}/logs_shared/server/config.ts | 0
.../server/deprecations/constants.ts | 0
.../logs_shared/server/deprecations/index.ts | 0
.../deprecations/log_sources_setting.ts | 0
.../logs_shared/server/feature_flags.ts | 0
.../shared}/logs_shared/server/index.ts | 0
.../lib/adapters/framework/adapter_types.ts | 0
.../server/lib/adapters/framework/index.ts | 0
.../framework/kibana_framework_adapter.ts | 0
.../log_entries/kibana_log_entries_adapter.ts | 0
.../lib/domains/log_entries_domain/index.ts | 0
.../log_entries_domain.mock.ts | 0
.../log_entries_domain/log_entries_domain.ts | 0
.../queries/log_entry_datasets.ts | 0
.../server/lib/logs_shared_types.ts | 0
.../logs_shared/server/logs_shared_server.ts | 0
.../shared}/logs_shared/server/mocks.ts | 0
.../shared}/logs_shared/server/plugin.ts | 0
.../server/routes/deprecations/index.ts | 0
.../deprecations/migrate_log_view_settings.ts | 0
.../server/routes/log_entries/highlights.ts | 0
.../server/routes/log_entries/index.ts | 0
.../server/routes/log_entries/summary.ts | 0
.../routes/log_entries/summary_highlights.ts | 0
.../server/routes/log_views/get_log_view.ts | 0
.../server/routes/log_views/index.ts | 0
.../server/routes/log_views/put_log_view.ts | 0
.../logs_shared/server/saved_objects/index.ts | 0
.../server/saved_objects/log_view/index.ts | 0
.../log_view/log_view_saved_object.ts | 0
.../log_view/references/index.ts | 0
.../log_view/references/log_indices.ts | 0
.../server/saved_objects/log_view/types.ts | 0
.../server/saved_objects/references.test.ts | 0
.../server/saved_objects/references.ts | 0
.../server/services/log_entries/index.ts | 0
.../log_entries_search_strategy.test.ts | 0
.../log_entries_search_strategy.ts | 0
.../log_entries/log_entries_service.ts | 0
.../log_entry_search_strategy.test.ts | 0
.../log_entries/log_entry_search_strategy.ts | 0
.../builtin_rules/filebeat_apache2.test.ts | 0
.../message/builtin_rules/filebeat_apache2.ts | 0
.../builtin_rules/filebeat_auditd.test.ts | 0
.../message/builtin_rules/filebeat_auditd.ts | 0
.../builtin_rules/filebeat_haproxy.test.ts | 0
.../message/builtin_rules/filebeat_haproxy.ts | 0
.../builtin_rules/filebeat_icinga.test.ts | 0
.../message/builtin_rules/filebeat_icinga.ts | 0
.../builtin_rules/filebeat_iis.test.ts | 0
.../message/builtin_rules/filebeat_iis.ts | 0
.../builtin_rules/filebeat_kafka.test.ts | 0
.../builtin_rules/filebeat_logstash.test.ts | 0
.../builtin_rules/filebeat_logstash.ts | 0
.../builtin_rules/filebeat_mongodb.test.ts | 0
.../message/builtin_rules/filebeat_mongodb.ts | 0
.../builtin_rules/filebeat_mysql.test.ts | 0
.../message/builtin_rules/filebeat_mysql.ts | 0
.../builtin_rules/filebeat_nginx.test.ts | 0
.../message/builtin_rules/filebeat_nginx.ts | 0
.../builtin_rules/filebeat_osquery.test.ts | 0
.../message/builtin_rules/filebeat_osquery.ts | 0
.../message/builtin_rules/filebeat_redis.ts | 0
.../message/builtin_rules/filebeat_system.ts | 0
.../builtin_rules/filebeat_traefik.test.ts | 0
.../message/builtin_rules/filebeat_traefik.ts | 0
.../message/builtin_rules/generic.test.ts | 0
.../message/builtin_rules/generic.ts | 0
.../builtin_rules/generic_webserver.ts | 0
.../message/builtin_rules/helpers.ts | 0
.../message/builtin_rules/index.ts | 0
.../services/log_entries/message/index.ts | 0
.../services/log_entries/message/message.ts | 0
.../log_entries/message/rule_types.ts | 0
.../services/log_entries/queries/common.ts | 0
.../log_entries/queries/log_entries.ts | 0
.../services/log_entries/queries/log_entry.ts | 0
.../server/services/log_entries/types.ts | 0
.../server/services/log_views/errors.ts | 0
.../server/services/log_views/index.ts | 0
.../log_views/log_views_client.mock.ts | 0
.../log_views/log_views_client.test.ts | 0
.../services/log_views/log_views_client.ts | 0
.../log_views/log_views_service.mock.ts | 0
.../services/log_views/log_views_service.ts | 0
.../server/services/log_views/types.ts | 0
.../shared}/logs_shared/server/types.ts | 0
.../utils/elasticsearch_runtime_types.ts | 0
.../server/utils/serialized_query.ts | 0
.../server/utils/typed_search_strategy.ts | 0
.../plugins/shared}/logs_shared/tsconfig.json | 4 +-
.../enterprise_search/server/plugin.ts | 2 +-
x-pack/plugins/fields_metadata/jest.config.js | 17 --
.../jest.config.js | 18 --
.../schema/xpack_observability.json | 24 +++
.../schema/xpack_platform.json | 142 +++++++++++++++
.../schema/xpack_plugins.json | 166 ------------------
.../kbn-custom-integrations/README.md | 0
.../kbn-custom-integrations/index.ts | 8 +-
.../kbn-custom-integrations/jest.config.js | 12 ++
.../kbn-custom-integrations/kibana.jsonc | 0
.../kbn-custom-integrations/package.json | 2 +-
.../src/components/create/button.tsx | 8 +-
.../src/components/create/error_callout.tsx | 8 +-
.../src/components/create/form.tsx | 8 +-
.../src/components/create/utils.ts | 8 +-
.../components/custom_integrations_button.tsx | 8 +-
.../components/custom_integrations_form.tsx | 8 +-
.../src/components/index.ts | 11 ++
.../create/use_create_dispatchable_events.ts | 8 +-
.../src/hooks/index.ts | 10 ++
.../hooks/use_consumer_custom_integrations.ts | 8 +-
.../src/hooks/use_custom_integrations.ts | 8 +-
.../src/state_machines/create/defaults.ts | 8 +-
.../state_machines/create/notifications.ts | 8 +-
.../state_machines/create/pipelines/fields.ts | 8 +-
.../src/state_machines/create/selectors.ts | 8 +-
.../state_machines/create/state_machine.ts | 8 +-
.../src/state_machines/create/types.ts | 8 +-
.../custom_integrations/defaults.ts | 12 ++
.../custom_integrations/notifications.ts | 8 +-
.../custom_integrations/provider.tsx | 8 +-
.../custom_integrations/selectors.ts | 11 ++
.../custom_integrations/state_machine.ts | 8 +-
.../custom_integrations/types.ts | 8 +-
.../src/state_machines/index.ts | 10 ++
.../services/integrations_client.ts | 8 +-
.../src/state_machines/services/validation.ts | 8 +-
.../kbn-custom-integrations/src/types.ts | 8 +-
.../kbn-custom-integrations/tsconfig.json | 2 +-
.../plugins}/infra/.storybook/main.js | 0
.../plugins}/infra/.storybook/preview.js | 0
.../observability/plugins}/infra/README.md | 4 +-
.../alerting/logs/log_threshold/index.ts | 0
.../logs/log_threshold/query_helpers.ts | 0
.../alerting/logs/log_threshold/types.ts | 0
.../alerting/metrics/alert_link.test.ts | 0
.../common/alerting/metrics/alert_link.ts | 0
.../infra/common/alerting/metrics/index.ts | 0
.../metrics/metric_value_formatter.test.ts | 0
.../metrics/metric_value_formatter.ts | 0
.../infra/common/alerting/metrics/types.ts | 0
.../infra/common/color_palette.test.ts | 0
.../plugins}/infra/common/color_palette.ts | 0
.../plugins}/infra/common/constants.ts | 0
.../infra/common/custom_dashboards.ts | 0
.../infra/common/formatters/alert_link.ts | 0
.../infra/common/formatters/bytes.test.ts | 0
.../plugins}/infra/common/formatters/bytes.ts | 0
.../infra}/common/formatters/datetime.ts | 0
.../formatters/get_custom_metric_label.ts | 0
.../infra/common/formatters/high_precision.ts | 0
.../plugins}/infra/common/formatters/index.ts | 0
.../infra/common/formatters/number.ts | 0
.../infra/common/formatters/percent.ts | 0
.../formatters/snapshot_metric_formats.ts | 0
.../common/formatters/telemetry_time_range.ts | 0
.../plugins}/infra/common/formatters/types.ts | 0
.../infra/common/http_api/asset_count_api.ts | 0
.../common/http_api/custom_dashboards_api.ts | 0
.../host_details/get_infra_services.ts | 0
.../common/http_api/host_details/index.ts | 0
.../http_api/host_details/process_list.ts | 0
.../plugins}/infra/common/http_api/index.ts | 0
.../http_api/infra/get_infra_metrics.ts | 0
.../infra/common/http_api/infra/index.ts | 0
.../infra/common/http_api/infra_ml/index.ts | 0
.../http_api/infra_ml/results/common.ts | 0
.../common/http_api/infra_ml/results/index.ts | 0
.../results/metrics_hosts_anomalies.ts | 0
.../infra_ml/results/metrics_k8s_anomalies.ts | 0
.../common/http_api/inventory_meta_api.ts | 0
.../http_api/inventory_views/v1/common.ts | 0
.../v1/create_inventory_view.ts | 0
.../inventory_views/v1/find_inventory_view.ts | 0
.../inventory_views/v1/get_inventory_view.ts | 0
.../http_api/inventory_views/v1/index.ts | 0
.../v1/update_inventory_view.ts | 0
.../common/http_api/ip_to_hostname/index.ts | 0
.../plugins}/infra/common/http_api/latest.ts | 0
.../log_alerts/v1/chart_preview_data.ts | 4 +-
.../common/http_api/log_alerts/v1/index.ts | 0
.../log_analysis/id_formats/v1/id_formats.ts | 0
.../http_api/log_analysis/results/v1/index.ts | 0
.../results/v1/log_entry_anomalies.ts | 0
.../v1/log_entry_anomalies_datasets.ts | 0
.../results/v1/log_entry_categories.ts | 0
.../results/v1/log_entry_category_datasets.ts | 0
.../v1/log_entry_category_datasets_stats.ts | 0
.../results/v1/log_entry_category_examples.ts | 0
.../results/v1/log_entry_examples.ts | 0
.../log_analysis/validation/v1/datasets.ts | 0
.../log_analysis/validation/v1/index.ts | 0
.../validation/v1/log_entry_rate_indices.ts | 0
.../infra/common/http_api/metadata_api.ts | 0
.../infra/common/http_api/metrics_explorer.ts | 0
.../metrics_explorer_views/v1/common.ts | 0
.../v1/create_metrics_explorer_view.ts | 0
.../v1/find_metrics_explorer_view.ts | 0
.../v1/get_metrics_explorer_view.ts | 0
.../metrics_explorer_views/v1/index.ts | 0
.../v1/update_metrics_explorer_view.ts | 0
.../infra/common/http_api/node_details_api.ts | 0
.../infra/common/http_api/overview_api.ts | 0
.../infra/common/http_api/profiling_api.ts | 0
.../common/http_api/shared/asset_type.ts | 0
.../infra/common/http_api/shared/errors.ts | 0
.../common/http_api/shared/es_request.ts | 0
.../infra/common/http_api/shared/index.ts | 0
.../http_api/shared/metric_statistics.ts | 0
.../common/http_api/shared/time_range.ts | 0
.../infra/common/http_api/shared/timing.ts | 0
.../infra/common/http_api/snapshot_api.ts | 0
.../infra/common/infra_ml/anomaly_results.ts | 0
.../plugins}/infra/common/infra_ml/index.ts | 0
.../infra/common/infra_ml/infra_ml.ts | 0
.../infra/common/infra_ml/job_parameters.ts | 0
.../infra/common/infra_ml/metrics_hosts_ml.ts | 0
.../infra/common/infra_ml/metrics_k8s_ml.ts | 0
.../common/inventory_models/intl_strings.ts | 0
.../infra/common/inventory_views/defaults.ts | 0
.../infra/common/inventory_views/errors.ts | 0
.../infra/common/inventory_views/index.ts | 0
.../inventory_views/inventory_view.mock.ts | 0
.../infra/common/inventory_views/types.ts | 0
.../infra/common/log_analysis/index.ts | 0
.../common/log_analysis/job_parameters.ts | 0
.../infra/common/log_analysis/log_analysis.ts | 0
.../log_analysis/log_analysis_quality.ts | 0
.../log_analysis/log_analysis_results.ts | 0
.../log_analysis/log_entry_anomalies.ts | 0
.../log_entry_categories_analysis.ts | 0
.../common/log_analysis/log_entry_examples.ts | 0
.../log_analysis/log_entry_rate_analysis.ts | 0
.../infra/common/log_search_result/index.ts | 0
.../log_search_result/log_search_result.ts | 0
.../infra/common/log_search_summary/index.ts | 0
.../log_search_summary/log_search_summary.ts | 0
.../infra}/common/log_text_scale/index.ts | 0
.../common/log_text_scale/log_text_scale.ts | 0
.../common/metrics_explorer_views/defaults.ts | 0
.../common/metrics_explorer_views/errors.ts | 0
.../common/metrics_explorer_views/index.ts | 0
.../metrics_explorer_view.mock.ts | 0
.../common/metrics_explorer_views/types.ts | 0
.../common/metrics_sources/get_has_data.ts | 0
.../infra/common/metrics_sources/index.ts | 0
.../infra/common/performance_tracing.ts | 0
.../infra/common/plugin_config_types.ts | 0
.../infra/common/saved_views/index.ts | 0
.../infra/common/saved_views/types.ts | 0
.../common/search_strategies/common/errors.ts | 0
.../log_entries/log_entries.ts | 0
.../log_entries/log_entry.ts | 0
.../infra/common/snapshot_metric_i18n.ts | 0
.../common/source_configuration/defaults.ts | 0
.../source_configuration.ts | 0
.../plugins}/infra/common/time/index.ts | 0
.../plugins}/infra/common/time/time_key.ts | 0
.../plugins/infra/common/time}/time_range.ts | 0
.../plugins}/infra/common/time/time_scale.ts | 0
.../plugins}/infra/common/time/time_unit.ts | 0
.../plugins/infra}/common/typed_json.ts | 0
.../infra/common/url_state_storage_service.ts | 0
.../plugins}/infra/common/utility_types.ts | 0
.../utils/corrected_percent_convert.test.ts | 0
.../common/utils/corrected_percent_convert.ts | 0
.../utils/elasticsearch_runtime_types.ts | 0
.../common/utils/get_chart_group_names.ts | 0
.../common/utils/get_interval_in_seconds.ts | 0
.../docs/assets/infra_metricbeat_aws.jpg | Bin
.../infra/docs/state_machines/README.md | 0
.../state_machines/xstate_machine_patterns.md | 0
.../state_machines/xstate_react_patterns.md | 0
.../xstate_url_patterns_and_precedence.md | 0
.../plugins}/infra/docs/telemetry/README.md | 2 +-
.../docs/telemetry/define_custom_events.md | 2 +-
.../telemetry/telemetry_service_overview.md | 0
.../trigger_custom_events_examples.md | 0
.../docs/test_setups/infra_metricbeat_aws.md | 0
.../infra_metricbeat_docker_nginx.md | 0
.../plugins/infra}/jest.config.js | 8 +-
.../observability/plugins}/infra/kibana.jsonc | 0
.../metrics_overview_fetchers.test.ts.snap | 0
.../components/metrics_alert_dropdown.tsx | 0
.../common/components/threshold.stories.tsx | 0
.../common/components/threshold.test.tsx | 0
.../alerting/common/components/threshold.tsx | 0
.../criterion_preview_chart.tsx | 0
.../threshold_annotations.test.tsx | 0
.../threshold_annotations.tsx | 0
.../group_by_expression.tsx | 0
.../common/group_by_expression/selector.tsx | 0
.../components/alert_flyout.tsx | 0
.../public/alerting/custom_threshold/index.ts | 0
.../inventory/components/alert_flyout.tsx | 0
.../inventory/components/expression.test.tsx | 0
.../inventory/components/expression.tsx | 0
.../inventory/components/expression_chart.tsx | 0
.../manage_alerts_context_menu_item.tsx | 0
.../alerting/inventory/components/metric.tsx | 0
.../inventory/components/node_type.tsx | 0
.../inventory/components/validation.tsx | 0
.../hooks/use_inventory_alert_prefill.ts | 0
.../infra/public/alerting/inventory/index.ts | 0
.../inventory/rule_data_formatters.ts | 0
.../components/alert_annotation.tsx | 0
.../components/log_rate_analysis.tsx | 0
.../threhsold_chart/create_lens_definition.ts | 0
.../components/threhsold_chart/index.tsx | 0
.../log_threshold_count_chart.tsx | 0
.../log_threshold_ratio_chart.tsx | 0
.../alert_details_app_section/index.tsx | 0
.../log_rate_analysis_query.ts | 0
.../alert_details_app_section/types.ts | 0
.../components/alert_dropdown.tsx | 0
.../log_threshold/components/alert_flyout.tsx | 0
.../components/expression_editor/criteria.tsx | 0
.../expression_editor/criterion.tsx | 0
.../criterion_preview_chart.tsx | 0
.../components/expression_editor/editor.tsx | 0
.../hooks/use_chart_preview_data.tsx | 0
.../components/expression_editor/index.tsx | 0
.../expression_editor/log_view_switcher.tsx | 0
.../expression_editor/threshold.tsx | 0
.../expression_editor/type_switcher.tsx | 0
.../components/lazy_alert_dropdown.tsx | 0
.../public/alerting/log_threshold/index.ts | 0
.../log_threshold/log_threshold_rule_type.tsx | 0
.../log_threshold/rule_data_formatters.ts | 0
.../alerting/log_threshold/validation.ts | 0
.../alert_details_app_section.test.tsx.snap | 0
.../expression_row.test.tsx.snap | 0
.../alert_details_app_section.test.tsx | 0
.../components/alert_details_app_section.tsx | 0
.../components/alert_flyout.tsx | 0
.../custom_equation_editor.stories.tsx | 0
.../custom_equation_editor.tsx | 0
.../components/custom_equation/index.tsx | 0
.../custom_equation/metric_row_controls.tsx | 0
.../custom_equation/metric_row_with_agg.tsx | 0
.../custom_equation/metric_row_with_count.tsx | 0
.../components/custom_equation/types.ts | 0
.../components/expression.test.tsx | 0
.../components/expression.tsx | 0
.../components/expression_chart.test.tsx | 0
.../components/expression_chart.tsx | 0
.../components/expression_row.test.tsx | 0
.../components/expression_row.tsx | 0
.../components/validation.test.ts | 0
.../components/validation.tsx | 0
.../use_metric_threshold_alert_prefill.ts | 0
.../hooks/use_metrics_explorer_chart_data.ts | 0
.../alerting/metric_threshold/i18n_strings.ts | 0
.../public/alerting/metric_threshold/index.ts | 0
.../lib/generate_unique_key.test.ts | 0
.../lib/generate_unique_key.ts | 0
.../lib/transform_metrics_explorer_data.ts | 0
.../mocks/metric_threshold_rule.ts | 0
.../metric_threshold/rule_data_formatters.ts | 0
.../public/alerting/metric_threshold/types.ts | 0
.../public/alerting/use_alert_prefill.ts | 0
.../infra/public/apps/common_providers.tsx | 0
.../infra/public/apps/common_styles.ts | 0
.../plugins}/infra/public/apps/logs_app.tsx | 0
.../infra/public/apps/metrics_app.tsx | 0
.../asset_details_tabs.tsx | 0
.../infra/public/common/inventory/types.ts | 0
.../public/common/visualizations/constants.ts | 0
.../public/common/visualizations/index.ts | 0
.../common/visualizations/translations.ts | 0
.../__stories__/context/fixtures/alerts.ts | 0
.../__stories__/context/fixtures/anomalies.ts | 0
.../context/fixtures/asset_details_props.ts | 0
.../__stories__/context/fixtures/index.ts | 0
.../context/fixtures/log_entries.ts | 0
.../__stories__/context/fixtures/metadata.ts | 0
.../__stories__/context/fixtures/processes.ts | 0
.../context/fixtures/snapshot_api.ts | 0
.../asset_details/__stories__/context/http.ts | 0
.../asset_details/__stories__/decorator.tsx | 0
.../add_metrics_callout/constants.ts | 0
.../add_metrics_callout/index.tsx | 0
.../asset_details/asset_details.stories.tsx | 0
.../asset_details/asset_details.tsx | 0
.../components/asset_details/charts/chart.tsx | 0
.../asset_details/charts/chart_utils.test.ts | 0
.../asset_details/charts/chart_utils.ts | 0
.../asset_details/charts/docker_charts.tsx | 0
.../asset_details/charts/host_charts.tsx | 0
.../components/asset_details/charts/index.tsx | 0
.../charts/kubernetes_charts.tsx | 0
.../components/asset_details/charts/types.ts | 0
.../asset_details/charts_grid/charts_grid.tsx | 0
.../components/alerts_tooltip_content.tsx | 0
.../components/expandable_content.tsx | 0
.../components/kpis/container_kpi_charts.tsx | 0
.../components/kpis/host_kpi_charts.tsx | 0
.../asset_details/components/kpis/kpi.tsx | 0
.../components/metadata_error_callout.tsx | 0
.../components/metadata_explanation.tsx | 0
.../metric_not_available_explanation.tsx | 0
.../components/processes_explanation.tsx | 0
.../asset_details/components/section.tsx | 0
.../components/section_title.tsx | 0
.../components/services_tooltip_content.tsx | 0
.../components/top_processes_tooltip.tsx | 0
.../components/asset_details/constants.ts | 0
.../asset_details/content/callouts.tsx | 0
.../callouts/legacy_metric_callout.tsx | 0
.../asset_details/content/content.tsx | 0
.../asset_details/context_providers.tsx | 0
.../asset_details/date_picker/date_picker.tsx | 0
.../asset_details/header/flyout_header.tsx | 0
.../header/page_title_with_popover.tsx | 0
.../hooks/use_asset_details_render_props.ts | 0
.../hooks/use_asset_details_url_state.ts | 0
.../hooks/use_chart_series_color.test.ts | 0
.../hooks/use_chart_series_color.ts | 0
.../use_container_metrics_charts.test.ts | 0
.../hooks/use_container_metrics_charts.ts | 0
.../hooks/use_custom_dashboards.ts | 0
.../hooks/use_dashboards_fetcher.ts | 0
.../asset_details/hooks/use_data_views.ts | 0
.../asset_details/hooks/use_date_picker.ts | 0
.../asset_details/hooks/use_entity_summary.ts | 0
.../hooks/use_fetch_custom_dashboards.ts | 0
.../hooks/use_host_metrics_charts.test.ts | 0
.../hooks/use_host_metrics_charts.ts | 0
.../hooks/use_integration_check.ts | 0
.../hooks/use_intersecting_state.ts | 0
.../hooks/use_loading_state.test.ts | 0
.../asset_details/hooks/use_loading_state.ts | 0
.../asset_details/hooks/use_log_charts.ts | 0
.../asset_details/hooks/use_metadata.ts | 0
.../asset_details/hooks/use_metadata_state.ts | 0
.../asset_details/hooks/use_page_header.tsx | 0
.../asset_details/hooks/use_process_list.ts | 0
.../hooks/use_profiling_kuery.test.tsx | 0
.../hooks/use_profiling_kuery.ts | 0
.../hooks/use_request_observable.test.ts | 0
.../hooks/use_request_observable.ts | 0
.../hooks/use_saved_objects_permissions.ts | 0
.../asset_details/hooks/use_tab_switcher.tsx | 0
.../public/components/asset_details/index.ts | 0
.../components/asset_details/links/index.ts | 0
.../links/link_to_apm_service.tsx | 0
.../links/link_to_apm_services.tsx | 0
.../links/link_to_node_details.tsx | 0
.../tabs/anomalies/anomalies.tsx | 0
.../asset_details/tabs/common/popover.tsx | 0
.../tabs/dashboards/actions/actions.test.tsx | 0
.../dashboards/actions/edit_dashboard.tsx | 0
.../actions/goto_dashboard_link.tsx | 0
.../tabs/dashboards/actions/index.ts | 0
.../dashboards/actions/link_dashboard.tsx | 0
.../actions/save_dashboard_modal.tsx | 0
.../dashboards/actions/unlink_dashboard.tsx | 0
.../tabs/dashboards/context_menu.tsx | 0
.../tabs/dashboards/dashboard_selector.tsx | 0
.../tabs/dashboards/dashboards.tsx | 0
.../tabs/dashboards/empty_dashboards.tsx | 0
.../dashboards/filter_explanation_callout.tsx | 0
.../components/asset_details/tabs/index.ts | 0
.../asset_details/tabs/logs/logs.tsx | 0
.../metadata/add_metadata_filter_button.tsx | 0
.../tabs/metadata/add_pin_to_row.tsx | 0
.../tabs/metadata/build_metadata_filter.ts | 0
.../tabs/metadata/metadata.stories.tsx | 0
.../tabs/metadata/metadata.test.tsx | 0
.../asset_details/tabs/metadata/metadata.tsx | 0
.../asset_details/tabs/metadata/table.tsx | 0
.../asset_details/tabs/metadata/utils.test.ts | 0
.../asset_details/tabs/metadata/utils.ts | 0
.../tabs/metrics/container_metrics.tsx | 0
.../tabs/metrics/host_metrics.tsx | 0
.../asset_details/tabs/metrics/metrics.tsx | 0
.../tabs/metrics/metrics_template.tsx | 0
.../asset_details/tabs/osquery/osquery.tsx | 0
.../tabs/overview/alerts/alerts.tsx | 0
.../overview/alerts/alerts_closed_content.tsx | 0
.../overview/kpis/cpu_profiling_prompt.tsx | 0
.../tabs/overview/kpis/kpi_grid.tsx | 0
.../asset_details/tabs/overview/logs.tsx | 0
.../metadata_summary/metadata_header.tsx | 0
.../metadata_summary_list.tsx | 0
.../overview/metrics/container_metrics.tsx | 0
.../tabs/overview/metrics/host_metrics.tsx | 0
.../tabs/overview/metrics/metrics.tsx | 0
.../asset_details/tabs/overview/overview.tsx | 0
.../tabs/overview/section_titles.tsx | 0
.../asset_details/tabs/overview/services.tsx | 0
.../tabs/processes/parse_search_string.ts | 0
.../tabs/processes/process_row.tsx | 0
.../tabs/processes/process_row_charts.tsx | 0
.../tabs/processes/processes.stories.tsx | 0
.../tabs/processes/processes.tsx | 0
.../tabs/processes/processes_table.tsx | 0
.../tabs/processes/state_badge.tsx | 0
.../asset_details/tabs/processes/states.ts | 0
.../tabs/processes/summary_table.tsx | 0
.../asset_details/tabs/processes/types.ts | 0
.../tabs/profiling/description_callout.tsx | 0
.../tabs/profiling/empty_data_prompt.tsx | 0
.../tabs/profiling/error_prompt.tsx | 0
.../tabs/profiling/flamegraph.tsx | 0
.../tabs/profiling/functions.tsx | 0
.../tabs/profiling/profiling.tsx | 0
.../tabs/profiling/profiling_links.tsx | 0
.../asset_details/tabs/profiling/threads.tsx | 0
.../asset_details/template/flyout.tsx | 0
.../asset_details/template/page.tsx | 0
.../components/asset_details/translations.ts | 0
.../public/components/asset_details/types.ts | 0
.../public/components/asset_details/utils.ts | 0
.../utils/get_data_stream_types.ts | 0
.../infra}/public/components/auto_sizer.tsx | 0
.../autocomplete_field/autocomplete_field.tsx | 0
.../components/autocomplete_field/index.ts | 0
.../autocomplete_field/suggestion_item.tsx | 0
.../public/components/basic_table/index.ts | 0
.../basic_table/row_expansion_button.tsx | 0
.../infra/public/components/beta_badge.tsx | 0
.../public/components/empty_states/index.tsx | 0
.../components/empty_states/no_data.tsx | 0
.../components/empty_states/no_indices.tsx | 0
.../empty_states/no_metric_indices.tsx | 0
.../empty_states/no_remote_cluster.tsx | 0
.../infra/public/components/error_callout.tsx | 0
.../infra/public/components/error_page.tsx | 0
.../infra/public/components/eui/index.ts | 0
.../public/components/eui/toolbar/index.ts | 0
.../public/components/eui/toolbar/toolbar.tsx | 0
.../public/components/fixed_datepicker.tsx | 0
.../public/components/height_retainer.tsx | 0
.../public/components/help_center_content.tsx | 0
.../components/lens/chart_load_error.tsx | 0
.../components/lens/chart_placeholder.tsx | 0
.../infra/public/components/lens/index.tsx | 0
.../public/components/lens/lens_chart.tsx | 0
.../public/components/lens/lens_wrapper.tsx | 0
.../container_metrics_explanation_content.tsx | 0
.../host_metrics_docs_link.tsx | 0
.../host_metrics_explanation_content.tsx | 0
.../metric_explanation/tooltip_content.tsx | 0
.../infra/public/components/lens/types.ts | 0
.../loading/__examples__/index.stories.tsx | 0
.../infra/public/components/loading/index.tsx | 0
.../components/loading_overlay_wrapper.tsx | 0
.../infra/public/components/loading_page.tsx | 0
.../public/components/log_stream/constants.ts | 0
.../log_stream_react_embeddable.tsx | 0
.../public/components/log_stream/types.ts | 0
.../logging/inline_log_view_splash_page.tsx | 0
.../logging/log_analysis_job_status/index.ts | 0
.../job_configuration_outdated_callout.tsx | 0
.../job_definition_outdated_callout.tsx | 0
.../job_stopped_callout.tsx | 0
.../log_analysis_job_problem_indicator.tsx | 0
.../notices_section.tsx | 0
.../quality_warning_notices.stories.tsx | 0
.../quality_warning_notices.tsx | 0
.../recreate_job_callout.tsx | 0
.../analyze_in_ml_button.tsx | 0
.../anomaly_severity_indicator.tsx | 0
.../category_expression.tsx | 0
.../datasets_selector.tsx | 0
.../first_use_callout.tsx | 0
.../logging/log_analysis_results/index.ts | 0
.../log_analysis_setup/create_job_button.tsx | 0
.../logging/log_analysis_setup/index.ts | 0
.../analysis_setup_indices_form.tsx | 0
.../analysis_setup_timerange_form.tsx | 0
.../initial_configuration_step/index.ts | 0
.../index_setup_dataset_filter.tsx | 0
.../index_setup_row.tsx | 0
.../initial_configuration_step.stories.tsx | 0
.../initial_configuration_step.tsx | 0
.../initial_configuration_step/validation.tsx | 0
.../log_analysis_setup/manage_jobs_button.tsx | 0
.../missing_privileges_messages.ts | 0
.../missing_results_privileges_prompt.tsx | 0
.../missing_setup_privileges_prompt.tsx | 0
.../missing_setup_privileges_tooltip.tsx | 0
.../ml_unavailable_prompt.tsx | 0
.../process_step/create_ml_jobs_button.tsx | 0
.../log_analysis_setup/process_step/index.ts | 0
.../process_step/process_step.tsx | 0
.../process_step/recreate_ml_jobs_button.tsx | 0
.../log_analysis_setup/setup_flyout/index.tsx | 0
.../log_entry_categories_setup_view.tsx | 0
.../log_entry_rate_setup_view.tsx | 0
.../setup_flyout/module_list.tsx | 0
.../setup_flyout/module_list_card.tsx | 0
.../setup_flyout/setup_flyout.tsx | 0
.../setup_flyout/setup_flyout_state.ts | 0
.../setup_status_unknown_prompt.tsx | 0
.../user_management_link.tsx | 0
.../logging/log_customization_menu.tsx | 0
.../components/logging/log_datepicker.tsx | 0
.../log_entry_examples/log_entry_examples.tsx | 0
.../log_entry_examples_empty_indicator.tsx | 0
.../log_entry_examples_failure_indicator.tsx | 0
.../log_entry_examples_loading_indicator.tsx | 0
.../logging/log_highlights_menu.tsx | 0
.../logging/log_minimap/density_chart.tsx | 0
.../log_minimap/highlighted_interval.tsx | 0
.../components/logging/log_minimap/index.ts | 0
.../logging/log_minimap/log_minimap.tsx | 0
.../logging/log_minimap/search_marker.tsx | 0
.../log_minimap/search_marker_tooltip.tsx | 0
.../logging/log_minimap/search_markers.tsx | 0
.../log_minimap/time_label_formatter.tsx | 0
.../logging/log_minimap/time_ruler.tsx | 0
.../logging/log_search_controls/index.ts | 0
.../log_search_buttons.tsx | 0
.../log_search_controls.tsx | 0
.../log_search_controls/log_search_input.tsx | 0
.../components/logging/log_statusbar.tsx | 0
.../logging/log_text_scale_controls.tsx | 0
.../logging/log_text_wrap_controls.tsx | 0
.../components/logs_deprecation_callout.tsx | 0
.../missing_embeddable_factory_callout.tsx | 0
.../anomalies_table/annomaly_summary.tsx | 0
.../anomalies_table/anomalies_table.tsx | 0
.../anomalies_table/pagination.tsx | 0
.../anomaly_detection_flyout.tsx | 0
.../ml/anomaly_detection/flyout_home.tsx | 0
.../ml/anomaly_detection/job_setup_screen.tsx | 0
.../plugins}/infra/public/components/page.tsx | 0
.../infra/public/components/page_template.tsx | 0
.../saved_views/manage_views_flyout.tsx | 0
.../saved_views/toolbar_control.tsx | 0
.../components/saved_views/upsert_modal.tsx | 0
.../shared/alerts/alerts_overview.tsx | 0
.../shared/alerts/alerts_status_filter.tsx | 0
.../components/shared/alerts/constants.ts | 0
.../link_to_alerts_page.test.tsx.snap | 0
.../alerts/links/create_alert_rule_button.tsx | 0
.../alerts/links/link_to_alerts_page.test.tsx | 0
.../alerts/links/link_to_alerts_page.tsx | 0
.../shared/templates/infra_page_template.tsx | 0
.../shared/templates/no_data_config.ts | 0
.../view_source_configuration_button.tsx | 0
.../public/components/source_error_page.tsx | 0
.../public/components/source_loading_page.tsx | 0
.../subscription_splash_content.tsx | 0
.../infra/public/components/try_it_button.tsx | 0
.../header_action_menu_provider.tsx | 0
.../containers/kbn_url_state_context.ts | 0
.../get_latest_categories_datasets_stats.ts | 0
.../logs/log_analysis/api/ml_api_types.ts | 0
.../logs/log_analysis/api/ml_cleanup.ts | 0
.../api/ml_get_jobs_summary_api.ts | 0
.../logs/log_analysis/api/ml_get_module.ts | 0
.../log_analysis/api/ml_setup_module_api.ts | 0
.../log_analysis/api/validate_datasets.ts | 0
.../logs/log_analysis/api/validate_indices.ts | 0
.../containers/logs/log_analysis/index.ts | 0
.../log_analysis_capabilities.tsx | 0
.../log_analysis/log_analysis_cleanup.tsx | 0
.../logs/log_analysis/log_analysis_module.tsx | 0
.../log_analysis_module_configuration.ts | 0
.../log_analysis_module_definition.tsx | 0
.../log_analysis_module_status.tsx | 0
.../log_analysis/log_analysis_module_types.ts | 0
.../log_analysis/log_analysis_setup_state.ts | 0
.../modules/log_entry_categories/index.ts | 0
.../log_entry_categories/module_descriptor.ts | 0
.../use_log_entry_categories_module.tsx | 0
.../use_log_entry_categories_quality.ts | 0
.../use_log_entry_categories_setup.tsx | 0
.../modules/log_entry_rate/index.ts | 0
.../log_entry_rate/module_descriptor.ts | 0
.../use_log_entry_rate_module.tsx | 0
.../use_log_entry_rate_setup.tsx | 0
.../public/containers/logs/log_flyout.tsx | 0
.../logs/log_view_configuration.test.tsx | 0
.../logs/log_view_configuration.tsx | 0
.../logs/view_log_in_context/index.ts | 0
.../view_log_in_context.ts | 0
.../containers/logs/with_log_textview.tsx | 0
...metrics_explorer_options_url_state.test.ts | 0
...ith_metrics_explorer_options_url_state.tsx | 0
.../public/containers/metrics_source/index.ts | 0
.../containers/metrics_source/metrics_view.ts | 0
.../metrics_source/notifications.ts | 0
.../containers/metrics_source/source.tsx | 0
.../metrics_source/source_errors.ts | 0
.../public/containers/ml/api/ml_api_types.ts | 0
.../public/containers/ml/api/ml_cleanup.ts | 0
.../ml/api/ml_get_jobs_summary_api.ts | 0
.../public/containers/ml/api/ml_get_module.ts | 0
.../containers/ml/api/ml_setup_module_api.ts | 0
.../containers/ml/infra_ml_capabilities.tsx | 0
.../public/containers/ml/infra_ml_cleanup.tsx | 0
.../public/containers/ml/infra_ml_module.tsx | 0
.../ml/infra_ml_module_configuration.ts | 0
.../ml/infra_ml_module_definition.tsx | 0
.../ml/infra_ml_module_status.test.ts | 0
.../containers/ml/infra_ml_module_status.tsx | 0
.../containers/ml/infra_ml_module_types.ts | 0
.../ml/modules/metrics_hosts/module.tsx | 0
.../metrics_hosts/module_descriptor.ts | 0
.../ml/modules/metrics_k8s/module.tsx | 0
.../modules/metrics_k8s/module_descriptor.ts | 0
.../containers/plugin_config_context.test.tsx | 0
.../containers/plugin_config_context.ts | 0
.../containers/react_query_provider.tsx | 0
.../containers/triggers_actions_context.tsx | 0
.../containers/with_kuery_autocompletion.tsx | 0
.../public/hooks/use_alerts_count.test.ts | 0
.../infra/public/hooks/use_alerts_count.ts | 0
.../infra/public/hooks/use_chart_themes.ts | 0
.../infra/public/hooks/use_document_title.tsx | 0
.../use_entity_centric_experience_setting.tsx | 0
.../infra/public/hooks/use_fetcher.tsx | 0
.../infra/public/hooks/use_inventory_views.ts | 0
.../infra/public/hooks/use_is_dark_mode.ts | 0
.../infra/public/hooks/use_kibana.tsx | 0
.../hooks/use_kibana_index_patterns.mock.tsx | 0
.../public/hooks/use_kibana_index_patterns.ts | 0
.../infra/public/hooks/use_kibana_space.ts | 0
.../hooks/use_kibana_time_zone_setting.ts | 0
.../hooks/use_kibana_timefilter_time.tsx | 0
.../public/hooks}/use_kibana_ui_setting.ts | 0
.../infra/public/hooks/use_lazy_ref.ts | 0
.../public/hooks/use_lens_attributes.test.ts | 0
.../infra/public/hooks/use_lens_attributes.ts | 0
.../infra/public/hooks/use_license.ts | 0
.../public/hooks/use_log_view_reference.ts | 0
.../public/hooks/use_logs_breadcrumbs.tsx | 0
.../public/hooks/use_metrics_breadcrumbs.tsx | 0
.../hooks/use_metrics_explorer_views.ts | 0
.../infra/public/hooks}/use_observable.ts | 0
.../hooks/use_parent_breadcrumb_resolver.ts | 0
.../use_profiling_integration_setting.ts | 0
.../infra/public/hooks/use_readonly_badge.tsx | 0
.../public/hooks/use_saved_views_notifier.ts | 0
.../infra/public/hooks/use_search_session.ts | 0
.../infra/public/hooks/use_sorting.tsx | 0
.../infra/public/hooks/use_time_range.test.ts | 0
.../infra/public/hooks/use_time_range.ts | 0
.../public/hooks/use_timeline_chart_theme.ts | 0
.../public/hooks}/use_tracked_promise.ts | 0
.../infra/public/hooks/use_trial_status.tsx | 0
.../public/hooks/use_viewport_dimensions.ts | 0
.../public/hooks}/use_visibility_state.ts | 0
.../plugins}/infra/public/images/docker.svg | 0
.../plugins}/infra/public/images/hosts.svg | 0
.../infra/public/images/infra_mono_white.svg | 0
.../plugins}/infra/public/images/k8.svg | 0
.../public/images/logging_mono_white.svg | 0
.../plugins}/infra/public/images/services.svg | 0
.../plugins}/infra/public/index.ts | 0
.../public/metrics_overview_fetchers.test.ts | 0
.../infra/public/metrics_overview_fetchers.ts | 0
.../plugins}/infra/public/mocks.tsx | 0
.../log_stream_page/state/README.md | 0
.../log_stream_page/state}/index.ts | 0
.../log_stream_page/state/src/index.ts | 0
.../state/src/initial_parameters_service.ts | 0
.../log_stream_page/state/src/provider.tsx | 0
.../log_stream_page/state/src/selectors.ts | 0
.../state/src/state_machine.ts | 0
.../log_stream_page/state/src/types.ts | 0
.../log_stream_position_state/index.ts | 0
.../log_stream_position_state/src/defaults.ts | 0
.../src/notifications.ts | 0
.../src/state_machine.ts | 0
.../log_stream_position_state/src/types.ts | 0
.../src/url_state_storage_service.ts | 0
.../log_stream_query_state}/index.ts | 0
.../log_stream_query_state/src/defaults.ts | 0
.../log_stream_query_state/src/errors.ts | 0
.../log_stream_query_state/src/index.ts | 0
.../src/notifications.ts | 0
.../src/search_bar_state_service.ts | 0
.../src/state_machine.ts | 0
.../src/time_filter_state_service.ts | 0
.../log_stream_query_state/src/types.ts | 0
.../src/url_state_storage_service.ts | 0
.../src/validate_query_service.ts | 0
.../xstate_helpers/README.md | 0
.../xstate_helpers}/index.ts | 0
.../xstate_helpers/src/index.ts | 0
.../src/invalid_state_callout.tsx | 0
.../src/state_machine_playground.tsx | 0
.../infra/public/page_template.styles.ts | 0
.../plugins}/infra/public/pages/404.tsx | 0
.../plugins}/infra/public/pages/error.tsx | 0
.../infra/public/pages/link_to/index.ts | 0
.../public/pages/link_to/link_to_logs.tsx | 0
.../public/pages/link_to/link_to_metrics.tsx | 0
.../public/pages/link_to/query_params.ts | 0
.../redirect_to_host_detail_via_ip.tsx | 0
.../pages/link_to/redirect_to_inventory.tsx | 0
.../public/pages/link_to/redirect_to_logs.tsx | 0
.../pages/link_to/redirect_to_node_detail.tsx | 0
.../pages/link_to/redirect_to_node_logs.tsx | 0
.../pages/link_to/use_host_ip_to_name.test.ts | 0
.../pages/link_to/use_host_ip_to_name.ts | 0
.../infra/public/pages/logs/index.tsx | 0
.../pages/logs/log_entry_categories/index.ts | 0
.../pages/logs/log_entry_categories/page.tsx | 0
.../log_entry_categories/page_content.tsx | 0
.../log_entry_categories/page_providers.tsx | 0
.../page_results_content.tsx | 0
.../page_setup_content.tsx | 0
.../analyze_dataset_in_ml_action.tsx | 0
.../anomaly_severity_indicator_list.tsx | 0
.../top_categories/category_details_row.tsx | 0
.../category_example_message.tsx | 0
.../top_categories/datasets_action_list.tsx | 0
.../sections/top_categories/datasets_list.tsx | 0
.../sections/top_categories/index.ts | 0
.../log_entry_count_sparkline.tsx | 0
.../single_metric_comparison.tsx | 0
.../single_metric_sparkline.tsx | 0
.../top_categories/top_categories_section.tsx | 0
.../top_categories/top_categories_table.tsx | 0
.../get_log_entry_category_datasets.ts | 0
.../get_log_entry_category_examples.ts | 0
.../get_top_log_entry_categories.ts | 0
.../use_log_entry_categories_results.ts | 0
...log_entry_categories_results_url_state.tsx | 0
.../use_log_entry_category_examples.tsx | 0
.../public/pages/logs/log_entry_rate/index.ts | 0
.../public/pages/logs/log_entry_rate/page.tsx | 0
.../logs/log_entry_rate/page_content.tsx | 0
.../logs/log_entry_rate/page_providers.tsx | 0
.../log_entry_rate/page_results_content.tsx | 0
.../log_entry_rate/page_setup_content.tsx | 0
.../anomalies_swimlane_visualisation.tsx | 0
.../sections/anomalies/expanded_row.tsx | 0
.../sections/anomalies/index.tsx | 0
.../sections/anomalies/log_entry_example.tsx | 0
.../sections/anomalies/table.tsx | 0
.../service_calls/get_log_entry_anomalies.ts | 0
.../get_log_entry_anomalies_datasets.ts | 0
.../service_calls/get_log_entry_examples.ts | 0
.../log_entry_rate/use_dataset_filtering.ts | 0
.../use_log_entry_anomalies_results.ts | 0
.../log_entry_rate/use_log_entry_examples.ts | 0
.../use_log_entry_rate_results_url_state.tsx | 0
.../plugins}/infra/public/pages/logs/page.tsx | 0
.../infra/public/pages/logs/page_content.tsx | 0
.../public/pages/logs/page_providers.tsx | 0
.../infra/public/pages/logs/routes.ts | 0
.../logs/settings/add_log_column_popover.tsx | 0
.../pages/logs/settings/form_elements.tsx | 0
.../pages/logs/settings/form_field_props.tsx | 0
.../infra/public/pages/logs/settings/index.ts | 0
.../index_names_configuration_panel.tsx | 0
.../index_pattern_configuration_panel.tsx | 0
.../logs/settings/index_pattern_selector.tsx | 0
.../indices_configuration_form_state.ts | 0
.../indices_configuration_panel.stories.tsx | 0
.../settings/indices_configuration_panel.tsx | 0
.../logs/settings/inline_log_view_callout.tsx | 0
...a_advanced_setting_configuration_panel.tsx | 0
.../log_columns_configuration_form_state.tsx | 0
.../log_columns_configuration_panel.tsx | 2 +-
.../name_configuration_form_state.tsx | 0
.../settings/name_configuration_panel.tsx | 0
.../source_configuration_form_errors.tsx | 0
.../source_configuration_form_state.tsx | 0
.../source_configuration_settings.tsx | 0
.../pages/logs/settings/validation_errors.ts | 0
.../call_get_log_analysis_id_formats.ts | 0
.../pages/logs/shared/page_log_view_error.tsx | 0
.../pages/logs/shared/page_template.tsx | 0
.../shared/use_log_ml_job_id_formats_shim.tsx | 0
.../stream/components/stream_live_button.tsx | 0
.../components/stream_page_template.tsx | 0
.../infra/public/pages/logs/stream/index.ts | 0
.../infra/public/pages/logs/stream/page.tsx | 0
.../public/pages/logs/stream/page_content.tsx | 0
.../pages/logs/stream/page_logs_content.tsx | 0
.../stream/page_missing_indices_content.tsx | 0
.../pages/logs/stream/page_providers.tsx | 0
.../public/pages/logs/stream/page_toolbar.tsx | 0
.../logs/stream/page_view_log_in_context.tsx | 0
.../components/chart/metric_chart_wrapper.tsx | 0
.../hosts/components/common/popover.tsx | 0
.../host_details_flyout/flyout_wrapper.tsx | 0
.../hosts/components/hosts_container.tsx | 0
.../hosts/components/hosts_content.tsx | 0
.../metrics/hosts/components/hosts_table.tsx | 0
.../hosts/components/kpis/host_count_kpi.tsx | 0
.../hosts/components/kpis/kpi_charts.tsx | 0
.../hosts/components/kpis/kpi_grid.tsx | 0
.../search_bar/control_panels_config.ts | 0
.../search_bar/controls_content.tsx | 0
.../components/search_bar/controls_title.tsx | 0
.../components/search_bar/limit_options.tsx | 0
.../search_bar/unified_search_bar.tsx | 0
.../add_data_troubleshooting_popover.tsx | 0
.../hosts/components/table/column_header.tsx | 0
.../hosts/components/table/entry_title.tsx | 0
.../hosts/components/table/filter_action.tsx | 0
.../tabs/alerts/alerts_tab_content.tsx | 0
.../hosts/components/tabs/alerts/index.ts | 0
.../components/tabs/alerts_tab_badge.tsx | 0
.../hosts/components/tabs/logs/index.ts | 0
.../tabs/logs/logs_link_to_stream.tsx | 0
.../components/tabs/logs/logs_search_bar.tsx | 0
.../components/tabs/logs/logs_tab_content.tsx | 0
.../hosts/components/tabs/metrics/chart.tsx | 0
.../components/tabs/metrics/metrics_grid.tsx | 0
.../metrics/hosts/components/tabs/tabs.tsx | 0
.../public/pages/metrics/hosts/constants.ts | 0
.../hosts/hooks/use_after_loaded_state.ts | 0
.../metrics/hosts/hooks/use_alerts_query.ts | 0
.../hosts/hooks/use_host_count.test.ts | 0
.../metrics/hosts/hooks/use_host_count.ts | 0
.../hosts/hooks/use_hosts_table.test.ts | 0
.../metrics/hosts/hooks/use_hosts_table.tsx | 0
.../hosts/hooks/use_hosts_table_url_state.ts | 0
.../metrics/hosts/hooks/use_hosts_view.ts | 0
.../hosts/hooks/use_logs_search_url_state.ts | 0
.../hosts/hooks/use_metrics_charts.test.ts | 0
.../metrics/hosts/hooks/use_metrics_charts.ts | 0
.../pages/metrics/hosts/hooks/use_tab_id.ts | 0
.../metrics/hosts/hooks/use_unified_search.ts | 0
.../hooks/use_unified_search_url_state.ts | 0
.../public/pages/metrics/hosts/index.tsx | 0
.../pages/metrics/hosts/translations.ts | 0
.../infra/public/pages/metrics/hosts/types.ts | 0
.../infra/public/pages/metrics/index.tsx | 0
.../components/bottom_drawer.tsx | 0
.../components/dropdown_button.tsx | 0
.../inventory_view/components/filter_bar.tsx | 0
.../components/kubernetes_tour.tsx | 0
.../inventory_view/components/layout.tsx | 0
.../inventory_view/components/layout_view.tsx | 0
.../components/nodes_overview.tsx | 0
.../inventory_view/components/saved_views.tsx | 0
.../inventory_view/components/search_bar.tsx | 0
.../components/snapshot_container.tsx | 0
.../components/survey_kubernetes.tsx | 0
.../components/survey_section.tsx | 0
.../inventory_view/components/table_view.tsx | 0
.../components/timeline/timeline.tsx | 0
.../toolbars/aws_ec2_toolbar_items.tsx | 0
.../toolbars/aws_rds_toolbar_items.tsx | 0
.../toolbars/aws_s3_toolbar_items.tsx | 0
.../toolbars/aws_sqs_toolbar_items.tsx | 0
.../toolbars/cloud_toolbar_items.tsx | 0
.../toolbars/container_toolbar_items.tsx | 0
.../toolbars/host_toolbar_items.tsx | 0
.../metrics_and_groupby_toolbar_items.tsx | 0
.../components/toolbars/pod_toolbar_items.tsx | 0
.../components/toolbars/toolbar.tsx | 0
.../components/toolbars/toolbar_wrapper.tsx | 0
.../components/toolbars/types.ts | 0
.../conditional_tooltip.test.tsx.snap | 0
.../waffle/asset_details_flyout.tsx | 0
.../waffle/conditional_tooltip.test.tsx | 0
.../components/waffle/conditional_tooltip.tsx | 0
.../components/waffle/custom_field_panel.tsx | 0
.../components/waffle/gradient_legend.tsx | 0
.../components/waffle/group_name.tsx | 0
.../components/waffle/group_of_groups.tsx | 0
.../components/waffle/group_of_nodes.tsx | 0
.../components/waffle/interval_label.tsx | 0
.../components/waffle/legend.tsx | 0
.../components/waffle/legend_controls.tsx | 0
.../inventory_view/components/waffle/map.tsx | 0
.../metric_control/custom_metric_form.tsx | 0
.../waffle/metric_control/index.tsx | 0
.../metric_control/metrics_context_menu.tsx | 0
.../metric_control/metrics_edit_mode.tsx | 0
.../waffle/metric_control/mode_switcher.tsx | 0
.../components/waffle/metric_control/types.ts | 0
.../inventory_view/components/waffle/node.tsx | 0
.../components/waffle/node_context_menu.tsx | 0
.../components/waffle/node_square.tsx | 2 +-
.../components/waffle/palette_preview.tsx | 0
.../waffle/stepped_gradient_legend.tsx | 0
.../components/waffle/steps_legend.tsx | 0
.../components/waffle/swatch_label.tsx | 0
.../components/waffle/view_switcher.tsx | 0
.../waffle/waffle_accounts_controls.tsx | 0
.../waffle/waffle_group_by_controls.tsx | 0
.../waffle/waffle_inventory_switcher.tsx | 0
.../waffle/waffle_region_controls.tsx | 0
.../waffle/waffle_sort_controls.tsx | 0
.../waffle/waffle_time_controls.tsx | 0
.../use_asset_details_flyout_url_state.ts | 0
.../hooks/use_metrics_hosts_anomalies.ts | 0
.../hooks/use_metrics_k8s_anomalies.ts | 0
.../inventory_view/hooks/use_snaphot.ts | 0
.../inventory_view/hooks/use_timeline.ts | 0
.../hooks/use_waffle_filters.test.ts | 0
.../hooks/use_waffle_filters.ts | 0
.../hooks/use_waffle_options.test.ts | 0
.../hooks/use_waffle_options.ts | 0
.../inventory_view/hooks/use_waffle_time.ts | 0
.../hooks/use_waffle_view_state.ts | 0
.../pages/metrics/inventory_view/index.tsx | 0
.../lib/apply_wafflemap_layout.ts | 0
.../lib/calculate_bounds_from_nodes.test.ts | 0
.../lib/calculate_bounds_from_nodes.ts | 0
.../inventory_view/lib/color_from_value.ts | 0
.../lib/convert_bounds_to_percents.ts | 0
.../lib/create_inventory_metric_formatter.ts | 0
.../inventory_view/lib/create_legend.ts | 0
.../lib/field_to_display_name.ts | 0
.../inventory_view/lib/get_color_palette.ts | 0
.../inventory_view/lib/navigate_to_uptime.ts | 0
.../inventory_view/lib/nodes_to_wafflemap.ts | 0
.../inventory_view/lib/size_of_squares.ts | 0
.../inventory_view/lib/sort_nodes.test.ts | 0
.../metrics/inventory_view/lib/sort_nodes.ts | 0
.../metrics/inventory_view/lib/type_guards.ts | 0
.../metric_detail/asset_detail_page.tsx | 0
.../components/chart_section_vis.tsx | 0
.../components/error_message.tsx | 0
.../components/gauges_section_vis.tsx | 0
.../metric_detail/components/helpers.ts | 0
.../metric_detail/components/invalid_node.tsx | 0
.../metric_detail/components/layout.tsx | 0
.../components/layouts/aws_ec2_layout.tsx | 0
.../components/layouts/aws_rds_layout.tsx | 0
.../components/layouts/aws_s3_layout.tsx | 0
.../components/layouts/aws_sqs_layout.tsx | 0
.../components/layouts/container_layout.tsx | 0
.../layouts/nginx_layout_sections.tsx | 0
.../components/layouts/pod_layout.tsx | 0
.../components/metadata_details.tsx | 0
.../components/node_details_page.tsx | 0
.../metric_detail/components/page_body.tsx | 0
.../components/page_error.test.tsx | 0
.../metric_detail/components/page_error.tsx | 0
.../metric_detail/components/section.tsx | 0
.../metric_detail/components/series_chart.tsx | 0
.../metric_detail/components/side_nav.tsx | 0
.../metric_detail/components/sub_section.tsx | 0
.../components/time_controls.test.tsx | 0
.../components/time_controls.tsx | 0
.../containers/metadata_context.ts | 0
.../metric_detail/hooks/metrics_time.test.tsx | 0
.../metric_detail/hooks/use_metrics_time.ts | 0
.../pages/metrics/metric_detail/index.tsx | 0
.../metric_detail/lib/get_filtered_metrics.ts | 0
.../metric_detail/lib/side_nav_context.ts | 0
.../metric_detail/metric_detail_page.tsx | 0
.../pages/metrics/metric_detail/types.ts | 0
.../components/aggregation.tsx | 0
.../metrics_explorer/components/chart.tsx | 0
.../components/chart_context_menu.test.tsx | 0
.../components/chart_context_menu.tsx | 0
.../components/chart_options.tsx | 0
.../components/chart_title.tsx | 0
.../metrics_explorer/components/charts.tsx | 0
.../components/empty_chart.tsx | 0
.../metrics_explorer/components/group_by.tsx | 0
.../components/helpers/calculate_domain.ts | 0
.../helpers/calculate_domian.test.ts | 0
.../helpers/create_formatter_for_metric.ts | 0
.../create_formatter_for_metrics.test.ts | 0
.../helpers/create_metric_label.test.ts | 0
.../components/helpers/create_metric_label.ts | 0
.../helpers/create_tsvb_link.test.ts | 0
.../components/helpers/create_tsvb_link.ts | 0
.../components/helpers/get_metric_id.ts | 0
.../helpers/metric_to_format.test.ts | 0
.../components/helpers/metric_to_format.ts | 0
.../metrics_explorer/components/kuery_bar.tsx | 0
.../metrics_explorer/components/metrics.tsx | 0
.../components/no_metrics.tsx | 0
.../components/saved_views.tsx | 0
.../components/series_chart.tsx | 0
.../metrics_explorer/components/toolbar.tsx | 0
.../hooks/use_metric_explorer_state.test.tsx | 0
.../hooks/use_metric_explorer_state.ts | 0
.../hooks/use_metrics_explorer_data.test.tsx | 0
.../hooks/use_metrics_explorer_data.ts | 0
.../use_metrics_explorer_options.test.tsx | 0
.../hooks/use_metrics_explorer_options.ts | 0
.../pages/metrics/metrics_explorer/index.tsx | 0
.../infra/public/pages/metrics/settings.tsx | 0
.../settings/features_configuration_panel.tsx | 0
.../indices_configuration_form_state.ts | 0
.../settings/indices_configuration_panel.tsx | 0
.../pages/metrics/settings/input_fields.tsx | 0
.../settings/ml_configuration_panel.tsx | 0
.../settings/name_configuration_panel.tsx | 0
.../source_configuration_form_state.tsx | 0
.../source_configuration_settings.tsx | 0
.../plugins}/infra/public/plugin.ts | 4 +-
.../plugins}/infra/public/register_feature.ts | 0
.../public/services/inventory_views/index.ts | 0
.../inventory_views_client.mock.ts | 0
.../inventory_views/inventory_views_client.ts | 0
.../inventory_views_service.mock.ts | 0
.../inventory_views_service.ts | 0
.../public/services/inventory_views/types.ts | 0
.../services/metrics_explorer_views/index.ts | 0
.../metrics_explorer_views_client.mock.ts | 0
.../metrics_explorer_views_client.ts | 0
.../metrics_explorer_views_service.mock.ts | 0
.../metrics_explorer_views_service.ts | 0
.../services/metrics_explorer_views/types.ts | 0
.../infra/public/services/telemetry/index.ts | 0
.../telemetry/telemetry_client.mock.ts | 0
.../services/telemetry/telemetry_client.ts | 0
.../services/telemetry/telemetry_events.ts | 0
.../telemetry/telemetry_service.mock.ts | 0
.../telemetry/telemetry_service.test.ts | 0
.../services/telemetry/telemetry_service.ts | 0
.../infra/public/services/telemetry/types.ts | 0
.../infra/public/test_utils/entries.ts | 0
.../plugins}/infra/public/test_utils/index.ts | 0
.../test_utils/use_global_storybook_theme.tsx | 0
.../plugins}/infra/public/translations.ts | 0
.../plugins}/infra/public/types.ts | 0
.../utils/convert_interval_to_string.ts | 0
.../utils/data_search/data_search.stories.mdx | 0
.../flatten_data_search_response.ts | 0
.../infra}/public/utils/data_search/index.ts | 0
.../normalize_data_search_responses.ts | 0
.../infra/public/utils/data_search/types.ts | 0
.../use_data_search_request.test.tsx | 0
.../data_search/use_data_search_request.ts | 0
.../use_data_search_response_state.ts | 0
...test_partial_data_search_response.test.tsx | 0
...use_latest_partial_data_search_response.ts | 0
.../plugins}/infra/public/utils/data_view.ts | 0
.../infra/public/utils/datemath.test.ts | 0
.../plugins}/infra/public/utils/datemath.ts | 0
.../plugins}/infra/public/utils/dev_mode.ts | 0
.../infra/public/utils/filters/build.test.ts | 0
.../infra/public/utils/filters/build.ts | 0
.../utils/filters/create_alerts_es_query.ts | 0
.../public/utils/fixtures/metrics_explorer.ts | 0
.../plugins}/infra/public/utils/kuery.ts | 0
.../utils/log_column_render_configuration.tsx | 0
.../public/utils/logs_overview_fetchers.ts | 0
.../utils/logs_overview_fetches.test.ts | 0
...picker_quickranges_to_datepicker_ranges.ts | 0
.../utils/redirect_with_query_params.tsx | 0
.../public/utils/source_configuration.ts | 0
.../public/utils/theme_utils/with_attrs.tsx | 0
.../infra/public/utils/typed_react.tsx | 0
.../plugins}/infra/public/utils/url_state.tsx | 0
.../plugins}/infra/server/config.ts | 0
.../plugins}/infra/server/features.ts | 0
.../plugins}/infra/server/index.ts | 0
.../plugins}/infra/server/infra_server.ts | 0
.../lib/adapters/framework/adapter_types.ts | 0
.../server/lib/adapters/framework}/index.ts | 0
.../framework/kibana_framework_adapter.ts | 0
.../lib/adapters/metrics/adapter_types.ts | 0
.../server/lib/adapters/metrics}/index.ts | 0
.../metrics/kibana_metrics_adapter.ts | 0
.../adapters/metrics/lib/check_valid_node.ts | 0
.../elasticsearch_source_status_adapter.ts | 0
.../lib/adapters/source_status/index.ts | 0
.../lib/alerting/common/get_values.test.ts | 0
.../server/lib/alerting/common/get_values.ts | 0
.../server/lib/alerting/common/messages.ts | 0
.../server/lib/alerting/common/utils.test.ts | 0
.../infra/server/lib/alerting/common/utils.ts | 0
.../docs/params_property_infra_inventory.yaml | 0
...arams_property_infra_metric_threshold.yaml | 0
.../docs/params_property_log_threshold.yaml | 0
.../infra/server/lib/alerting/index.ts | 0
.../evaluate_condition.ts | 0
...nventory_metric_threshold_executor.test.ts | 0
.../inventory_metric_threshold_executor.ts | 0
.../lib/calculate_from_based_on_metric.ts | 0
.../lib/calculate_rate_timeranges.ts | 0
.../lib/convert_metric_value.ts | 0
.../lib/create_bucket_selector.test.ts | 0
.../lib/create_bucket_selector.ts | 0
.../lib/create_condition_script.test.ts | 0
.../lib/create_condition_script.ts | 0
.../lib/create_log_rate_aggs.ts | 0
.../lib/create_metric_aggregations.ts | 0
.../lib/create_rate_agg_with_interface.ts | 0
.../lib/create_rate_aggs.ts | 0
.../lib/create_request.ts | 0
.../lib/get_data.ts | 0
.../lib/is_rate.test.ts | 0
.../inventory_metric_threshold/lib/is_rate.ts | 0
...er_inventory_metric_threshold_rule_type.ts | 0
.../log_threshold_chart_preview.ts | 0
.../log_threshold_executor.test.ts | 0
.../log_threshold/log_threshold_executor.ts | 0
.../log_threshold_references_manager.test.ts | 0
.../log_threshold_references_manager.ts | 0
.../lib/alerting/log_threshold/mocks/index.ts | 0
.../log_threshold/reason_formatters.ts | 0
.../register_log_threshold_rule_type.ts | 0
.../lib/check_missing_group.ts | 0
...onvert_strings_to_missing_groups_record.ts | 0
.../lib/create_bucket_selector.ts | 0
.../lib/create_condition_script.ts | 0
.../lib/create_percentile_aggregation.ts | 0
.../lib/create_rate_aggregation.ts | 0
.../lib/create_timerange.test.ts | 0
.../metric_threshold/lib/create_timerange.ts | 0
.../metric_threshold/lib/evaluate_rule.ts | 0
.../alerting/metric_threshold/lib/get_data.ts | 0
.../lib/metric_expression_params.ts | 0
.../metric_threshold/lib/metric_query.test.ts | 0
.../metric_threshold/lib/metric_query.ts | 0
.../metric_threshold/lib/wrap_in_period.ts | 0
.../metric_threshold_executor.test.ts | 0
.../metric_threshold_executor.ts | 0
.../register_metric_threshold_rule_type.ts | 0
.../alerting/metric_threshold/test_mocks.ts | 0
.../lib/alerting/register_rule_types.ts | 0
.../server/lib/cancel_request_on_abort.ts | 0
.../plugins}/infra/server/lib/constants.ts | 0
.../lib/create_custom_metrics_aggregations.ts | 0
.../infra/server/lib/create_search_client.ts | 0
.../server/lib/domains/metrics_domain.ts | 0
.../lib/helpers/get_apm_data_access_client.ts | 0
.../lib/helpers/get_infra_alerts_client.ts | 0
.../helpers/get_infra_metrics_client.test.ts | 0
.../lib/helpers/get_infra_metrics_client.ts | 0
.../server/lib/host_details/process_list.ts | 0
.../lib/host_details/process_list_chart.ts | 0
.../infra/server/lib/infra_ml/common.ts | 0
.../infra/server/lib/infra_ml/errors.ts | 0
.../infra/server/lib/infra_ml/index.ts | 0
.../lib/infra_ml/metrics_hosts_anomalies.ts | 0
.../lib/infra_ml/metrics_k8s_anomalies.ts | 0
.../server/lib/infra_ml/queries/common.ts | 0
.../server/lib/infra_ml/queries/index.ts | 0
.../infra_ml/queries/log_entry_data_sets.ts | 0
.../queries/metrics_host_anomalies.test.ts | 0
.../queries/metrics_hosts_anomalies.ts | 0
.../queries/metrics_k8s_anomalies.test.ts | 0
.../infra_ml/queries/metrics_k8s_anomalies.ts | 0
.../server/lib/infra_ml/queries/ml_jobs.ts | 0
.../plugins}/infra/server/lib/infra_types.ts | 0
.../infra/server/lib/log_analysis/common.ts | 0
.../infra/server/lib/log_analysis/errors.ts | 0
.../infra/server/lib/log_analysis/index.ts | 0
.../lib/log_analysis/log_entry_anomalies.ts | 0
.../log_entry_categories_analysis.ts | 0
.../log_entry_categories_datasets_stats.ts | 0
.../log_analysis/log_entry_rate_analysis.ts | 0
.../server/lib/log_analysis/queries/common.ts | 0
.../server/lib/log_analysis/queries/index.ts | 0
...est_log_entry_categories_datasets_stats.ts | 0
.../queries/log_entry_anomalies.ts | 0
.../queries/log_entry_categories.ts | 0
.../queries/log_entry_category_examples.ts | 0
.../queries/log_entry_category_histograms.ts | 0
.../queries/log_entry_data_sets.ts | 0
.../queries/log_entry_examples.ts | 0
.../log_analysis/queries/log_entry_rate.ts | 0
.../lib/log_analysis/queries/ml_jobs.ts | 0
.../queries/top_log_entry_categories.ts | 0
.../lib/log_analysis/resolve_id_formats.ts | 0
.../infra/server/lib/metrics/constants.ts | 0
.../infra/server/lib/metrics/index.ts | 0
...ert_buckets_to_metrics_series.test.ts.snap | 0
.../create_aggregations.test.ts.snap | 0
.../create_metrics_aggregations.test.ts.snap | 0
.../calculate_auto.test.ts | 0
.../calculate_bucket_size/calculate_auto.ts | 0
.../calculate_bucket_size.test.ts | 0
.../lib/calculate_bucket_size/index.ts | 0
.../interval_regex.test.ts | 0
.../calculate_bucket_size/interval_regex.ts | 0
.../unit_to_seconds.test.ts | 0
.../calculate_bucket_size/unit_to_seconds.ts | 0
.../calculate_date_histogram_offset.test.ts | 0
.../lib/calculate_date_histogram_offset.ts | 0
.../lib/metrics/lib/calculate_interval.ts | 0
.../convert_buckets_to_metrics_series.test.ts | 0
.../lib/convert_buckets_to_metrics_series.ts | 0
.../metrics/lib/create_aggregations.test.ts | 0
.../lib/metrics/lib/create_aggregations.ts | 0
.../lib/create_metrics_aggregations.test.ts | 0
.../lib/create_metrics_aggregations.ts | 0
.../infra/server/lib/metrics/types.ts | 0
.../infra/server/lib/source_status.ts | 0
.../infra/server/lib/sources/defaults.ts | 0
.../infra/server/lib/sources/errors.ts | 0
.../infra/server/lib/sources/has_data.ts | 0
.../infra/server/lib/sources/index.ts | 0
...0_convert_log_alias_to_log_indices.test.ts | 0
...7_13_0_convert_log_alias_to_log_indices.ts | 0
...t_inventory_default_view_reference.test.ts | 0
...xtract_inventory_default_view_reference.ts | 0
...cs_explorer_default_view_reference.test.ts | 0
...metrics_explorer_default_view_reference.ts | 0
..._new_indexing_strategy_index_names.test.ts | 0
...0_add_new_indexing_strategy_index_names.ts | 0
.../migrations/compose_migrations.test.ts | 0
.../sources/migrations/compose_migrations.ts | 0
.../create_test_source_configuration.ts | 0
.../infra/server/lib/sources/mocks.ts | 0
.../sources/saved_object_references.test.ts | 0
.../lib/sources/saved_object_references.ts | 0
.../server/lib/sources/saved_object_type.ts | 0
.../infra/server/lib/sources/sources.test.ts | 0
.../infra/server/lib/sources/sources.ts | 0
.../infra/server/lib/sources/types.ts | 0
.../plugins}/infra/server/mocks.ts | 0
.../plugins}/infra/server/plugin.ts | 0
.../custom_dashboards/custom_dashboards.ts | 0
.../delete_custom_dashboard.ts | 0
.../custom_dashboards/get_custom_dashboard.ts | 0
.../lib/check_custom_dashboards_enabled.ts | 0
.../lib/delete_custom_dashboard.ts | 0
.../lib/find_custom_dashboard.ts | 0
.../save_custom_dashboard.ts | 0
.../update_custom_dashboard.ts | 0
.../entities/get_data_stream_types.test.ts | 0
.../routes/entities/get_data_stream_types.ts | 0
.../routes/entities/get_has_metrics_data.ts | 0
.../routes/entities/get_latest_entity.ts | 0
.../infra/server/routes/entities/index.ts | 0
.../infra/server/routes/infra/README.md | 0
.../infra/server/routes/infra/index.ts | 0
.../server/routes/infra/lib/constants.ts | 0
.../server/routes/infra/lib/helpers/query.ts | 0
.../routes/infra/lib/host/get_all_hosts.ts | 0
.../routes/infra/lib/host/get_apm_hosts.ts | 0
.../infra/lib/host/get_filtered_hosts.ts | 0
.../server/routes/infra/lib/host/get_hosts.ts | 0
.../infra/lib/host/get_hosts_alerts_count.ts | 0
.../routes/infra/lib/host/get_hosts_count.ts | 0
.../infra/server/routes/infra/lib/types.ts | 0
.../server/routes/infra/lib/utils.test.ts | 0
.../infra/server/routes/infra/lib/utils.ts | 0
.../infra/server/routes/infra_ml/index.ts | 0
.../server/routes/infra_ml/results/index.ts | 0
.../results/metrics_hosts_anomalies.ts | 0
.../infra_ml/results/metrics_k8s_anomalies.ts | 0
.../server/routes/inventory_metadata/index.ts | 0
.../lib/get_cloud_metadata.ts | 0
.../server/routes/inventory_views/README.md | 0
.../inventory_views/create_inventory_view.ts | 0
.../inventory_views/delete_inventory_view.ts | 0
.../inventory_views/find_inventory_view.ts | 0
.../inventory_views/get_inventory_view.ts | 0
.../server/routes/inventory_views/index.ts | 0
.../inventory_views/update_inventory_view.ts | 0
.../infra/server/routes/ip_to_hostname.ts | 0
.../routes/log_alerts/chart_preview_data.ts | 0
.../infra/server/routes/log_alerts/index.ts | 0
.../server/routes/log_analysis/id_formats.ts | 0
.../infra/server/routes/log_analysis/index.ts | 0
.../routes/log_analysis/results/index.ts | 0
.../results/log_entry_anomalies.ts | 0
.../results/log_entry_anomalies_datasets.ts | 0
.../results/log_entry_categories.ts | 0
.../results/log_entry_category_datasets.ts | 0
.../log_entry_category_datasets_stats.ts | 0
.../results/log_entry_category_examples.ts | 0
.../results/log_entry_examples.ts | 0
.../log_analysis/validation/datasets.ts | 0
.../routes/log_analysis/validation/index.ts | 0
.../routes/log_analysis/validation/indices.ts | 0
.../infra/server/routes/metadata/index.ts | 0
.../metadata/lib/get_cloud_metric_metadata.ts | 0
.../metadata/lib/get_metric_metadata.ts | 0
.../routes/metadata/lib/get_node_info.ts | 0
.../routes/metadata/lib/get_pod_node_name.ts | 0
.../routes/metadata/lib/pick_feature_name.ts | 0
.../routes/metrics_explorer_views/README.md | 0
.../create_metrics_explorer_view.ts | 0
.../delete_metrics_explorer_view.ts | 0
.../find_metrics_explorer_view.ts | 0
.../get_metrics_explorer_view.ts | 0
.../routes/metrics_explorer_views/index.ts | 0
.../update_metrics_explorer_view.ts | 0
.../server/routes/metrics_sources/index.ts | 0
.../infra/server/routes/node_details/index.ts | 0
.../infra/server/routes/overview/index.ts | 0
...nvert_es_response_to_top_nodes_response.ts | 0
.../overview/lib/create_top_nodes_query.ts | 0
.../lib/get_matadata_from_node_bucket.ts | 0
.../routes/overview/lib/get_top_nodes.ts | 0
.../infra/server/routes/overview/lib/types.ts | 0
.../infra/server/routes/process_list/index.ts | 0
.../infra/server/routes/profiling/index.ts | 0
.../lib/fetch_profiling_flamegraph.ts | 0
.../lib/fetch_profiling_functions.ts | 0
.../profiling/lib/fetch_profiling_status.ts | 0
.../lib/get_profiling_data_access.ts | 0
.../infra/server/routes/services/index.ts | 0
.../infra/server/routes/services/lib/utils.ts | 0
.../infra/server/routes/snapshot/index.ts | 0
.../lib/apply_metadata_to_last_path.ts | 0
.../server/routes/snapshot/lib/constants.ts | 0
.../snapshot/lib/copy_missing_metrics.ts | 0
.../lib/create_timerange_with_interval.ts | 0
.../snapshot/lib/get_dataset_for_field.ts | 0
.../snapshot/lib/get_metrics_aggregations.ts | 0
.../server/routes/snapshot/lib/get_nodes.ts | 0
.../routes/snapshot/lib/query_all_data.ts | 0
.../lib/transform_metrics_ui_response.test.ts | 0
.../lib/transform_metrics_ui_response.ts | 0
...orm_request_to_metrics_api_request.test.ts | 0
...ransform_request_to_metrics_api_request.ts | 0
...snapshot_metrics_to_metrics_api_metrics.ts | 0
.../custom_dashboards_saved_object.ts | 0
.../infra/server/saved_objects/index.ts | 0
.../saved_objects/inventory_view/index.ts | 0
.../inventory_view_saved_object.ts | 0
.../saved_objects/inventory_view/types.ts | 0
.../metrics_explorer_view/index.ts | 0
.../metrics_explorer_view_saved_object.ts | 0
.../metrics_explorer_view/types.ts | 0
.../server/saved_objects/references.test.ts | 0
.../infra}/server/saved_objects/references.ts | 0
.../server/services/inventory_views/index.ts | 0
.../inventory_views_client.mock.ts | 0
.../inventory_views_client.test.ts | 0
.../inventory_views/inventory_views_client.ts | 0
.../inventory_views_service.mock.ts | 0
.../inventory_views_service.ts | 0
.../server/services/inventory_views/types.ts | 0
.../services/metrics_explorer_views/index.ts | 0
.../metrics_explorer_views_client.mock.ts | 0
.../metrics_explorer_views_client.test.ts | 0
.../metrics_explorer_views_client.ts | 0
.../metrics_explorer_views_service.mock.ts | 0
.../metrics_explorer_views_service.ts | 0
.../services/metrics_explorer_views/types.ts | 0
.../infra/server/services/rules/index.ts | 0
.../server/services/rules/rule_data_client.ts | 0
.../server/services/rules/rules_service.ts | 0
.../infra/server/services/rules/types.ts | 0
.../plugins}/infra/server/types.ts | 0
.../infra/server/usage/usage_collector.ts | 0
.../plugins}/infra/server/utils/README.md | 0
.../server/utils/calculate_metric_interval.ts | 0
.../utils/elasticsearch_runtime_types.ts | 0
.../server/utils/get_original_action_group.ts | 0
.../infra/server/utils/handle_route_errors.ts | 0
.../utils/map_source_to_log_view.test.ts | 0
.../server/utils/map_source_to_log_view.ts | 0
.../infra/server/utils/request_context.ts | 0
.../server/utils/route_validation.test.ts | 0
.../infra/server/utils/route_validation.ts | 0
.../infra}/server/utils/serialized_query.ts | 0
.../plugins}/infra/tsconfig.json | 4 +-
.../.storybook/__mocks__/package_icon.tsx | 0
.../plugins}/logs_explorer/.storybook/main.js | 0
.../logs_explorer/.storybook/preview.js | 0
.../plugins}/logs_explorer/README.md | 0
.../logs_explorer/common/constants.ts | 0
.../available_control_panels.ts | 0
.../common/control_panels/index.ts | 0
.../common/control_panels/types.ts | 0
.../all_dataset_selection.ts | 0
.../data_view_selection.ts | 0
.../hydrate_data_source_selection.ts | 0
.../common/data_source_selection/index.ts | 0
.../single_dataset_selection.ts | 0
.../common/data_source_selection/types.ts | 0
.../unresolved_dataset_selection.ts | 0
.../models/data_view_descriptor.test.ts | 0
.../data_views/models/data_view_descriptor.ts | 0
.../logs_explorer/common/data_views/types.ts | 0
.../logs_explorer/common/datasets/errors.ts | 0
.../logs_explorer/common/datasets/index.ts | 0
.../common/datasets/models/dataset.ts | 0
.../common/datasets/models/integration.ts | 0
.../logs_explorer/common/datasets/types.ts | 0
.../common/datasets/v1/common.ts | 0
.../common/datasets/v1/find_datasets.ts | 0
.../common/datasets/v1/find_integrations.ts | 0
.../logs_explorer/common/datasets/v1/index.ts | 0
.../common/display_options/index.ts | 0
.../common/display_options/types.ts | 0
.../logs_explorer/common/hashed_cache.ts | 0
.../plugins}/logs_explorer/common/index.ts | 0
.../plugins}/logs_explorer/common/latest.ts | 0
.../logs_explorer/common/locators/index.ts | 0
.../common/locators/logs_explorer/index.ts | 0
.../logs_explorer_locator.test.ts | 0
.../logs_explorer/logs_explorer_locator.ts | 0
.../common/locators/logs_explorer/types.ts | 0
.../logs_explorer/common/plugin_config.ts | 0
.../logs_explorer/common/ui_settings.ts | 0
.../plugins/logs_explorer/jest.config.js | 18 ++
.../plugins}/logs_explorer/kibana.jsonc | 0
.../public/components/common/translations.tsx | 3 +-
.../data_source_selector/constants.tsx | 0
.../data_source_selector.stories.tsx | 0
.../data_source_selector.tsx | 0
.../components/data_source_selector/index.ts | 0
.../state_machine/defaults.ts | 0
.../state_machine/index.ts | 0
.../state_machine/state_machine.ts | 0
.../state_machine/types.ts | 0
.../state_machine/use_data_source_selector.ts | 0
.../sub_components/add_data_button.tsx | 0
.../sub_components/data_view_filter.tsx | 0
.../sub_components/data_view_menu_item.tsx | 0
.../sub_components/datasets_skeleton.tsx | 0
.../sub_components/list_status.tsx | 0
.../sub_components/search_controls.tsx | 0
.../sub_components/selector_footer.tsx | 0
.../sub_components/selector_popover.tsx | 0
.../components/data_source_selector/types.ts | 0
.../components/data_source_selector/utils.tsx | 0
.../public/components/logs_explorer/index.ts | 0
.../logs_explorer/logs_explorer.tsx | 0
.../column_tooltips/field_with_token.tsx | 0
.../column_tooltips/tooltip_button.tsx | 0
.../public/controller/create_controller.ts | 0
.../public/controller/custom_data_service.ts | 0
.../controller/custom_ui_settings_service.ts | 0
.../controller/custom_url_state_storage.ts | 0
.../logs_explorer/public/controller/index.ts | 0
.../controller/lazy_create_controller.ts | 0
.../public/controller/provider.ts | 0
.../public/controller/public_state.ts | 0
.../logs_explorer/public/controller/types.ts | 0
.../customizations/custom_control_column.tsx | 0
.../custom_data_source_filters.tsx | 0
.../custom_data_source_selector.tsx | 0
.../customizations/custom_search_bar.tsx | 0
.../custom_unified_histogram.ts | 0
.../customizations/logs_explorer_profile.tsx | 0
.../public/customizations/types.ts | 0
.../public/hooks/use_control_panels.tsx | 0
.../public/hooks/use_data_source_selection.ts | 0
.../public/hooks/use_data_views.tsx | 0
.../public/hooks/use_datasets.ts | 0
.../logs_explorer/public/hooks/use_esql.tsx | 0
.../public/hooks/use_integrations.ts | 0
.../public/hooks/use_intersection_ref.ts | 0
.../plugins}/logs_explorer/public/index.ts | 0
.../plugins}/logs_explorer/public/plugin.ts | 0
.../services/datasets/datasets_client.mock.ts | 0
.../services/datasets/datasets_client.ts | 0
.../datasets/datasets_service.mock.ts | 0
.../services/datasets/datasets_service.ts | 0
.../public/services/datasets/index.ts | 0
.../public/services/datasets/types.ts | 0
.../state_machines/data_views}/index.ts | 0
.../state_machines/data_views/src/defaults.ts | 0
.../state_machines/data_views/src/index.ts | 0
.../src/services/data_views_service.ts | 0
.../data_views/src/state_machine.ts | 0
.../state_machines/data_views/src/types.ts | 0
.../public/state_machines/datasets}/index.ts | 0
.../state_machines/datasets/src/defaults.ts | 0
.../state_machines/datasets/src/index.ts | 0
.../datasets/src/state_machine.ts | 0
.../state_machines/datasets/src/types.ts | 0
.../state_machines/integrations}/index.ts | 0
.../integrations/src/defaults.ts | 0
.../state_machines/integrations/src/index.ts | 0
.../integrations/src/state_machine.ts | 0
.../state_machines/integrations/src/types.ts | 0
.../logs_explorer_controller}/index.ts | 0
.../src/default_all_selection.ts | 0
.../logs_explorer_controller/src/defaults.ts | 0
.../logs_explorer_controller/src/index.ts | 0
.../src/notifications.ts | 0
.../src/public_events.ts | 0
.../src/services/control_panels.ts | 0
.../src/services/data_view_service.ts | 0
.../src/services/discover_service.ts | 0
.../src/services/selection_service.ts | 0
.../src/services/timefilter_service.ts | 0
.../src/state_machine.ts | 0
.../logs_explorer_controller/src/types.ts | 0
.../plugins}/logs_explorer/public/types.ts | 0
.../public/utils/comparator_by_field.ts | 0
.../utils/convert_discover_app_state.ts | 0
.../public/utils/get_data_view_test_subj.ts | 0
.../logs_explorer/public/utils/proxies.ts | 0
.../logs_explorer/public/utils/use_kibana.tsx | 0
.../plugins}/logs_explorer/server/index.ts | 0
.../plugins}/logs_explorer/server/plugin.ts | 0
.../plugins}/logs_explorer/server/types.ts | 0
.../plugins}/logs_explorer/tsconfig.json | 4 +-
.../observability/public/utils/datemath.ts | 2 +-
.../.storybook/__mocks__/package_icon.tsx | 0
.../.storybook/main.js | 0
.../.storybook/preview.js | 0
.../observability_logs_explorer/README.md | 4 +-
.../common/index.ts | 0
.../common/locators/all_datasets_locator.ts | 0
.../common/locators/data_view_locator.ts | 0
.../common/locators/index.ts | 0
.../common/locators/locators.test.ts | 0
.../common/locators/single_dataset_locator.ts | 0
.../common/locators/types.ts | 0
.../locators/utils/construct_locator_path.ts | 0
.../common/locators/utils/index.ts | 0
.../common/plugin_config.ts | 0
.../common/telemetry_events.ts | 0
.../common/translations.ts | 0
.../common/url_schema/common.ts | 0
.../common/url_schema/index.ts | 0
.../url_schema/logs_explorer/url_schema_v1.ts | 0
.../url_schema/logs_explorer/url_schema_v2.ts | 0
.../common/utils/deep_compact_object.ts | 0
.../observability_logs_explorer/emotion.d.ts | 0
.../jest.config.js | 18 ++
.../observability_logs_explorer/kibana.jsonc | 0
.../applications/last_used_logs_viewer.tsx | 0
.../observability_logs_explorer.tsx | 0
...edirect_to_observability_logs_explorer.tsx | 0
.../public/components/alerts_popover.tsx | 0
.../components/dataset_quality_link.tsx | 0
.../public/components/discover_link.tsx | 0
.../public/components/feedback_link.tsx | 0
.../components/logs_explorer_top_nav_menu.tsx | 0
.../public/components/onboarding_link.tsx | 0
.../public/components/page_template.tsx | 0
.../public/index.ts | 0
.../discover_navigation_handler.ts | 0
.../logs_explorer_customizations/index.ts | 0
.../public/plugin.ts | 0
.../public/routes/main/index.tsx | 0
.../public/routes/main/main_route.tsx | 0
.../public/routes/not_found.tsx | 0
.../public/state_machines/index.ts | 0
.../src/all_selection_service.ts | 0
.../src/controller_service.ts | 0
.../src/defaults.ts | 0
.../observability_logs_explorer/src/index.ts | 0
.../src/provider.ts | 0
.../src/state_machine.ts | 0
.../src/telemetry_events.ts | 0
.../src/time_filter_service.ts | 0
.../observability_logs_explorer/src/types.ts | 0
.../src/url_schema_v1.ts | 0
.../src/url_schema_v2.ts | 0
.../src/url_state_storage_service.ts | 0
.../origin_interpreter/src/component.tsx | 0
.../origin_interpreter/src/constants.ts | 0
.../origin_interpreter/src/defaults.ts | 0
.../origin_interpreter/src/lazy_component.tsx | 0
.../src/location_state_service.ts | 0
.../origin_interpreter/src/notifications.tsx | 0
.../origin_interpreter/src/state_machine.ts | 0
.../origin_interpreter/src/types.ts | 0
.../public/types.ts | 0
.../public/utils/breadcrumbs.tsx | 0
.../public/utils/kbn_url_state_context.ts | 0
.../public/utils/use_kibana.tsx | 0
.../server/config.ts | 0
.../server/index.ts | 0
.../server/plugin.ts | 0
.../observability_logs_explorer/tsconfig.json | 4 +-
.../observability_onboarding/README.md | 0
.../common/aws_firehose.ts | 0
.../generate_custom_logs_yml.test.ts.snap | 0
.../generate_custom_logs_yml.test.ts | 0
.../custom_logs/generate_custom_logs_yml.ts | 0
.../common/elastic_agent_logs/index.ts | 0
.../common/es_fields.ts | 0
.../common/fetch_options.ts | 0
.../observability_onboarding/common/index.ts | 0
.../common/logs_flow_progress_step_id.ts | 0
.../common/telemetry_events.ts | 0
.../observability_onboarding/common/types.ts | 0
.../observability_onboarding/e2e/README.md | 12 +-
.../e2e/cypress.config.ts | 0
.../e2e/cypress/e2e/home.cy.ts | 0
.../e2e/logs/custom_logs/configure.cy.ts | 0
.../custom_logs/install_elastic_agent.cy.ts | 0
.../e2e/cypress/e2e/logs/feedback.cy.ts | 0
.../e2e/cypress/e2e/navigation.cy.ts | 0
.../e2e/cypress/support/commands.ts | 0
.../e2e/cypress/support/e2e.ts | 0
.../e2e/cypress/support/types.d.ts | 0
.../e2e/cypress_test_runner.ts | 0
.../e2e/ftr_config.ts | 0
.../e2e/ftr_config_open.ts | 0
.../e2e/ftr_config_runner.ts | 0
.../e2e/ftr_kibana.yml | 0
.../e2e/ftr_provider_context.d.ts | 0
.../observability_onboarding/e2e/kibana.jsonc | 0
.../e2e/playwright/.gitignore | 0
.../e2e/playwright/README.md | 4 +-
.../e2e/playwright/lib/assert_env.ts | 0
.../e2e/playwright/lib/helpers.ts | 0
.../e2e/playwright/lib/logger.ts | 0
.../e2e/playwright/playwright.config.ts | 0
.../e2e/playwright/stateful/auth.ts | 0
.../playwright/stateful/auto_detect.spec.ts | 0
.../playwright/stateful/fixtures/base_page.ts | 0
.../playwright/stateful/kubernetes_ea.spec.ts | 0
.../pom/components/header_bar.component.ts | 0
.../components/space_selector.component.ts | 0
.../pom/pages/auto_detect_flow.page.ts | 0
.../stateful/pom/pages/host_details.page.ts | 0
.../pom/pages/kubernetes_ea_flow.page.ts | 0
.../kubernetes_overview_dashboard.page.ts | 0
.../pom/pages/onboarding_home.page.ts | 0
.../e2e/tsconfig.json | 4 +-
.../observability_onboarding/jest.config.js | 4 +-
.../observability_onboarding/kibana.jsonc | 0
.../public/application/app.tsx | 0
.../public/application/footer/demo_icon.svg | 0
.../public/application/footer/docs_icon.svg | 0
.../public/application/footer/footer.tsx | 0
.../public/application/footer/forum_icon.svg | 0
.../application/footer/support_icon.svg | 0
.../public/application/header/background.svg | 0
.../application/header/custom_header.test.tsx | 0
.../application/header/custom_header.tsx | 0
.../public/application/header/header.tsx | 0
.../public/application/header/index.ts | 0
.../observability_onboarding_flow.tsx | 0
.../onboarding_flow_form.tsx | 0
.../application/onboarding_flow_form/types.ts | 0
.../use_custom_cards_for_category.tsx | 0
.../use_virtual_search_results.ts | 0
.../application/packages_list/index.tsx | 0
.../public/application/packages_list/lazy.tsx | 0
.../public/application/packages_list/types.ts | 0
.../use_integration_card_list.test.ts | 0
.../use_integration_card_list.ts | 0
.../public/application/pages/auto_detect.tsx | 0
.../public/application/pages/custom_logs.tsx | 0
.../public/application/pages/firehose.tsx | 0
.../public/application/pages/index.ts | 0
.../public/application/pages/kubernetes.tsx | 0
.../public/application/pages/landing.tsx | 0
.../application/pages/otel_kubernetes.tsx | 0
.../public/application/pages/otel_logs.tsx | 0
.../public/application/pages/template.tsx | 0
.../auto_detect/auto_detect_panel.tsx | 0
.../auto_detect/get_auto_detect_command.tsx | 0
.../get_installed_integrations.tsx | 0
.../auto_detect/get_onboarding_status.tsx | 0
.../quickstart_flows/auto_detect/index.tsx | 0
.../supported_integrations_list.tsx | 0
.../use_auto_detect_telemetry.test.ts | 0
.../auto_detect/use_auto_detect_telemetry.ts | 0
.../auto_detect/use_onboarding_flow.tsx | 2 +-
.../custom_logs/api_key_banner.tsx | 0
.../custom_logs/configure_logs.tsx | 0
.../custom_logs/get_filename.test.ts | 0
.../custom_logs/get_filename.ts | 0
.../quickstart_flows/custom_logs/index.tsx | 0
.../quickstart_flows/custom_logs/inspect.tsx | 0
.../custom_logs/install_elastic_agent.tsx | 6 +-
.../firehose/auto_refresh_callout.tsx | 0
.../firehose/create_stack_command_snippet.tsx | 0
.../firehose/create_stack_in_aws_console.tsx | 0
.../firehose/download_template_callout.tsx | 0
.../firehose/existing_data_callout.tsx | 0
.../quickstart_flows/firehose/index.tsx | 0
.../firehose/progress_callout.tsx | 0
.../quickstart_flows/firehose/types.ts | 0
.../use_aws_service_get_started_list.ts | 0
.../firehose/use_firehose_flow.ts | 0
.../firehose/use_populated_aws_index_list.ts | 0
.../quickstart_flows/firehose/utils.ts | 0
.../firehose/visualize_data.tsx | 0
.../kubernetes/build_kubectl_command.ts | 0
.../kubernetes/command_snippet.tsx | 0
.../kubernetes/data_ingest_status.tsx | 0
.../quickstart_flows/kubernetes/index.tsx | 0
.../kubernetes/use_kubernetes_flow.ts | 0
.../otel_kubernetes/index.tsx | 0
.../otel_kubernetes/otel_kubernetes_panel.tsx | 0
.../quickstart_flows/otel_logs/index.tsx | 0
.../multi_integration_install_banner.tsx | 0
.../shared/accordion_with_icon.tsx | 0
.../shared/copy_to_clipboard_button.tsx | 0
.../quickstart_flows/shared/empty_prompt.tsx | 0
.../shared/feedback_buttons.tsx | 0
.../shared/get_elastic_agent_setup_command.ts | 0
.../shared/get_started_panel.tsx | 0
.../shared/install_elastic_agent_steps.tsx | 0
.../shared/locator_button_empty.tsx | 0
.../shared/optional_form_row.tsx | 0
.../shared/popover_tooltip.tsx | 0
.../shared/progress_indicator.tsx | 0
.../quickstart_flows/shared/step_panel.tsx | 0
.../quickstart_flows/shared/step_status.tsx | 0
.../shared/troubleshooting_link.tsx | 0
...use_window_blur_data_monitoring_trigger.ts | 0
.../shared/windows_install_step.tsx | 0
.../public/application/shared/back_button.tsx | 0
.../application/shared/header_action_menu.tsx | 0
.../public/application/shared/logo_icon.tsx | 0
.../application/shared/test_wrapper.tsx | 0
.../application/shared/use_custom_margin.ts | 0
.../public/assets/apache.svg | 0
.../public/assets/apache_tomcat.svg | 0
.../public/assets/apple.svg | 0
.../public/assets/auto_detect.sh | 0
.../public/assets/charts_screen.svg | 0
.../public/assets/docker.svg | 0
.../public/assets/dotnet.svg | 0
.../public/assets/firehose.svg | 0
.../public/assets/haproxy.svg | 0
.../public/assets/integrations.conf | 0
.../public/assets/java.svg | 0
.../public/assets/javascript.svg | 0
.../public/assets/kafka.svg | 0
.../public/assets/kubernetes.svg | 0
.../public/assets/linux.svg | 0
.../public/assets/mongodb.svg | 0
.../public/assets/mysql.svg | 0
.../public/assets/nginx.svg | 0
.../public/assets/opentelemetry.svg | 0
.../public/assets/postgresql.svg | 0
.../public/assets/rabbitmq.svg | 0
.../public/assets/redis.svg | 0
.../public/assets/ruby.svg | 0
.../public/assets/standalone_agent_setup.sh | 0
.../public/assets/system.svg | 0
.../public/assets/waterfall_screen.svg | 0
.../public/context/create_wizard_context.tsx | 0
.../public/context/nav_events.ts | 0
.../public/context/path.ts | 0
.../public/hooks/use_fetcher.tsx | 0
.../use_flow_progress_telemetry.test.tsx | 0
.../hooks/use_flow_progress_telemetry.ts | 0
.../public/hooks/use_install_integrations.ts | 0
.../public/hooks/use_kibana.ts | 0
.../public/hooks/use_kibana_navigation.ts | 0
.../public/icons/apache.svg | 0
.../public/icons/apm.svg | 0
.../public/icons/aws.svg | 0
.../public/icons/azure.svg | 0
.../public/icons/gcp.svg | 0
.../public/icons/kinesis.svg | 0
.../public/icons/kubernetes.svg | 0
.../public/icons/logging.svg | 0
.../public/icons/nginx.svg | 0
.../public/icons/opentelemetry.svg | 0
.../public/icons/system.svg | 0
.../public/icons/universal_profiling.svg | 0
.../observability_onboarding/public/index.ts | 0
.../public/locators/index.ts | 0
.../onboarding_locator/get_location.test.ts | 0
.../onboarding_locator/get_location.ts | 0
.../locator_definition.test.ts | 0
.../onboarding_locator/locator_definition.ts | 0
.../locators/onboarding_locator/types.ts | 0
.../observability_onboarding/public/plugin.ts | 0
.../public/services/rest/call_api.ts | 0
.../public/services/rest/create_call_api.ts | 0
.../scripts/test/api.js | 0
.../scripts/test/e2e.js | 0
.../scripts/test/jest.js | 0
.../observability_onboarding/server/config.ts | 0
.../observability_onboarding/server/index.ts | 0
.../lib/api_key/create_install_api_key.ts | 0
.../lib/api_key/create_shipper_api_key.ts | 0
.../api_key/has_log_monitoring_privileges.ts | 0
.../server/lib/api_key/privileges.ts | 0
.../server/lib/get_agent_version.ts | 0
.../server/lib/get_authentication_api_key.ts | 0
.../server/lib/get_fallback_urls.ts | 0
.../get_observability_onboarding_flow.ts | 0
.../server/lib/state/index.ts | 0
.../save_observability_onboarding_flow.ts | 0
.../observability_onboarding/server/plugin.ts | 0
...e_observability_onboarding_server_route.ts | 0
.../server/routes/elastic_agent/route.ts | 0
.../server/routes/firehose/route.ts | 0
.../server/routes/flow/get_has_logs.ts | 0
.../server/routes/flow/make_tar.test.ts | 0
.../server/routes/flow/make_tar.ts | 0
.../server/routes/flow/route.ts | 0
.../server/routes/index.ts | 0
.../server/routes/kubernetes/route.ts | 0
.../server/routes/logs/route.ts | 0
.../server/routes/types.ts | 0
.../observability_onboarding_status.ts | 0
.../services/es_legacy_config_service.ts | 0
.../authentication.ts | 0
.../helpers/call_kibana.ts | 0
.../helpers/create_custom_role.ts | 0
.../helpers/create_or_update_user.ts | 0
.../index.ts | 0
.../observability_onboarding/server/types.ts | 0
.../observability_onboarding/tsconfig.json | 4 +-
yarn.lock | 38 ++--
2566 files changed, 637 insertions(+), 697 deletions(-)
delete mode 100644 packages/kbn-custom-integrations/jest.config.js
delete mode 100644 packages/kbn-custom-integrations/src/components/index.ts
delete mode 100644 packages/kbn-custom-integrations/src/hooks/index.ts
delete mode 100644 packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
delete mode 100644 packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
delete mode 100644 packages/kbn-custom-integrations/src/state_machines/index.ts
delete mode 100644 packages/kbn-router-utils/jest.config.js
delete mode 100644 packages/kbn-timerange/jest.config.js
rename {packages => src/platform/packages/shared}/kbn-custom-icons/.storybook/main.js (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/android.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/cpp.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/cpp_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/default.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/dot_net.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/erlang.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/erlang_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/functions.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/go.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/ios.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/ios_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/java.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/lambda.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/nodejs.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/ocaml.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/opentelemetry.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/otel_default.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/php.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/php_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/python.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/ruby.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/rumjs.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/rumjs_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/rust.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/assets/rust_dark.svg (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/index.ts (100%)
rename {packages/kbn-discover-contextual-components => src/platform/packages/shared/kbn-custom-icons}/jest.config.js (83%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/agent_icon/index.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-custom-icons/tsconfig.json (86%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/index.ts (100%)
create mode 100644 src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/src/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-discover-contextual-components/tsconfig.json (93%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/index.ts (100%)
create mode 100644 src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/src/agent_guards.test.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/src/agent_guards.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/src/agent_names.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-elastic-agent-utils/tsconfig.json (79%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/index.ts (100%)
rename {packages/kbn-elastic-agent-utils => src/platform/packages/shared/kbn-react-hooks}/jest.config.js (83%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/src/use_boolean/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/src/use_boolean/use_boolean.test.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/src/use_boolean/use_boolean.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/src/use_error_text_style/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-react-hooks/tsconfig.json (82%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/index.ts (100%)
rename {packages/kbn-react-hooks => src/platform/packages/shared/kbn-router-utils}/jest.config.js (83%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/src/get_router_link_props/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-router-utils/tsconfig.json (82%)
rename {packages => src/platform/packages/shared}/kbn-timerange/BUILD.bazel (100%)
rename {packages => src/platform/packages/shared}/kbn-timerange/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-timerange/index.ts (100%)
rename {packages/kbn-custom-icons => src/platform/packages/shared/kbn-timerange}/jest.config.js (84%)
rename {packages => src/platform/packages/shared}/kbn-timerange/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-timerange/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-timerange/src/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-timerange/tsconfig.json (83%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/README.md (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/jest.config.js (84%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/kibana.jsonc (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/package.json (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/actions.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/console_inspector.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/dev_tools.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/index.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/notification_channel.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/src/types.ts (100%)
rename {packages => src/platform/packages/shared}/kbn-xstate-utils/tsconfig.json (80%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/README.md (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/jest.config.js (72%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/kibana.jsonc (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/package.json (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/discover_link/discover_link.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/discover_link/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/logs_overview/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/logs_overview/logs_overview.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/components/shared/log_category_pattern.tsx (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/queries.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/categorize_logs_service/types.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/category_details_service/category_details_service.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/category_details_service/index.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/services/category_details_service/types.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/types.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/utils/log_category.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/utils/logs_source.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/src/utils/xstate5_utils.ts (100%)
rename x-pack/{packages => platform/packages/shared}/observability/logs_overview/tsconfig.json (94%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/README.md (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/construct_dataset_quality_locator_path.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/dataset_quality_details_locator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/dataset_quality_locator.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/locators.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/locators/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/url_schema/common.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/url_schema/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/common/utils/deep_compact_object.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/jest.config.js (67%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/kibana.jsonc (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/application.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality/context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality/index.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality/url_schema_v1.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality/url_state_storage_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality_details/context.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality_details/index.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/routes/index.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/utils/kbn_url_state_context.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/utils/use_breadcrumbs.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/public/utils/use_kibana.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/server/features.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/server/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/server/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/server/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/data_quality/tsconfig.json (89%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/README.md (88%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/api_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/constants.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_stream_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_stream_details/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_streams_stats/data_stream_stat.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_streams_stats/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_streams_stats/integration.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/data_streams_stats/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/errors.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/es_fields/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/fetch_options.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/plugin_config.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/rest/call_api.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/rest/create_call_dataset_quality_api.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/rest/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/translations.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/types/common.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/types/dataset_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/types/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/types/quality_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/utils/component_template_name.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/utils/dataset_name.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/utils/dataset_name.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/common/utils/quality_helpers.ts (100%)
rename x-pack/{plugins/observability_solution/logs_explorer => platform/plugins/shared/dataset_quality}/jest.config.js (56%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/descriptive_switch.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/insufficient_privileges.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/integration_icon.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/spark_plot.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/common/vertical_rule.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/context.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/dataset_quality.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/filters.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/filters/selector.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/header.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/table/columns.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/table/table.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/context.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/details/header.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/details/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/header.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/header.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/quality_indicator/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/quality_indicator/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/quality_indicator/indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality/create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality/public_state.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality_details/create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality_details/public_state.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/controller/dataset_quality_details/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_create_dataview.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_details_telemetry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_quality_details_state.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_quality_filters.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_quality_table.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_quality_warnings.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_dataset_telemetry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_degraded_docs_chart.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_degraded_fields.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_empty_state.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_integration_actions.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_overview_summary_panel.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_redirect_link.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_redirect_link_telemetry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/hooks/use_summary_panel.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/icons/logging.svg (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/plugin.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_stream_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_stream_details/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_streams_stats/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/data_streams_stats/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/telemetry_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/telemetry_events.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/telemetry_service.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/telemetry_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/services/telemetry/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/common/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/filter_inactive_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/flatten_stats.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/generate_datasets.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/generate_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/use_kibana.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/public/utils/use_quick_time_ranges.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/scripts/api.js (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/create_datasets_quality_server_route.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_data_streams/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_docs.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/routes.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/update_field_limit/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/integrations/get_integration_dashboards.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/integrations/get_integrations.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/integrations/routes.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/register_routes.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/routes/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_stream.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/constants.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/register_collector.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/data_telemetry/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/index_stats.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/services/privileges.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/types/default_api_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/create_dataset_quality_es_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/queries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/reduce_async_chunks.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/reduce_async_chunks.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/server/utils/to_boolean.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/dataset_quality/tsconfig.json (95%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/README.md (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/common.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/errors.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/models/field_metadata.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/fields_metadata/v1/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/hashed_cache.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/latest.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/metadata_fields.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/common/runtime_types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => platform/plugins/shared/fields_metadata}/jest.config.js (56%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/kibana.jsonc (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/hooks/use_fields_metadata/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/mocks.tsx (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/services/fields_metadata/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/public/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/fields_metadata_server.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/lib/shared_types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/mocks.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/plugin.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/routes/fields_metadata/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/errors.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/index.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/repositories/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/services/fields_metadata/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/server/types.ts (100%)
rename x-pack/{plugins => platform/plugins/shared}/fields_metadata/tsconfig.json (81%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/README.md (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/constants.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/services/log_sources_service/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/services/log_sources_service/utils.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/common/ui_settings.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/jest.config.js (71%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/components/logs_sources_setting.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/hooks/use_log_sources.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/services/log_sources_service/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/services/register_services.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/public/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/es_fields.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/services/get_logs_rates_service/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/services/log_sources_service/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/services/register_services.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/utils/es_queries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/server/utils/utils.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_data_access/tsconfig.json (93%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/README.md (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/constants.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/common/formatters/datetime.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/deprecations/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/latest.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_entries/v1/highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_entries/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_entries/v1/summary.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_views/common.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_views/v1/get_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_views/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/http_api/log_views/v1/put_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/index.ts (97%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/get_logs_locators.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/logs_locator.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/node_logs_locator.ts (100%)
rename x-pack/{plugins/observability_solution/infra/common/time => platform/plugins/shared/logs_shared/common/locators}/time_range.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/trace_logs_locator.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/locators/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_entry/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_entry/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_entry/log_entry_cursor.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/common/log_text_scale/index.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/common/log_text_scale/log_text_scale.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/errors.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/log_view.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/resolved_log_view.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/resolved_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/log_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/mocks.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/plugin_config.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/runtime_types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/common/search_strategies/common/errors.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/search_strategies/log_entries/log_entries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/search_strategies/log_entries/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/time/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/time/time_key.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/common/typed_json.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/utils/date_helpers.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/utils/date_helpers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/common/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/emotion.d.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/jest.config.js (58%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/components/auto_sizer.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/centered_flyout_body.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/data_search_error_callout.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/data_search_error_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/data_search_progress.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/data_search_progress.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/empty_states/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/empty_states/no_data.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/formatted_time.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/loading/__examples__/index.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/loading/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_ai_assistant/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_ai_assistant/translations.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/log_stream.stories.mdx (99%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/log_stream.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/log_stream.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_entry_flyout/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/column_headers.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/field_value.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/highlighting.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/item.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/text_styles.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logs_overview/index.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logs_overview/logs_overview.mock.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/logs_overview/logs_overview.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/open_in_logs_explorer_button.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/components/resettable_error_boundary.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_position/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_position/use_log_position.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_stream/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/bucket_size.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/log_summary.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/containers/logs/log_summary/with_summary.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/hooks/use_kibana.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/hooks/use_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/mocks.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/README.md (100%)
rename x-pack/{plugins/observability_solution/infra/public/observability_logs/log_stream_page/state => platform/plugins/shared/logs_shared/public/observability_logs/log_view_state}/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/src/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/observability_logs/xstate_helpers/README.md (100%)
rename x-pack/{plugins/observability_solution/infra/public/observability_logs/log_stream_query_state => platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers}/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/xstate_helpers/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/observability_logs/xstate_helpers/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/plugin.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/log_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/log_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/log_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/log_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/services/log_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/test_utils/entries.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/test_utils/use_global_storybook_theme.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/utils/data_search/data_search.stories.mdx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/data_search/flatten_data_search_response.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/utils/data_search/index.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/utils/data_search/normalize_data_search_responses.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/data_search/types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/utils/data_search/use_data_search_request.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/data_search/use_data_search_request.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/data_search/use_data_search_response_state.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/public/utils/data_search/use_latest_partial_data_search_response.test.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/datemath.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/dev_mode.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/handlers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/log_column_render_configuration.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/log_entry/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/log_entry/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/log_entry/log_entry_highlight.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/typed_react.tsx (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/use_kibana_query_settings.ts (100%)
rename x-pack/{plugins/observability_solution/infra/public/hooks => platform/plugins/shared/logs_shared/public/utils}/use_kibana_ui_setting.ts (100%)
rename x-pack/{plugins/observability_solution/infra/public/hooks => platform/plugins/shared/logs_shared/public/utils}/use_observable.ts (100%)
rename x-pack/{plugins/observability_solution/infra/public/hooks => platform/plugins/shared/logs_shared/public/utils}/use_tracked_promise.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/public/utils/use_ui_tracker.ts (100%)
rename x-pack/{plugins/observability_solution/infra/public/hooks => platform/plugins/shared/logs_shared/public/utils}/use_visibility_state.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/config.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/deprecations/constants.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/deprecations/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/deprecations/log_sources_setting.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/feature_flags.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/adapters/framework/adapter_types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/server/lib/adapters/framework/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/domains/log_entries_domain/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/lib/logs_shared_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/logs_shared_server.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/mocks.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/deprecations/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_entries/highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_entries/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_entries/summary.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_entries/summary_highlights.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_views/get_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/routes/log_views/put_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/log_view/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/log_view/references/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/log_view/references/log_indices.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/saved_objects/log_view/types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/server/saved_objects/references.test.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/server/saved_objects/references.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/log_entries_search_strategy.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/log_entries_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/log_entry_search_strategy.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/builtin_rules/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/message.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/message/rule_types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/queries/common.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/queries/log_entries.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/queries/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_entries/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/errors.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/log_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/log_views_client.test.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/log_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/log_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/log_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/services/log_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/utils/elasticsearch_runtime_types.ts (100%)
rename x-pack/{plugins/observability_solution/infra => platform/plugins/shared/logs_shared}/server/utils/serialized_query.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/server/utils/typed_search_strategy.ts (100%)
rename x-pack/{plugins/observability_solution => platform/plugins/shared}/logs_shared/tsconfig.json (94%)
delete mode 100644 x-pack/plugins/fields_metadata/jest.config.js
delete mode 100644 x-pack/plugins/observability_solution/observability_logs_explorer/jest.config.js
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/README.md (100%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/index.ts (58%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/kibana.jsonc (100%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/package.json (61%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/create/button.tsx (86%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/create/error_callout.tsx (85%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/create/form.tsx (95%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/create/utils.ts (51%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/custom_integrations_button.tsx (76%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/components/custom_integrations_form.tsx (73%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts (76%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts (64%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/hooks/use_custom_integrations.ts (60%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/defaults.ts (57%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/notifications.ts (83%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts (91%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/selectors.ts (61%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/state_machine.ts (97%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/create/types.ts (90%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts (69%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx (88%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts (94%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts (70%)
create mode 100644 x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/services/integrations_client.ts (91%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/state_machines/services/validation.ts (89%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/src/types.ts (82%)
rename {packages => x-pack/solutions/observability/packages}/kbn-custom-integrations/tsconfig.json (87%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/.storybook/main.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/.storybook/preview.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/README.md (97%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/logs/log_threshold/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/logs/log_threshold/query_helpers.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/logs/log_threshold/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/alert_link.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/alert_link.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/metric_value_formatter.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/metric_value_formatter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/alerting/metrics/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/color_palette.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/color_palette.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/custom_dashboards.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/alert_link.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/bytes.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/bytes.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/common/formatters/datetime.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/get_custom_metric_label.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/high_precision.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/number.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/percent.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/snapshot_metric_formats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/telemetry_time_range.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/formatters/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/asset_count_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/custom_dashboards_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/host_details/get_infra_services.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/host_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/host_details/process_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra/get_infra_metrics.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra_ml/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra_ml/results/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra_ml/results/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_meta_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/create_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/find_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/get_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/inventory_views/v1/update_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/ip_to_hostname/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/latest.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_alerts/v1/chart_preview_data.ts (91%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_alerts/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/validation/v1/datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/validation/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metadata_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/node_details_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/overview_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/profiling_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/asset_type.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/es_request.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/metric_statistics.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/time_range.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/shared/timing.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/http_api/snapshot_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/anomaly_results.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/infra_ml.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/job_parameters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/metrics_hosts_ml.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/infra_ml/metrics_k8s_ml.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_models/intl_strings.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_views/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_views/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_views/inventory_view.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/inventory_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/job_parameters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_analysis.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_analysis_quality.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_analysis_results.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_entry_categories_analysis.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_analysis/log_entry_rate_analysis.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_search_result/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_search_result/log_search_result.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_search_summary/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/log_search_summary/log_search_summary.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/common/log_text_scale/index.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/common/log_text_scale/log_text_scale.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_explorer_views/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_explorer_views/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_explorer_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_explorer_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_sources/get_has_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/metrics_sources/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/performance_tracing.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/plugin_config_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/saved_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/saved_views/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/common/search_strategies/common/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/search_strategies/log_entries/log_entries.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/search_strategies/log_entries/log_entry.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/snapshot_metric_i18n.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/source_configuration/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/source_configuration/source_configuration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/time/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/time/time_key.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/common/locators => solutions/observability/plugins/infra/common/time}/time_range.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/time/time_scale.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/time/time_unit.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/common/typed_json.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/url_state_storage_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utility_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utils/corrected_percent_convert.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utils/corrected_percent_convert.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utils/elasticsearch_runtime_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utils/get_chart_group_names.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/common/utils/get_interval_in_seconds.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/assets/infra_metricbeat_aws.jpg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/state_machines/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/state_machines/xstate_machine_patterns.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/state_machines/xstate_react_patterns.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/state_machines/xstate_url_patterns_and_precedence.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/telemetry/README.md (76%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/telemetry/define_custom_events.md (97%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/telemetry/telemetry_service_overview.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/telemetry/trigger_custom_events_examples.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/test_setups/infra_metricbeat_aws.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/docs/test_setups/infra_metricbeat_docker_nginx.md (100%)
rename x-pack/{plugins/observability_solution/dataset_quality => solutions/observability/plugins/infra}/jest.config.js (56%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/components/metrics_alert_dropdown.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/components/threshold.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/components/threshold.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/components/threshold.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/group_by_expression/group_by_expression.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/common/group_by_expression/selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/custom_threshold/components/alert_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/custom_threshold/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/alert_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/expression.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/expression.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/expression_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/metric.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/node_type.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/components/validation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/inventory/rule_data_formatters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_dropdown.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/alert_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/rule_data_formatters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/log_threshold/validation.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/alert_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/custom_equation/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression_row.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/expression_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/validation.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/components/validation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/i18n_strings.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/rule_data_formatters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/metric_threshold/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/alerting/use_alert_prefill.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/apps/common_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/apps/common_styles.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/apps/logs_app.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/apps/metrics_app.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/common/asset_details_config/asset_details_tabs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/common/inventory/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/common/visualizations/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/common/visualizations/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/common/visualizations/translations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/context/http.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/__stories__/decorator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/add_metrics_callout/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/add_metrics_callout/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/asset_details.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/asset_details.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/chart_utils.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/chart_utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/docker_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/host_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/kubernetes_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/charts_grid/charts_grid.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/alerts_tooltip_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/expandable_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/kpis/kpi.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/metadata_error_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/metadata_explanation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/metric_not_available_explanation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/processes_explanation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/section_title.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/services_tooltip_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/components/top_processes_tooltip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/content/callouts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/content/callouts/legacy_metric_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/content/content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/context_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/date_picker/date_picker.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/header/flyout_header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/header/page_title_with_popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_chart_series_color.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_container_metrics_charts.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_custom_dashboards.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_dashboards_fetcher.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_data_views.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_date_picker.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_entity_summary.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_host_metrics_charts.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_integration_check.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_intersecting_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_loading_state.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_loading_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_log_charts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_metadata.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_metadata_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_page_header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_process_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_profiling_kuery.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_request_observable.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_request_observable.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_saved_objects_permissions.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/hooks/use_tab_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/links/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/links/link_to_apm_service.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/links/link_to_apm_services.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/links/link_to_node_details.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/common/popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/actions.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/edit_dashboard.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/goto_dashboard_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/link_dashboard.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/save_dashboard_modal.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/actions/unlink_dashboard.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/context_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/dashboard_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/dashboards.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/empty_dashboards.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/dashboards/filter_explanation_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/logs/logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/metadata.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/utils.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metadata/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metrics/container_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metrics/host_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metrics/metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/metrics/metrics_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/osquery/osquery.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/alerts/alerts_closed_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/metrics/container_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/metrics/host_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/metrics/metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/overview.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/section_titles.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/overview/services.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/parse_search_string.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/process_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/processes.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/processes.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/processes_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/state_badge.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/states.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/summary_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/processes/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/description_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/functions.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/profiling.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/tabs/profiling/threads.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/template/flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/template/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/translations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/asset_details/utils/get_data_stream_types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/components/auto_sizer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/autocomplete_field/autocomplete_field.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/autocomplete_field/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/autocomplete_field/suggestion_item.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/basic_table/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/basic_table/row_expansion_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/beta_badge.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/empty_states/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/empty_states/no_data.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/empty_states/no_indices.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/empty_states/no_metric_indices.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/empty_states/no_remote_cluster.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/error_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/error_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/eui/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/eui/toolbar/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/eui/toolbar/toolbar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/fixed_datepicker.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/height_retainer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/help_center_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/chart_load_error.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/chart_placeholder.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/lens_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/lens_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/metric_explanation/container_metrics_explanation_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/metric_explanation/tooltip_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/lens/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/loading/__examples__/index.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/loading/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/loading_overlay_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/loading_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/log_stream/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/log_stream/log_stream_react_embeddable.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/log_stream/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/inline_log_view_splash_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/notices_section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/category_expression.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/datasets_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/first_use_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_results/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/create_job_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/process_step/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_analysis_setup/user_management_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_customization_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_datepicker.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_highlights_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/density_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/highlighted_interval.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/log_minimap.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/search_marker.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/search_markers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/time_label_formatter.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_minimap/time_ruler.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_search_controls/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_search_controls/log_search_buttons.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_search_controls/log_search_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_search_controls/log_search_input.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_statusbar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_text_scale_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logging/log_text_wrap_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/logs_deprecation_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/missing_embeddable_factory_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/anomalies_table/pagination.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/anomaly_detection_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/flyout_home.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/ml/anomaly_detection/job_setup_screen.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/page_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/saved_views/manage_views_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/saved_views/toolbar_control.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/saved_views/upsert_modal.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/alerts_overview.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/alerts_status_filter.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/links/__snapshots__/link_to_alerts_page.test.tsx.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/links/create_alert_rule_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/links/link_to_alerts_page.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/alerts/links/link_to_alerts_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/templates/infra_page_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/shared/templates/no_data_config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/source_configuration/view_source_configuration_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/source_error_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/source_loading_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/subscription_splash_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/components/try_it_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/header_action_menu_provider.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/kbn_url_state_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/ml_api_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/ml_get_module.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/validate_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/api/validate_indices.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_view_configuration.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/log_view_configuration.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/view_log_in_context/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/logs/with_log_textview.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_source/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_source/metrics_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_source/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_source/source.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/metrics_source/source_errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/api/ml_api_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/api/ml_cleanup.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/api/ml_get_module.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/api/ml_setup_module_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_capabilities.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_cleanup.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module_configuration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module_definition.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module_status.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/infra_ml_module_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/modules/metrics_hosts/module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/modules/metrics_k8s/module.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/plugin_config_context.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/plugin_config_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/react_query_provider.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/triggers_actions_context.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/containers/with_kuery_autocompletion.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_alerts_count.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_alerts_count.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_chart_themes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_document_title.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_entity_centric_experience_setting.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_fetcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_inventory_views.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_is_dark_mode.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana_index_patterns.mock.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana_index_patterns.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana_space.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana_time_zone_setting.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_kibana_timefilter_time.tsx (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/utils => solutions/observability/plugins/infra/public/hooks}/use_kibana_ui_setting.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_lazy_ref.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_lens_attributes.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_lens_attributes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_license.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_log_view_reference.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_logs_breadcrumbs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_metrics_breadcrumbs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_metrics_explorer_views.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/utils => solutions/observability/plugins/infra/public/hooks}/use_observable.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_parent_breadcrumb_resolver.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_profiling_integration_setting.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_readonly_badge.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_saved_views_notifier.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_search_session.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_sorting.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_time_range.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_time_range.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_timeline_chart_theme.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/utils => solutions/observability/plugins/infra/public/hooks}/use_tracked_promise.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_trial_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/hooks/use_viewport_dimensions.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/utils => solutions/observability/plugins/infra/public/hooks}/use_visibility_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/docker.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/hosts.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/infra_mono_white.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/k8.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/logging_mono_white.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/images/services.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/metrics_overview_fetchers.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/metrics_overview_fetchers.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/mocks.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/README.md (100%)
rename x-pack/{plugins/observability_solution/infra/public/observability_logs/xstate_helpers => solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/provider.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/selectors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_page/state/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/src/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts (100%)
rename x-pack/{plugins/observability_solution/logs_explorer/public/state_machines/data_views => solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/observability_logs/xstate_helpers/README.md (100%)
rename x-pack/{plugins/observability_solution/logs_explorer/public/state_machines/datasets => solutions/observability/plugins/infra/public/observability_logs/xstate_helpers}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/xstate_helpers/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/page_template.styles.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/404.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/error.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/link_to_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/link_to_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/query_params.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/redirect_to_inventory.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/redirect_to_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/redirect_to_node_detail.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/redirect_to_node_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/use_host_ip_to_name.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/link_to/use_host_ip_to_name.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/page_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/page_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/page_results_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/page_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/page_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/page_results_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/page_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/page_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/routes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/add_log_column_popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/form_elements.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/form_field_props.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/index_names_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/index_pattern_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/indices_configuration_form_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/indices_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/inline_log_view_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/kibana_advanced_setting_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx (99%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/name_configuration_form_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/name_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/source_configuration_form_errors.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/source_configuration_form_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/source_configuration_settings.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/settings/validation_errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/shared/page_log_view_error.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/shared/page_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/components/stream_live_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/components/stream_page_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_logs_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_missing_indices_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_providers.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_toolbar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/logs/stream/page_view_log_in_context.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/common/popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/hosts_container.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/hosts_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/hosts_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/table/column_header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/table/entry_title.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/table/filter_action.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_host_count.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/translations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/hosts/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/layout_view.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/saved_views.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/search_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/survey_section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/table_view.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx (98%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/create_legend.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/inventory_view/lib/type_guards.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/error_message.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/page_body.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/page_error.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/series_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/side_nav.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/sub_section.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/components/time_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metric_detail/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/charts.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/metrics_explorer/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/features_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/indices_configuration_form_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/indices_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/input_fields.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/ml_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/name_configuration_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/source_configuration_form_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/pages/metrics/settings/source_configuration_settings.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/plugin.ts (98%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/register_feature.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/inventory_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/inventory_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/inventory_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/inventory_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/inventory_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/metrics_explorer_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_service.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/telemetry_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/services/telemetry/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/test_utils/entries.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/test_utils/index.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/test_utils/use_global_storybook_theme.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/translations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/convert_interval_to_string.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/utils/data_search/data_search.stories.mdx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_search/flatten_data_search_response.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/utils/data_search/index.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/utils/data_search/normalize_data_search_responses.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_search/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/utils/data_search/use_data_search_request.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_search/use_data_search_request.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_search/use_data_search_response_state.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/public/utils/data_search/use_latest_partial_data_search_response.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_search/use_latest_partial_data_search_response.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/data_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/datemath.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/datemath.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/dev_mode.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/filters/build.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/filters/build.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/filters/create_alerts_es_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/fixtures/metrics_explorer.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/kuery.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/log_column_render_configuration.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/logs_overview_fetchers.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/logs_overview_fetches.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/redirect_with_query_params.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/source_configuration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/theme_utils/with_attrs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/typed_react.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/public/utils/url_state.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/features.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/infra_server.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/framework/adapter_types.ts (100%)
rename x-pack/{plugins/observability_solution/infra/server/lib/adapters/metrics => solutions/observability/plugins/infra/server/lib/adapters/framework}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/framework/kibana_framework_adapter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/metrics/adapter_types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/server/lib/adapters/framework => solutions/observability/plugins/infra/server/lib/adapters/metrics}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/metrics/lib/check_valid_node.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/adapters/source_status/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/common/get_values.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/common/get_values.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/common/messages.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/common/utils.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/common/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/docs/params_property_log_threshold.yaml (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/mocks/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/reason_formatters.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/get_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/metric_threshold/test_mocks.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/alerting/register_rule_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/cancel_request_on_abort.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/create_custom_metrics_aggregations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/create_search_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/domains/metrics_domain.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/helpers/get_apm_data_access_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/helpers/get_infra_alerts_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/helpers/get_infra_metrics_client.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/helpers/get_infra_metrics_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/host_details/process_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/host_details/process_list_chart.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_ml/queries/ml_jobs.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/infra_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/log_entry_categories_analysis.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/log_entry_rate_analysis.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_categories.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/log_entry_rate.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/ml_jobs.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/log_analysis/resolve_id_formats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/calculate_interval.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/create_aggregations.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/create_aggregations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/lib/create_metrics_aggregations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/metrics/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/source_status.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/has_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/compose_migrations.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/compose_migrations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/migrations/create_test_source_configuration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/mocks.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/saved_object_references.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/saved_object_references.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/saved_object_type.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/sources.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/sources.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/lib/sources/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/mocks.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/custom_dashboards.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/get_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/save_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/custom_dashboards/update_custom_dashboard.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/entities/get_data_stream_types.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/entities/get_data_stream_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/entities/get_has_metrics_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/entities/get_latest_entity.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/entities/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/helpers/query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_all_hosts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_apm_hosts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_filtered_hosts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_hosts.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/host/get_hosts_count.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/utils.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra/lib/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra_ml/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra_ml/results/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_metadata/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/create_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/delete_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/find_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/get_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/inventory_views/update_inventory_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/ip_to_hostname.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_alerts/chart_preview_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_alerts/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/id_formats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_anomalies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_categories.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_category_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/results/log_entry_examples.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/validation/datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/validation/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/log_analysis/validation/indices.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/lib/get_metric_metadata.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/lib/get_node_info.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/lib/get_pod_node_name.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metadata/lib/pick_feature_name.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/metrics_sources/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/node_details/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/lib/create_top_nodes_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/lib/get_top_nodes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/overview/lib/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/process_list/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/profiling/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/profiling/lib/fetch_profiling_functions.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/profiling/lib/fetch_profiling_status.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/profiling/lib/get_profiling_data_access.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/services/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/services/lib/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/copy_missing_metrics.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/get_dataset_for_field.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/get_nodes.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/query_all_data.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/inventory_view/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/inventory_view/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/metrics_explorer_view/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/saved_objects/metrics_explorer_view/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/server/saved_objects/references.test.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/server/saved_objects/references.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/inventory_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/inventory_views_client.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/inventory_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/inventory_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/inventory_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/inventory_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/metrics_explorer_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/rules/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/rules/rule_data_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/rules/rules_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/services/rules/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/usage/usage_collector.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/calculate_metric_interval.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/elasticsearch_runtime_types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/get_original_action_group.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/handle_route_errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/map_source_to_log_view.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/map_source_to_log_view.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/request_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/route_validation.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/server/utils/route_validation.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared => solutions/observability/plugins/infra}/server/utils/serialized_query.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/infra/tsconfig.json (97%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/.storybook/__mocks__/package_icon.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/.storybook/main.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/.storybook/preview.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/control_panels/available_control_panels.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/control_panels/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/control_panels/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/all_dataset_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/data_view_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/single_dataset_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_views/models/data_view_descriptor.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_views/models/data_view_descriptor.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/data_views/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/errors.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/models/dataset.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/models/integration.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/v1/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/v1/find_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/v1/find_integrations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/datasets/v1/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/display_options/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/display_options/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/hashed_cache.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/latest.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/locators/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/locators/logs_explorer/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/locators/logs_explorer/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/plugin_config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/common/ui_settings.ts (100%)
create mode 100644 x-pack/solutions/observability/plugins/logs_explorer/jest.config.js
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/common/translations.tsx (94%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/constants.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/data_source_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/state_machine/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/state_machine/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/data_source_selector/utils.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/logs_explorer/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/logs_explorer/logs_explorer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/custom_data_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/custom_ui_settings_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/custom_url_state_storage.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/lazy_create_controller.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/provider.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/public_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/controller/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/custom_control_column.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/custom_data_source_filters.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/custom_data_source_selector.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/custom_search_bar.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/custom_unified_histogram.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/logs_explorer_profile.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/customizations/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_control_panels.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_data_source_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_data_views.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_datasets.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_esql.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_integrations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/hooks/use_intersection_ref.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/datasets_client.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/datasets_client.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/datasets_service.mock.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/datasets_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/services/datasets/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_explorer/public/state_machines/integrations => solutions/observability/plugins/logs_explorer/public/state_machines/data_views}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/data_views/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/data_views/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/data_views/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/data_views/src/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller => solutions/observability/plugins/logs_explorer/public/state_machines/datasets}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/datasets/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/datasets/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/datasets/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/datasets/src/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/observability_logs/log_view_state => solutions/observability/plugins/logs_explorer/public/state_machines/integrations}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/integrations/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/integrations/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/integrations/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/integrations/src/types.ts (100%)
rename x-pack/{plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers => solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller}/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/utils/comparator_by_field.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/utils/convert_discover_app_state.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/utils/get_data_view_test_subj.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/utils/proxies.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/public/utils/use_kibana.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/logs_explorer/tsconfig.json (93%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/.storybook/main.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/.storybook/preview.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/README.md (92%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/all_datasets_locator.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/data_view_locator.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/locators.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/single_dataset_locator.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/utils/construct_locator_path.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/locators/utils/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/plugin_config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/telemetry_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/translations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/url_schema/common.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/url_schema/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/common/utils/deep_compact_object.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/emotion.d.ts (100%)
create mode 100644 x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/applications/observability_logs_explorer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/alerts_popover.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/dataset_quality_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/discover_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/feedback_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/onboarding_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/components/page_template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/logs_explorer_customizations/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/routes/main/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/routes/main/main_route.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/routes/not_found.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/utils/breadcrumbs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/utils/kbn_url_state_context.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/public/utils/use_kibana.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/server/config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_logs_explorer/tsconfig.json (94%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/README.md (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/aws_firehose.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/elastic_agent_logs/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/es_fields.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/fetch_options.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/logs_flow_progress_step_id.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/telemetry_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/common/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/README.md (59%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress.config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/e2e/home.cy.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/support/commands.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/support/e2e.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress/support/types.d.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/cypress_test_runner.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/ftr_config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/ftr_config_open.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/ftr_config_runner.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/ftr_kibana.yml (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/ftr_provider_context.d.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/.gitignore (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/README.md (72%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/lib/assert_env.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/lib/helpers.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/lib/logger.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/playwright.config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/auth.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/e2e/tsconfig.json (81%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/jest.config.js (69%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/kibana.jsonc (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/app.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/footer/demo_icon.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/footer/docs_icon.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/footer/footer.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/footer/forum_icon.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/footer/support_icon.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/header/background.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/header/custom_header.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/header/custom_header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/header/header.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/header/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/observability_onboarding_flow.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/onboarding_flow_form/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/packages_list/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/packages_list/lazy.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/packages_list/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/packages_list/use_integration_card_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/auto_detect.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/custom_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/firehose.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/kubernetes.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/landing.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/otel_kubernetes.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/otel_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/pages/template.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx (97%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx (98%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/shared/back_button.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/shared/header_action_menu.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/shared/logo_icon.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/shared/test_wrapper.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/application/shared/use_custom_margin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/apache.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/apache_tomcat.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/apple.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/auto_detect.sh (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/charts_screen.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/docker.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/dotnet.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/firehose.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/haproxy.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/integrations.conf (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/java.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/javascript.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/kafka.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/kubernetes.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/linux.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/mongodb.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/mysql.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/nginx.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/opentelemetry.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/postgresql.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/rabbitmq.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/redis.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/ruby.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/standalone_agent_setup.sh (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/system.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/assets/waterfall_screen.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/context/create_wizard_context.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/context/nav_events.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/context/path.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_fetcher.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_install_integrations.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_kibana.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/hooks/use_kibana_navigation.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/apache.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/apm.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/aws.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/azure.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/gcp.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/kinesis.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/kubernetes.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/logging.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/nginx.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/opentelemetry.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/system.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/icons/universal_profiling.svg (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/onboarding_locator/get_location.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/locators/onboarding_locator/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/services/rest/call_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/public/services/rest/create_call_api.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/scripts/test/api.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/scripts/test/e2e.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/scripts/test/jest.js (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/config.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/api_key/create_install_api_key.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/api_key/privileges.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/get_agent_version.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/get_authentication_api_key.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/get_fallback_urls.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/state/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/plugin.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/elastic_agent/route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/firehose/route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/flow/get_has_logs.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/flow/make_tar.test.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/flow/make_tar.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/flow/route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/kubernetes/route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/logs/route.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/routes/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/saved_objects/observability_onboarding_status.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/services/es_legacy_config_service.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/server/types.ts (100%)
rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/observability_onboarding/tsconfig.json (93%)
diff --git a/.buildkite/ftr_oblt_stateful_configs.yml b/.buildkite/ftr_oblt_stateful_configs.yml
index 3211c35f29e7a..381d4e7f24ba6 100644
--- a/.buildkite/ftr_oblt_stateful_configs.yml
+++ b/.buildkite/ftr_oblt_stateful_configs.yml
@@ -1,8 +1,8 @@
disabled:
# Cypress configs, for now these are still run manually
- - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts
- - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts
- - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts
+ - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts
+ - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts
+ - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config_run.ts
diff --git a/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh b/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh
index 802bb447f72d2..e9aefc1ed059f 100644
--- a/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh
+++ b/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh
@@ -14,5 +14,5 @@ echo "--- Observability onboarding Cypress Tests"
cd "$XPACK_DIR"
-node plugins/observability_solution/observability_onboarding/scripts/test/e2e.js \
+node solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \
\ No newline at end of file
diff --git a/.eslintrc.js b/.eslintrc.js
index 93e3dabf3b861..b0db71e492bbe 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -989,7 +989,7 @@ module.exports = {
'x-pack/plugins/observability_solution/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'x-pack/plugins/{streams,streams_app}/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'src/plugins/ai_assistant_management/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
- 'x-pack/packages/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
+ 'x-pack/platform/packages/shared/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
],
rules: {
'@kbn/i18n/strings_should_be_translated_with_i18n': 'warn',
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 66d9654e561b4..9051c3580057a 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -311,8 +311,6 @@ packages/kbn-config-schema @elastic/kibana-core
packages/kbn-content-management-utils @elastic/kibana-data-discovery
packages/kbn-crypto @elastic/kibana-security
packages/kbn-crypto-browser @elastic/kibana-core
-packages/kbn-custom-icons @elastic/obs-ux-logs-team
-packages/kbn-custom-integrations @elastic/obs-ux-logs-team
packages/kbn-cypress-config @elastic/kibana-operations
packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery
packages/kbn-data-view-utils @elastic/kibana-data-discovery
@@ -323,12 +321,10 @@ packages/kbn-dev-cli-errors @elastic/kibana-operations
packages/kbn-dev-cli-runner @elastic/kibana-operations
packages/kbn-dev-proc-runner @elastic/kibana-operations
packages/kbn-dev-utils @elastic/kibana-operations
-packages/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery
packages/kbn-discover-utils @elastic/kibana-data-discovery
packages/kbn-docs-utils @elastic/kibana-operations
packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery
packages/kbn-ebt-tools @elastic/kibana-core
-packages/kbn-elastic-agent-utils @elastic/obs-ux-logs-team
packages/kbn-es @elastic/kibana-operations
packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa
packages/kbn-es-errors @elastic/kibana-core
@@ -409,7 +405,6 @@ packages/kbn-plugin-generator @elastic/kibana-operations
packages/kbn-plugin-helpers @elastic/kibana-operations
packages/kbn-profiling-utils @elastic/obs-ux-infra_services-team
packages/kbn-react-field @elastic/kibana-data-discovery
-packages/kbn-react-hooks @elastic/obs-ux-logs-team
packages/kbn-react-mute-legacy-root-warning @elastic/appex-sharedux
packages/kbn-recently-accessed @elastic/appex-sharedux
packages/kbn-relocate @elastic/kibana-core
@@ -434,7 +429,6 @@ packages/kbn-reporting/server @elastic/appex-sharedux
packages/kbn-resizable-layout @elastic/kibana-data-discovery
packages/kbn-rison @elastic/kibana-operations
packages/kbn-router-to-openapispec @elastic/kibana-core
-packages/kbn-router-utils @elastic/obs-ux-logs-team
packages/kbn-rrule @elastic/response-ops
packages/kbn-safer-lodash-set @elastic/kibana-security
packages/kbn-saved-objects-settings @elastic/appex-sharedux
@@ -468,7 +462,6 @@ packages/kbn-test-eui-helpers @elastic/kibana-visualizations
packages/kbn-test-jest-helpers @elastic/kibana-operations @elastic/appex-qa
packages/kbn-test-subj-selector @elastic/kibana-operations @elastic/appex-qa
packages/kbn-timelion-grammar @elastic/kibana-visualizations
-packages/kbn-timerange @elastic/obs-ux-logs-team
packages/kbn-tinymath @elastic/kibana-visualizations
packages/kbn-tooling-log @elastic/kibana-operations
packages/kbn-transpose-utils @elastic/kibana-visualizations
@@ -494,7 +487,6 @@ packages/kbn-visualization-ui-components @elastic/kibana-visualizations
packages/kbn-visualization-utils @elastic/kibana-visualizations
packages/kbn-web-worker-stub @elastic/kibana-operations
packages/kbn-whereis-pkg-cli @elastic/kibana-operations
-packages/kbn-xstate-utils @elastic/obs-ux-logs-team
packages/kbn-yarn-lock-validator @elastic/kibana-operations
packages/kbn-zod @elastic/kibana-core
packages/presentation/presentation_containers @elastic/kibana-presentation
@@ -581,7 +573,10 @@ src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-
src/platform/packages/shared/deeplinks/security @elastic/security-solution
src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows
src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore
+src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team
+src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-doc-links @elastic/docs
+src/platform/packages/shared/kbn-elastic-agent-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql
src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql
src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql
@@ -594,6 +589,8 @@ src/platform/packages/shared/kbn-management/settings/types @elastic/kibana-manag
src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-management
src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule-management
src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management
+src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team
+src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team
src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore
src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine
@@ -606,8 +603,10 @@ src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-know
src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team
+src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management
+src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management
src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
@@ -766,7 +765,6 @@ x-pack/packages/kbn-alerting-state-types @elastic/response-ops
x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations
x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team
x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation
-x-pack/packages/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui
@@ -837,6 +835,7 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui
x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
+x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management
x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management
x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution
@@ -855,12 +854,17 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management
x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
+x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team
+x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
+x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/index_management @elastic/kibana-management
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability
x-pack/platform/plugins/shared/license_management @elastic/kibana-management
+x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team
+x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/ml @elastic/ml-ui
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows
@@ -878,7 +882,6 @@ x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core
x-pack/plugins/custom_branding @elastic/appex-sharedux
x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation
-x-pack/plugins/data_quality @elastic/obs-ux-logs-team
x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery
x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux
x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation
@@ -886,7 +889,6 @@ x-pack/plugins/encrypted_saved_objects @elastic/kibana-security
x-pack/plugins/enterprise_search @elastic/search-kibana
x-pack/plugins/event_log @elastic/response-ops
x-pack/plugins/features @elastic/kibana-core
-x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team
x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui
x-pack/plugins/fleet @elastic/fleet
x-pack/plugins/global_search @elastic/appex-sharedux
@@ -903,17 +905,9 @@ x-pack/plugins/notifications @elastic/appex-sharedux
x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services-team
-x-pack/plugins/observability_solution/dataset_quality @elastic/obs-ux-logs-team
-x-pack/plugins/observability_solution/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/inventory/e2e @elastic/obs-ux-infra_services-team
-x-pack/plugins/observability_solution/logs_data_access @elastic/obs-ux-logs-team
-x-pack/plugins/observability_solution/logs_explorer @elastic/obs-ux-logs-team
-x-pack/plugins/observability_solution/logs_shared @elastic/obs-ux-logs-team
x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_services-team
-x-pack/plugins/observability_solution/observability_logs_explorer @elastic/obs-ux-logs-team
-x-pack/plugins/observability_solution/observability_onboarding @elastic/obs-ux-logs-team
-x-pack/plugins/observability_solution/observability_onboarding/e2e @elastic/obs-ux-logs-team
x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui
x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
@@ -941,16 +935,22 @@ x-pack/plugins/upgrade_assistant @elastic/kibana-core
x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team
+x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team
+x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-management-team
+x-pack/solutions/observability/plugins/logs_explorer @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant
+x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team
+x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team
+x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities
x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities
x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team
@@ -1281,26 +1281,26 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql
/x-pack/test/functional/es_archives/infra @elastic/obs-ux-infra_services-team
/x-pack/test_serverless/**/test_suites/observability/infra/ @elastic/obs-ux-infra_services-team
/test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/common @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/docs @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/alerting @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/apps @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/common @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/components @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/containers @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/hooks @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/images @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/lib @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/pages @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/services @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/test_utils @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/public/utils @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/lib @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/routes @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/saved_objects @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/services @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/usage @elastic/obs-ux-infra_services-team
-/x-pack/plugins/observability_solution/infra/server/utils @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/common @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/docs @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/alerting @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/apps @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/common @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/components @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/containers @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/hooks @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/images @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/lib @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/pages @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/services @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/test_utils @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/public/utils @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/lib @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/routes @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/saved_objects @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/services @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/usage @elastic/obs-ux-infra_services-team
+/x-pack/solutions/observability/plugins/infra/server/utils @elastic/obs-ux-infra_services-team
/x-pack/test_serverless/functional/test_suites/observability/infra @elastic/obs-ux-infra_services-team
/x-pack/test/api_integration/services/infraops_source_configuration.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/pull/34916
@@ -1309,25 +1309,25 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql
/x-pack/test/upgrade/apps/logs @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_stream_log_file.ts @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_page.ts @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/log_analysis @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/log_search_result @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/log_search_summary @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/log_text_scale @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/docs/state_machines @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/components/log_stream @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/components/logging @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/containers/logs @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/observability_logs @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/public/pages/logs @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/server/lib/log_analysis @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/server/routes/log_alerts @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/server/routes/log_analysis @elastic/obs-ux-logs-team
-/x-pack/plugins/observability_solution/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/log_analysis @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/log_search_result @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/log_search_summary @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/log_text_scale @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/docs/state_machines @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/components/log_stream @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/components/logging @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/containers/logs @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/observability_logs @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/public/pages/logs @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis @elastic/obs-ux-logs-team
+/x-pack/solutions/observability/plugins/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/x-pack/test/common/utils/synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/blob/main/packages/kbn-apm-synthtrace/kibana.jsonc#L5
# Infra Monitoring tests
@@ -1349,8 +1349,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql
/x-pack/test/accessibility/apps/group3/observability.ts @elastic/obs-ux-management-team
/x-pack/packages/observability/alert_details @elastic/obs-ux-management-team
/x-pack/test/observability_functional @elastic/obs-ux-management-team
-/x-pack/plugins/observability_solution/infra/public/alerting @elastic/obs-ux-management-team
-/x-pack/plugins/observability_solution/infra/server/lib/alerting @elastic/obs-ux-management-team
+/x-pack/solutions/observability/plugins/infra/public/alerting @elastic/obs-ux-management-team
+/x-pack/solutions/observability/plugins/infra/server/lib/alerting @elastic/obs-ux-management-team
/x-pack/test_serverless/**/test_suites/observability/custom_threshold_rule/ @elastic/obs-ux-management-team
/x-pack/test_serverless/**/test_suites/observability/slos/ @elastic/obs-ux-management-team
/x-pack/test_serverless/api_integration/test_suites/observability/es_query_rule @elastic/obs-ux-management-team
@@ -3295,10 +3295,10 @@ x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-manag
x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops
x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team
-x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team
+x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team
-x-pack/solutions/observability/packages/kbn-timerange @elastic/obs-ux-logs-team
-x-pack/solutions/observability/packages/kbn-xstate-utils @elastic/obs-ux-logs-team
+x-pack/solutions/observability/src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team
+x-pack/solutions/observability/src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/logs_overview @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant
@@ -3308,7 +3308,7 @@ x-pack/solutions/observability/packages/observability_utils/observability_utils_
x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team
-x-pack/solutions/observability/plugins/data_quality @elastic/obs-ux-logs-team
+x-pack/solutions/observability/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/dataset_quality @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/entities_data_access @elastic/obs-entities
x-pack/solutions/observability/plugins/entity_manager_app @elastic/obs-entities
diff --git a/.i18nrc.json b/.i18nrc.json
index aeab3c4a16d23..b68b71b6ae9b5 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -15,7 +15,7 @@
"contentManagement": "packages/content-management",
"core": ["src/core", "packages/core"],
"customIntegrations": "src/plugins/custom_integrations",
- "customIntegrationsPackage": "packages/kbn-custom-integrations",
+ "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations",
"dashboard": "src/plugins/dashboard",
"cloud": "packages/cloud",
"domDragDrop": "packages/kbn-dom-drag-drop",
@@ -28,7 +28,7 @@
"discover": [
"src/plugins/discover",
"packages/kbn-discover-utils",
- "packages/kbn-discover-contextual-components"
+ "src/platform/packages/shared/kbn-discover-contextual-components"
],
"savedSearch": "src/plugins/saved_search",
"embeddableApi": "src/plugins/embeddable",
diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc
index f97f4b4a20a04..a83771cf598c2 100644
--- a/docs/developer/plugin-list.asciidoc
+++ b/docs/developer/plugin-list.asciidoc
@@ -530,11 +530,11 @@ Plugin server-side only. Plugin has three main functions:
|Adds drilldown capabilities to dashboard. Owned by the Kibana App team.
-|{kib-repo}blob/{branch}/x-pack/plugins/data_quality/README.md[dataQuality]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/data_quality/README.md[dataQuality]
|Page where users can see the quality of their log data sets.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/dataset_quality/README.md[datasetQuality]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/dataset_quality/README.md[datasetQuality]
|In order to make ongoing maintenance of log collection easy we want to introduce the concept of data set quality, where users can easily get an overview on the data sets they have with information such as integration, size, last activity, among others.
@@ -597,7 +597,7 @@ activities.
|The features plugin enhance Kibana with a per-feature privilege system.
-|{kib-repo}blob/{branch}/x-pack/plugins/fields_metadata/README.md[fieldsMetadata]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/fields_metadata/README.md[fieldsMetadata]
|The @kbn/fields-metadata-plugin is designed to provide a centralized and asynchronous way to consume field metadata across Kibana. This plugin addresses the need for on-demand retrieval of field metadata from static ECS/Metadata definitions and integration manifests, with the flexibility to extend to additional resolution sources in the future.
@@ -645,7 +645,7 @@ Index Management by running this series of requests in Console:
external LLM APIs. Its goals are:
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/infra/README.md[infra]
+|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/infra/README.md[infra]
|This is the home of the infra plugin, which aims to provide a solution for
the infrastructure monitoring use-case within Kibana.
@@ -699,15 +699,15 @@ using the CURL scripts in the scripts folder.
|This plugin contains various LLM tasks.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_data_access/README.md[logsDataAccess]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/logs_data_access/README.md[logsDataAccess]
|Exposes services to access logs data.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_explorer/README.md[logsExplorer]
+|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/logs_explorer/README.md[logsExplorer]
|This plugin is home to the component and related types. It implements several of the underlying concepts that the Observability Logs Explorer app builds upon.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_shared/README.md[logsShared]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/logs_shared/README.md[logsShared]
|Exposes the shared components and APIs to access and visualize logs.
@@ -756,11 +756,11 @@ Elastic.
|The observabilityAiAssistantManagement plugin manages the Ai Assistant for Observability and Search management section.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_logs_explorer/README.md[observabilityLogsExplorer]
+|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md[observabilityLogsExplorer]
|This plugin provides an app based on the LogsExplorer component from the logs_explorer plugin, but adds observability-specific affordances.
-|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_onboarding/README.md[observabilityOnboarding]
+|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_onboarding/README.md[observabilityOnboarding]
|This plugin provides an onboarding framework for observability solutions: Logs and APM.
diff --git a/oas_docs/overlays/alerting.overlays.yaml b/oas_docs/overlays/alerting.overlays.yaml
index 0f579b54a5502..cec723bfabd2f 100644
--- a/oas_docs/overlays/alerting.overlays.yaml
+++ b/oas_docs/overlays/alerting.overlays.yaml
@@ -105,11 +105,11 @@ actions:
# Index threshold rule ()
- $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml'
# Infra inventory rule (metrics.alert.inventory.threshold)
- - $ref: '../../x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml'
+ - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml'
# Log threshold rule (logs.alert.document.count)
- - $ref: '../../x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml'
+ - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml'
# Infra metric threshold rule (metrics.alert.threshold)
- - $ref: '../../x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml'
+ - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml'
# SLO burn rate (slo.rules.burnRate)
- $ref: '../../x-pack/solutions/observability/plugins/slo/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml'
# Synthetics uptime TLS rule (xpack.uptime.alerts.tls)
diff --git a/package.json b/package.json
index e76a2c898559f..b0d9f7c093c1f 100644
--- a/package.json
+++ b/package.json
@@ -417,14 +417,14 @@
"@kbn/crypto": "link:packages/kbn-crypto",
"@kbn/crypto-browser": "link:packages/kbn-crypto-browser",
"@kbn/custom-branding-plugin": "link:x-pack/plugins/custom_branding",
- "@kbn/custom-icons": "link:packages/kbn-custom-icons",
- "@kbn/custom-integrations": "link:packages/kbn-custom-integrations",
+ "@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons",
+ "@kbn/custom-integrations": "link:x-pack/solutions/observability/packages/kbn-custom-integrations",
"@kbn/custom-integrations-plugin": "link:src/plugins/custom_integrations",
"@kbn/dashboard-enhanced-plugin": "link:x-pack/plugins/dashboard_enhanced",
"@kbn/dashboard-plugin": "link:src/plugins/dashboard",
"@kbn/data-forge": "link:x-pack/platform/packages/shared/kbn-data-forge",
"@kbn/data-plugin": "link:src/plugins/data",
- "@kbn/data-quality-plugin": "link:x-pack/plugins/data_quality",
+ "@kbn/data-quality-plugin": "link:x-pack/platform/plugins/shared/data_quality",
"@kbn/data-search-plugin": "link:test/plugin_functional/plugins/data_search",
"@kbn/data-service": "link:packages/kbn-data-service",
"@kbn/data-stream-adapter": "link:x-pack/solutions/security/packages/data-stream-adapter",
@@ -436,7 +436,7 @@
"@kbn/data-view-utils": "link:packages/kbn-data-view-utils",
"@kbn/data-views-plugin": "link:src/plugins/data_views",
"@kbn/data-visualizer-plugin": "link:x-pack/platform/plugins/private/data_visualizer",
- "@kbn/dataset-quality-plugin": "link:x-pack/plugins/observability_solution/dataset_quality",
+ "@kbn/dataset-quality-plugin": "link:x-pack/platform/plugins/shared/dataset_quality",
"@kbn/datemath": "link:packages/kbn-datemath",
"@kbn/deeplinks-analytics": "link:packages/deeplinks/analytics",
"@kbn/deeplinks-devtools": "link:src/platform/packages/shared/deeplinks/devtools",
@@ -453,7 +453,7 @@
"@kbn/default-nav-ml": "link:src/platform/packages/private/default-nav/ml",
"@kbn/dev-tools-plugin": "link:src/platform/plugins/shared/dev_tools",
"@kbn/developer-examples-plugin": "link:examples/developer_examples",
- "@kbn/discover-contextual-components": "link:packages/kbn-discover-contextual-components",
+ "@kbn/discover-contextual-components": "link:src/platform/packages/shared/kbn-discover-contextual-components",
"@kbn/discover-customization-examples-plugin": "link:examples/discover_customization_examples",
"@kbn/discover-enhanced-plugin": "link:x-pack/plugins/discover_enhanced",
"@kbn/discover-plugin": "link:src/plugins/discover",
@@ -464,7 +464,7 @@
"@kbn/ebt-tools": "link:packages/kbn-ebt-tools",
"@kbn/ecs-data-quality-dashboard": "link:x-pack/solutions/security/packages/ecs_data_quality_dashboard",
"@kbn/ecs-data-quality-dashboard-plugin": "link:x-pack/solutions/security/plugins/ecs_data_quality_dashboard",
- "@kbn/elastic-agent-utils": "link:packages/kbn-elastic-agent-utils",
+ "@kbn/elastic-agent-utils": "link:src/platform/packages/shared/kbn-elastic-agent-utils",
"@kbn/elastic-assistant": "link:x-pack/platform/packages/shared/kbn-elastic-assistant",
"@kbn/elastic-assistant-common": "link:x-pack/platform/packages/shared/kbn-elastic-assistant-common",
"@kbn/elastic-assistant-plugin": "link:x-pack/solutions/security/plugins/elastic_assistant",
@@ -531,7 +531,7 @@
"@kbn/field-formats-plugin": "link:src/plugins/field_formats",
"@kbn/field-types": "link:packages/kbn-field-types",
"@kbn/field-utils": "link:packages/kbn-field-utils",
- "@kbn/fields-metadata-plugin": "link:x-pack/plugins/fields_metadata",
+ "@kbn/fields-metadata-plugin": "link:x-pack/platform/plugins/shared/fields_metadata",
"@kbn/file-upload-plugin": "link:x-pack/plugins/file_upload",
"@kbn/files-example-plugin": "link:examples/files_example",
"@kbn/files-management-plugin": "link:src/plugins/files_management",
@@ -580,7 +580,7 @@
"@kbn/inference-plugin": "link:x-pack/platform/plugins/shared/inference",
"@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout",
"@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge",
- "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra",
+ "@kbn/infra-plugin": "link:x-pack/solutions/observability/plugins/infra",
"@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines",
"@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis",
"@kbn/inspector-plugin": "link:src/plugins/inspector",
@@ -624,9 +624,9 @@
"@kbn/locator-explorer-plugin": "link:examples/locator_explorer",
"@kbn/logging": "link:packages/kbn-logging",
"@kbn/logging-mocks": "link:packages/kbn-logging-mocks",
- "@kbn/logs-data-access-plugin": "link:x-pack/plugins/observability_solution/logs_data_access",
- "@kbn/logs-explorer-plugin": "link:x-pack/plugins/observability_solution/logs_explorer",
- "@kbn/logs-shared-plugin": "link:x-pack/plugins/observability_solution/logs_shared",
+ "@kbn/logs-data-access-plugin": "link:x-pack/platform/plugins/shared/logs_data_access",
+ "@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer",
+ "@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared",
"@kbn/logstash-plugin": "link:x-pack/plugins/logstash",
"@kbn/managed-content-badge": "link:packages/kbn-managed-content-badge",
"@kbn/management-cards-navigation": "link:src/platform/packages/shared/kbn-management/cards_navigation",
@@ -701,9 +701,9 @@
"@kbn/observability-alerting-test-data": "link:x-pack/solutions/observability/packages/alerting_test_data",
"@kbn/observability-fixtures-plugin": "link:x-pack/test/cases_api_integration/common/plugins/observability",
"@kbn/observability-get-padded-alert-time-range-util": "link:x-pack/solutions/observability/packages/get_padded_alert_time_range_util",
- "@kbn/observability-logs-explorer-plugin": "link:x-pack/plugins/observability_solution/observability_logs_explorer",
- "@kbn/observability-logs-overview": "link:x-pack/packages/observability/logs_overview",
- "@kbn/observability-onboarding-plugin": "link:x-pack/plugins/observability_solution/observability_onboarding",
+ "@kbn/observability-logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/observability_logs_explorer",
+ "@kbn/observability-logs-overview": "link:x-pack/platform/packages/shared/observability/logs_overview",
+ "@kbn/observability-onboarding-plugin": "link:x-pack/solutions/observability/plugins/observability_onboarding",
"@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability",
"@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared",
"@kbn/observability-synthetics-test-data": "link:x-pack/solutions/observability/packages/synthetics_test_data",
@@ -733,7 +733,7 @@
"@kbn/profiling-utils": "link:packages/kbn-profiling-utils",
"@kbn/random-sampling": "link:x-pack/packages/kbn-random-sampling",
"@kbn/react-field": "link:packages/kbn-react-field",
- "@kbn/react-hooks": "link:packages/kbn-react-hooks",
+ "@kbn/react-hooks": "link:src/platform/packages/shared/kbn-react-hooks",
"@kbn/react-kibana-context-common": "link:packages/react/kibana_context/common",
"@kbn/react-kibana-context-render": "link:packages/react/kibana_context/render",
"@kbn/react-kibana-context-root": "link:packages/react/kibana_context/root",
@@ -769,7 +769,7 @@
"@kbn/rollup": "link:x-pack/platform/packages/private/rollup",
"@kbn/rollup-plugin": "link:x-pack/platform/plugins/private/rollup",
"@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec",
- "@kbn/router-utils": "link:packages/kbn-router-utils",
+ "@kbn/router-utils": "link:src/platform/packages/shared/kbn-router-utils",
"@kbn/routing-example-plugin": "link:examples/routing_example",
"@kbn/rrule": "link:packages/kbn-rrule",
"@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils",
@@ -962,7 +962,7 @@
"@kbn/threat-intelligence-plugin": "link:x-pack/solutions/security/plugins/threat_intelligence",
"@kbn/timelines-plugin": "link:x-pack/solutions/security/plugins/timelines",
"@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar",
- "@kbn/timerange": "link:packages/kbn-timerange",
+ "@kbn/timerange": "link:src/platform/packages/shared/kbn-timerange",
"@kbn/tinymath": "link:packages/kbn-tinymath",
"@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform",
"@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations",
@@ -1024,7 +1024,7 @@
"@kbn/visualization-utils": "link:packages/kbn-visualization-utils",
"@kbn/visualizations-plugin": "link:src/plugins/visualizations",
"@kbn/watcher-plugin": "link:x-pack/platform/plugins/private/watcher",
- "@kbn/xstate-utils": "link:packages/kbn-xstate-utils",
+ "@kbn/xstate-utils": "link:src/platform/packages/shared/kbn-xstate-utils",
"@kbn/zod": "link:packages/kbn-zod",
"@kbn/zod-helpers": "link:src/platform/packages/shared/kbn-zod-helpers",
"@langchain/aws": "^0.1.2",
@@ -1479,7 +1479,7 @@
"@kbn/manifest": "link:packages/kbn-manifest",
"@kbn/mock-idp-plugin": "link:packages/kbn-mock-idp-plugin",
"@kbn/mock-idp-utils": "link:packages/kbn-mock-idp-utils",
- "@kbn/observability-onboarding-e2e": "link:x-pack/plugins/observability_solution/observability_onboarding/e2e",
+ "@kbn/observability-onboarding-e2e": "link:x-pack/solutions/observability/plugins/observability_onboarding/e2e",
"@kbn/openapi-bundler": "link:packages/kbn-openapi-bundler",
"@kbn/openapi-generator": "link:packages/kbn-openapi-generator",
"@kbn/optimizer": "link:packages/kbn-optimizer",
diff --git a/packages/kbn-custom-integrations/jest.config.js b/packages/kbn-custom-integrations/jest.config.js
deleted file mode 100644
index 4d1e1c1b5a83c..0000000000000
--- a/packages/kbn-custom-integrations/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test/jest_node',
- rootDir: '../..',
- roots: ['/packages/kbn-custom-integrations'],
-};
diff --git a/packages/kbn-custom-integrations/src/components/index.ts b/packages/kbn-custom-integrations/src/components/index.ts
deleted file mode 100644
index d32c85801643d..0000000000000
--- a/packages/kbn-custom-integrations/src/components/index.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export { ConnectedCreateCustomIntegrationForm } from './create/form';
-export * from './create/error_callout';
-export * from './custom_integrations_button';
-export * from './custom_integrations_form';
diff --git a/packages/kbn-custom-integrations/src/hooks/index.ts b/packages/kbn-custom-integrations/src/hooks/index.ts
deleted file mode 100644
index 4f44ba441e794..0000000000000
--- a/packages/kbn-custom-integrations/src/hooks/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export { useConsumerCustomIntegrations } from './use_consumer_custom_integrations';
-export { useCustomIntegrations } from './use_custom_integrations';
-export type { DispatchableEvents } from './use_consumer_custom_integrations';
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts b/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
deleted file mode 100644
index ad8a949e1123b..0000000000000
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { DefaultCustomIntegrationsContext } from './types';
-
-export const DEFAULT_CONTEXT: DefaultCustomIntegrationsContext = {
- mode: 'create' as const,
-};
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts b/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
deleted file mode 100644
index 79722e15a4522..0000000000000
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-import { CustomIntegrationsState } from './state_machine';
-
-export const createIsInitializedSelector = (state: CustomIntegrationsState) =>
- state && state.matches({ create: 'initialized' });
diff --git a/packages/kbn-custom-integrations/src/state_machines/index.ts b/packages/kbn-custom-integrations/src/state_machines/index.ts
deleted file mode 100644
index f9ea08dac8714..0000000000000
--- a/packages/kbn-custom-integrations/src/state_machines/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-export { CustomIntegrationsProvider } from './custom_integrations/provider';
-export type { Callbacks } from './custom_integrations/provider';
-export type { InitialState } from './custom_integrations/types';
diff --git a/packages/kbn-ebt-tools/BUILD.bazel b/packages/kbn-ebt-tools/BUILD.bazel
index 1ea329e82638e..93567fde14c11 100644
--- a/packages/kbn-ebt-tools/BUILD.bazel
+++ b/packages/kbn-ebt-tools/BUILD.bazel
@@ -25,7 +25,7 @@ SHARED_DEPS = [
"@npm//@elastic/apm-rum-core",
"@npm//react",
"@npm//react-router-dom",
- "//packages/kbn-timerange"
+ "//src/platform/packages/shared/kbn-timerange"
]
js_library(
diff --git a/packages/kbn-router-utils/jest.config.js b/packages/kbn-router-utils/jest.config.js
deleted file mode 100644
index ffbc9f07f2ebf..0000000000000
--- a/packages/kbn-router-utils/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-router-utils'],
-};
diff --git a/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts b/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts
index 265bdbe9e0082..735413d2f2029 100644
--- a/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts
+++ b/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts
@@ -27,7 +27,7 @@ const IGNORED_PATHS = [
Path.resolve(REPO_ROOT, 'packages/kbn-test/src/jest/run_check_jest_configs_cli.ts'),
Path.resolve(
REPO_ROOT,
- 'x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts'
+ 'x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts'
),
];
diff --git a/packages/kbn-timerange/jest.config.js b/packages/kbn-timerange/jest.config.js
deleted file mode 100644
index df6ceeaa419a9..0000000000000
--- a/packages/kbn-timerange/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-timerange'],
-};
diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts
index 2bf3888ce6cb2..d2aeb97d648fd 100644
--- a/src/dev/storybook/aliases.ts
+++ b/src/dev/storybook/aliases.ts
@@ -25,7 +25,7 @@ export const storybookAliases = {
'src/platform/packages/private/kbn-language-documentation/.storybook',
chart_icons: 'packages/kbn-chart-icons/.storybook',
content_management_examples: 'examples/content_management_examples/.storybook',
- custom_icons: 'packages/kbn-custom-icons/.storybook',
+ custom_icons: 'src/platform/packages/shared/kbn-custom-icons/.storybook',
custom_integrations: 'src/plugins/custom_integrations/storybook',
dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook',
dashboard: 'src/plugins/dashboard/.storybook',
@@ -46,12 +46,12 @@ export const storybookAliases = {
fleet: 'x-pack/plugins/fleet/.storybook',
grouping: 'packages/kbn-grouping/.storybook',
home: 'src/plugins/home/.storybook',
- infra: 'x-pack/plugins/observability_solution/infra/.storybook',
+ infra: 'x-pack/solutions/observability/plugins/infra/.storybook',
inventory: 'x-pack/plugins/observability_solution/inventory/.storybook',
investigate: 'x-pack/solutions/observability/plugins/investigate_app/.storybook',
kibana_react: 'src/plugins/kibana_react/.storybook',
lists: 'x-pack/solutions/security/plugins/lists/.storybook',
- logs_explorer: 'x-pack/plugins/observability_solution/logs_explorer/.storybook',
+ logs_explorer: 'x-pack/solutions/observability/plugins/logs_explorer/.storybook',
management: 'packages/kbn-management/storybook/config',
observability: 'x-pack/solutions/observability/plugins/observability/.storybook',
observability_ai_assistant:
diff --git a/packages/kbn-custom-icons/.storybook/main.js b/src/platform/packages/shared/kbn-custom-icons/.storybook/main.js
similarity index 100%
rename from packages/kbn-custom-icons/.storybook/main.js
rename to src/platform/packages/shared/kbn-custom-icons/.storybook/main.js
diff --git a/packages/kbn-custom-icons/README.md b/src/platform/packages/shared/kbn-custom-icons/README.md
similarity index 100%
rename from packages/kbn-custom-icons/README.md
rename to src/platform/packages/shared/kbn-custom-icons/README.md
diff --git a/packages/kbn-custom-icons/assets/android.svg b/src/platform/packages/shared/kbn-custom-icons/assets/android.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/android.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/android.svg
diff --git a/packages/kbn-custom-icons/assets/cpp.svg b/src/platform/packages/shared/kbn-custom-icons/assets/cpp.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/cpp.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/cpp.svg
diff --git a/packages/kbn-custom-icons/assets/cpp_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/cpp_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/cpp_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/cpp_dark.svg
diff --git a/packages/kbn-custom-icons/assets/default.svg b/src/platform/packages/shared/kbn-custom-icons/assets/default.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/default.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/default.svg
diff --git a/packages/kbn-custom-icons/assets/dot_net.svg b/src/platform/packages/shared/kbn-custom-icons/assets/dot_net.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/dot_net.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/dot_net.svg
diff --git a/packages/kbn-custom-icons/assets/erlang.svg b/src/platform/packages/shared/kbn-custom-icons/assets/erlang.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/erlang.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/erlang.svg
diff --git a/packages/kbn-custom-icons/assets/erlang_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/erlang_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/erlang_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/erlang_dark.svg
diff --git a/packages/kbn-custom-icons/assets/functions.svg b/src/platform/packages/shared/kbn-custom-icons/assets/functions.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/functions.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/functions.svg
diff --git a/packages/kbn-custom-icons/assets/go.svg b/src/platform/packages/shared/kbn-custom-icons/assets/go.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/go.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/go.svg
diff --git a/packages/kbn-custom-icons/assets/ios.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ios.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/ios.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/ios.svg
diff --git a/packages/kbn-custom-icons/assets/ios_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ios_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/ios_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/ios_dark.svg
diff --git a/packages/kbn-custom-icons/assets/java.svg b/src/platform/packages/shared/kbn-custom-icons/assets/java.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/java.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/java.svg
diff --git a/packages/kbn-custom-icons/assets/lambda.svg b/src/platform/packages/shared/kbn-custom-icons/assets/lambda.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/lambda.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/lambda.svg
diff --git a/packages/kbn-custom-icons/assets/nodejs.svg b/src/platform/packages/shared/kbn-custom-icons/assets/nodejs.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/nodejs.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/nodejs.svg
diff --git a/packages/kbn-custom-icons/assets/ocaml.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ocaml.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/ocaml.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/ocaml.svg
diff --git a/packages/kbn-custom-icons/assets/opentelemetry.svg b/src/platform/packages/shared/kbn-custom-icons/assets/opentelemetry.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/opentelemetry.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/opentelemetry.svg
diff --git a/packages/kbn-custom-icons/assets/otel_default.svg b/src/platform/packages/shared/kbn-custom-icons/assets/otel_default.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/otel_default.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/otel_default.svg
diff --git a/packages/kbn-custom-icons/assets/php.svg b/src/platform/packages/shared/kbn-custom-icons/assets/php.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/php.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/php.svg
diff --git a/packages/kbn-custom-icons/assets/php_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/php_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/php_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/php_dark.svg
diff --git a/packages/kbn-custom-icons/assets/python.svg b/src/platform/packages/shared/kbn-custom-icons/assets/python.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/python.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/python.svg
diff --git a/packages/kbn-custom-icons/assets/ruby.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ruby.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/ruby.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/ruby.svg
diff --git a/packages/kbn-custom-icons/assets/rumjs.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rumjs.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/rumjs.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/rumjs.svg
diff --git a/packages/kbn-custom-icons/assets/rumjs_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rumjs_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/rumjs_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/rumjs_dark.svg
diff --git a/packages/kbn-custom-icons/assets/rust.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rust.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/rust.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/rust.svg
diff --git a/packages/kbn-custom-icons/assets/rust_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rust_dark.svg
similarity index 100%
rename from packages/kbn-custom-icons/assets/rust_dark.svg
rename to src/platform/packages/shared/kbn-custom-icons/assets/rust_dark.svg
diff --git a/packages/kbn-custom-icons/index.ts b/src/platform/packages/shared/kbn-custom-icons/index.ts
similarity index 100%
rename from packages/kbn-custom-icons/index.ts
rename to src/platform/packages/shared/kbn-custom-icons/index.ts
diff --git a/packages/kbn-discover-contextual-components/jest.config.js b/src/platform/packages/shared/kbn-custom-icons/jest.config.js
similarity index 83%
rename from packages/kbn-discover-contextual-components/jest.config.js
rename to src/platform/packages/shared/kbn-custom-icons/jest.config.js
index bacfd33649ce4..c6899d93b5e9e 100644
--- a/packages/kbn-discover-contextual-components/jest.config.js
+++ b/src/platform/packages/shared/kbn-custom-icons/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-discover-contextual-components'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-custom-icons'],
};
diff --git a/packages/kbn-custom-icons/kibana.jsonc b/src/platform/packages/shared/kbn-custom-icons/kibana.jsonc
similarity index 100%
rename from packages/kbn-custom-icons/kibana.jsonc
rename to src/platform/packages/shared/kbn-custom-icons/kibana.jsonc
diff --git a/packages/kbn-custom-icons/package.json b/src/platform/packages/shared/kbn-custom-icons/package.json
similarity index 100%
rename from packages/kbn-custom-icons/package.json
rename to src/platform/packages/shared/kbn-custom-icons/package.json
diff --git a/packages/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx
similarity index 100%
rename from packages/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx
rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx
diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts
similarity index 100%
rename from packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts
rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts
diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts
similarity index 100%
rename from packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts
rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts
diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts
similarity index 100%
rename from packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts
rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts
diff --git a/packages/kbn-custom-icons/src/components/agent_icon/index.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx
similarity index 100%
rename from packages/kbn-custom-icons/src/components/agent_icon/index.tsx
rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx
diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx
similarity index 100%
rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx
rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx
diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts
similarity index 100%
rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts
rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts
diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx
similarity index 100%
rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx
rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx
diff --git a/packages/kbn-custom-icons/tsconfig.json b/src/platform/packages/shared/kbn-custom-icons/tsconfig.json
similarity index 86%
rename from packages/kbn-custom-icons/tsconfig.json
rename to src/platform/packages/shared/kbn-custom-icons/tsconfig.json
index 5cd845d4948c6..380335f9e2dd5 100644
--- a/packages/kbn-custom-icons/tsconfig.json
+++ b/src/platform/packages/shared/kbn-custom-icons/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-discover-contextual-components/README.md b/src/platform/packages/shared/kbn-discover-contextual-components/README.md
similarity index 100%
rename from packages/kbn-discover-contextual-components/README.md
rename to src/platform/packages/shared/kbn-discover-contextual-components/README.md
diff --git a/packages/kbn-discover-contextual-components/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/index.ts
similarity index 100%
rename from packages/kbn-discover-contextual-components/index.ts
rename to src/platform/packages/shared/kbn-discover-contextual-components/index.ts
diff --git a/src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js b/src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js
new file mode 100644
index 0000000000000..8c1468cdabd49
--- /dev/null
+++ b/src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-discover-contextual-components'],
+};
diff --git a/packages/kbn-discover-contextual-components/kibana.jsonc b/src/platform/packages/shared/kbn-discover-contextual-components/kibana.jsonc
similarity index 100%
rename from packages/kbn-discover-contextual-components/kibana.jsonc
rename to src/platform/packages/shared/kbn-discover-contextual-components/kibana.jsonc
diff --git a/packages/kbn-discover-contextual-components/package.json b/src/platform/packages/shared/kbn-discover-contextual-components/package.json
similarity index 100%
rename from packages/kbn-discover-contextual-components/package.json
rename to src/platform/packages/shared/kbn-discover-contextual-components/package.json
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/index.ts
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/index.ts
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/index.ts
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx
diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx
diff --git a/packages/kbn-discover-contextual-components/src/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/index.ts
similarity index 100%
rename from packages/kbn-discover-contextual-components/src/index.ts
rename to src/platform/packages/shared/kbn-discover-contextual-components/src/index.ts
diff --git a/packages/kbn-discover-contextual-components/tsconfig.json b/src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json
similarity index 93%
rename from packages/kbn-discover-contextual-components/tsconfig.json
rename to src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json
index 0dc07688b4cab..9d32dfb823e9b 100644
--- a/packages/kbn-discover-contextual-components/tsconfig.json
+++ b/src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-elastic-agent-utils/README.md b/src/platform/packages/shared/kbn-elastic-agent-utils/README.md
similarity index 100%
rename from packages/kbn-elastic-agent-utils/README.md
rename to src/platform/packages/shared/kbn-elastic-agent-utils/README.md
diff --git a/packages/kbn-elastic-agent-utils/index.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/index.ts
similarity index 100%
rename from packages/kbn-elastic-agent-utils/index.ts
rename to src/platform/packages/shared/kbn-elastic-agent-utils/index.ts
diff --git a/src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js b/src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js
new file mode 100644
index 0000000000000..5bdd872bf7f41
--- /dev/null
+++ b/src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-elastic-agent-utils'],
+};
diff --git a/packages/kbn-elastic-agent-utils/kibana.jsonc b/src/platform/packages/shared/kbn-elastic-agent-utils/kibana.jsonc
similarity index 100%
rename from packages/kbn-elastic-agent-utils/kibana.jsonc
rename to src/platform/packages/shared/kbn-elastic-agent-utils/kibana.jsonc
diff --git a/packages/kbn-elastic-agent-utils/package.json b/src/platform/packages/shared/kbn-elastic-agent-utils/package.json
similarity index 100%
rename from packages/kbn-elastic-agent-utils/package.json
rename to src/platform/packages/shared/kbn-elastic-agent-utils/package.json
diff --git a/packages/kbn-elastic-agent-utils/src/agent_guards.test.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.test.ts
similarity index 100%
rename from packages/kbn-elastic-agent-utils/src/agent_guards.test.ts
rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.test.ts
diff --git a/packages/kbn-elastic-agent-utils/src/agent_guards.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts
similarity index 100%
rename from packages/kbn-elastic-agent-utils/src/agent_guards.ts
rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts
diff --git a/packages/kbn-elastic-agent-utils/src/agent_names.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts
similarity index 100%
rename from packages/kbn-elastic-agent-utils/src/agent_names.ts
rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts
diff --git a/packages/kbn-elastic-agent-utils/tsconfig.json b/src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json
similarity index 79%
rename from packages/kbn-elastic-agent-utils/tsconfig.json
rename to src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json
index 9754544771806..d369c6f66c790 100644
--- a/packages/kbn-elastic-agent-utils/tsconfig.json
+++ b/src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-react-hooks/README.md b/src/platform/packages/shared/kbn-react-hooks/README.md
similarity index 100%
rename from packages/kbn-react-hooks/README.md
rename to src/platform/packages/shared/kbn-react-hooks/README.md
diff --git a/packages/kbn-react-hooks/index.ts b/src/platform/packages/shared/kbn-react-hooks/index.ts
similarity index 100%
rename from packages/kbn-react-hooks/index.ts
rename to src/platform/packages/shared/kbn-react-hooks/index.ts
diff --git a/packages/kbn-elastic-agent-utils/jest.config.js b/src/platform/packages/shared/kbn-react-hooks/jest.config.js
similarity index 83%
rename from packages/kbn-elastic-agent-utils/jest.config.js
rename to src/platform/packages/shared/kbn-react-hooks/jest.config.js
index f495ab73d4e62..50eb8023e9ce9 100644
--- a/packages/kbn-elastic-agent-utils/jest.config.js
+++ b/src/platform/packages/shared/kbn-react-hooks/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-elastic-agent-utils'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-react-hooks'],
};
diff --git a/packages/kbn-react-hooks/kibana.jsonc b/src/platform/packages/shared/kbn-react-hooks/kibana.jsonc
similarity index 100%
rename from packages/kbn-react-hooks/kibana.jsonc
rename to src/platform/packages/shared/kbn-react-hooks/kibana.jsonc
diff --git a/packages/kbn-react-hooks/package.json b/src/platform/packages/shared/kbn-react-hooks/package.json
similarity index 100%
rename from packages/kbn-react-hooks/package.json
rename to src/platform/packages/shared/kbn-react-hooks/package.json
diff --git a/packages/kbn-react-hooks/src/use_boolean/index.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/index.ts
similarity index 100%
rename from packages/kbn-react-hooks/src/use_boolean/index.ts
rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/index.ts
diff --git a/packages/kbn-react-hooks/src/use_boolean/use_boolean.test.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.test.ts
similarity index 100%
rename from packages/kbn-react-hooks/src/use_boolean/use_boolean.test.ts
rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.test.ts
diff --git a/packages/kbn-react-hooks/src/use_boolean/use_boolean.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts
similarity index 100%
rename from packages/kbn-react-hooks/src/use_boolean/use_boolean.ts
rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts
diff --git a/packages/kbn-react-hooks/src/use_error_text_style/index.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/index.ts
similarity index 100%
rename from packages/kbn-react-hooks/src/use_error_text_style/index.ts
rename to src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/index.ts
diff --git a/packages/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts
similarity index 100%
rename from packages/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts
rename to src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts
diff --git a/packages/kbn-react-hooks/tsconfig.json b/src/platform/packages/shared/kbn-react-hooks/tsconfig.json
similarity index 82%
rename from packages/kbn-react-hooks/tsconfig.json
rename to src/platform/packages/shared/kbn-react-hooks/tsconfig.json
index 620e1832c66d6..4eca5cbff213f 100644
--- a/packages/kbn-react-hooks/tsconfig.json
+++ b/src/platform/packages/shared/kbn-react-hooks/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-router-utils/README.md b/src/platform/packages/shared/kbn-router-utils/README.md
similarity index 100%
rename from packages/kbn-router-utils/README.md
rename to src/platform/packages/shared/kbn-router-utils/README.md
diff --git a/packages/kbn-router-utils/index.ts b/src/platform/packages/shared/kbn-router-utils/index.ts
similarity index 100%
rename from packages/kbn-router-utils/index.ts
rename to src/platform/packages/shared/kbn-router-utils/index.ts
diff --git a/packages/kbn-react-hooks/jest.config.js b/src/platform/packages/shared/kbn-router-utils/jest.config.js
similarity index 83%
rename from packages/kbn-react-hooks/jest.config.js
rename to src/platform/packages/shared/kbn-router-utils/jest.config.js
index 41f446862f962..28b713191aa6c 100644
--- a/packages/kbn-react-hooks/jest.config.js
+++ b/src/platform/packages/shared/kbn-router-utils/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-react-hooks'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-router-utils'],
};
diff --git a/packages/kbn-router-utils/kibana.jsonc b/src/platform/packages/shared/kbn-router-utils/kibana.jsonc
similarity index 100%
rename from packages/kbn-router-utils/kibana.jsonc
rename to src/platform/packages/shared/kbn-router-utils/kibana.jsonc
diff --git a/packages/kbn-router-utils/package.json b/src/platform/packages/shared/kbn-router-utils/package.json
similarity index 100%
rename from packages/kbn-router-utils/package.json
rename to src/platform/packages/shared/kbn-router-utils/package.json
diff --git a/packages/kbn-router-utils/src/get_router_link_props/index.ts b/src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts
similarity index 100%
rename from packages/kbn-router-utils/src/get_router_link_props/index.ts
rename to src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts
diff --git a/packages/kbn-router-utils/tsconfig.json b/src/platform/packages/shared/kbn-router-utils/tsconfig.json
similarity index 82%
rename from packages/kbn-router-utils/tsconfig.json
rename to src/platform/packages/shared/kbn-router-utils/tsconfig.json
index 87f865132f4b4..447899d604592 100644
--- a/packages/kbn-router-utils/tsconfig.json
+++ b/src/platform/packages/shared/kbn-router-utils/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-timerange/BUILD.bazel b/src/platform/packages/shared/kbn-timerange/BUILD.bazel
similarity index 100%
rename from packages/kbn-timerange/BUILD.bazel
rename to src/platform/packages/shared/kbn-timerange/BUILD.bazel
diff --git a/packages/kbn-timerange/README.md b/src/platform/packages/shared/kbn-timerange/README.md
similarity index 100%
rename from packages/kbn-timerange/README.md
rename to src/platform/packages/shared/kbn-timerange/README.md
diff --git a/packages/kbn-timerange/index.ts b/src/platform/packages/shared/kbn-timerange/index.ts
similarity index 100%
rename from packages/kbn-timerange/index.ts
rename to src/platform/packages/shared/kbn-timerange/index.ts
diff --git a/packages/kbn-custom-icons/jest.config.js b/src/platform/packages/shared/kbn-timerange/jest.config.js
similarity index 84%
rename from packages/kbn-custom-icons/jest.config.js
rename to src/platform/packages/shared/kbn-timerange/jest.config.js
index c671151a6831e..6b0af8f663e2b 100644
--- a/packages/kbn-custom-icons/jest.config.js
+++ b/src/platform/packages/shared/kbn-timerange/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-custom-icons'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-timerange'],
};
diff --git a/packages/kbn-timerange/kibana.jsonc b/src/platform/packages/shared/kbn-timerange/kibana.jsonc
similarity index 100%
rename from packages/kbn-timerange/kibana.jsonc
rename to src/platform/packages/shared/kbn-timerange/kibana.jsonc
diff --git a/packages/kbn-timerange/package.json b/src/platform/packages/shared/kbn-timerange/package.json
similarity index 100%
rename from packages/kbn-timerange/package.json
rename to src/platform/packages/shared/kbn-timerange/package.json
diff --git a/packages/kbn-timerange/src/index.ts b/src/platform/packages/shared/kbn-timerange/src/index.ts
similarity index 100%
rename from packages/kbn-timerange/src/index.ts
rename to src/platform/packages/shared/kbn-timerange/src/index.ts
diff --git a/packages/kbn-timerange/tsconfig.json b/src/platform/packages/shared/kbn-timerange/tsconfig.json
similarity index 83%
rename from packages/kbn-timerange/tsconfig.json
rename to src/platform/packages/shared/kbn-timerange/tsconfig.json
index 9690a889a4891..5a28fbe5c65e6 100644
--- a/packages/kbn-timerange/tsconfig.json
+++ b/src/platform/packages/shared/kbn-timerange/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-xstate-utils/README.md b/src/platform/packages/shared/kbn-xstate-utils/README.md
similarity index 100%
rename from packages/kbn-xstate-utils/README.md
rename to src/platform/packages/shared/kbn-xstate-utils/README.md
diff --git a/packages/kbn-xstate-utils/index.ts b/src/platform/packages/shared/kbn-xstate-utils/index.ts
similarity index 100%
rename from packages/kbn-xstate-utils/index.ts
rename to src/platform/packages/shared/kbn-xstate-utils/index.ts
diff --git a/packages/kbn-xstate-utils/jest.config.js b/src/platform/packages/shared/kbn-xstate-utils/jest.config.js
similarity index 84%
rename from packages/kbn-xstate-utils/jest.config.js
rename to src/platform/packages/shared/kbn-xstate-utils/jest.config.js
index f976cffb2a6a5..50cbc56e51e2f 100644
--- a/packages/kbn-xstate-utils/jest.config.js
+++ b/src/platform/packages/shared/kbn-xstate-utils/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test/jest_node',
- rootDir: '../..',
- roots: ['/packages/kbn-xstate-utils'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-xstate-utils'],
};
diff --git a/packages/kbn-xstate-utils/kibana.jsonc b/src/platform/packages/shared/kbn-xstate-utils/kibana.jsonc
similarity index 100%
rename from packages/kbn-xstate-utils/kibana.jsonc
rename to src/platform/packages/shared/kbn-xstate-utils/kibana.jsonc
diff --git a/packages/kbn-xstate-utils/package.json b/src/platform/packages/shared/kbn-xstate-utils/package.json
similarity index 100%
rename from packages/kbn-xstate-utils/package.json
rename to src/platform/packages/shared/kbn-xstate-utils/package.json
diff --git a/packages/kbn-xstate-utils/src/actions.ts b/src/platform/packages/shared/kbn-xstate-utils/src/actions.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/actions.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/actions.ts
diff --git a/packages/kbn-xstate-utils/src/console_inspector.ts b/src/platform/packages/shared/kbn-xstate-utils/src/console_inspector.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/console_inspector.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/console_inspector.ts
diff --git a/packages/kbn-xstate-utils/src/dev_tools.ts b/src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/dev_tools.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts
diff --git a/packages/kbn-xstate-utils/src/index.ts b/src/platform/packages/shared/kbn-xstate-utils/src/index.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/index.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/index.ts
diff --git a/packages/kbn-xstate-utils/src/notification_channel.ts b/src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/notification_channel.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts
diff --git a/packages/kbn-xstate-utils/src/types.ts b/src/platform/packages/shared/kbn-xstate-utils/src/types.ts
similarity index 100%
rename from packages/kbn-xstate-utils/src/types.ts
rename to src/platform/packages/shared/kbn-xstate-utils/src/types.ts
diff --git a/packages/kbn-xstate-utils/tsconfig.json b/src/platform/packages/shared/kbn-xstate-utils/tsconfig.json
similarity index 80%
rename from packages/kbn-xstate-utils/tsconfig.json
rename to src/platform/packages/shared/kbn-xstate-utils/tsconfig.json
index 2f9ddddbeea23..7aba1b1a9378a 100644
--- a/packages/kbn-xstate-utils/tsconfig.json
+++ b/src/platform/packages/shared/kbn-xstate-utils/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/src/plugins/discover_shared/README.md b/src/plugins/discover_shared/README.md
index f8c50b081f22c..f1bcb5ab2e011 100755
--- a/src/plugins/discover_shared/README.md
+++ b/src/plugins/discover_shared/README.md
@@ -64,7 +64,7 @@ Having an interface for the feature and Discover consuming its definition, we ar
For our example, we'll go to the logs app that owns the LogsAIAssistant codebase and register the feature:
```tsx
-// x-pack/plugins/observability_solution/logs_shared/public/plugin.ts
+// x-pack/platform/plugins/shared/logs_shared/public/plugin.ts
export class LogsSharedPlugin implements LogsSharedClientPluginClass {
// The rest of the plugin implementation is hidden for a cleaner example
diff --git a/src/plugins/vis_types/timeseries/server/plugin.ts b/src/plugins/vis_types/timeseries/server/plugin.ts
index 29b2f4adacadf..ff2e5ca1a7c69 100644
--- a/src/plugins/vis_types/timeseries/server/plugin.ts
+++ b/src/plugins/vis_types/timeseries/server/plugin.ts
@@ -63,7 +63,7 @@ export interface VisTypeTimeseriesSetup {
getVisData: (
requestContext: VisTypeTimeseriesRequestHandlerContext,
fakeRequest: KibanaRequest,
- // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts
+ // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts
options: any
) => Promise;
}
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 1d5ab8fa1a0f8..84c8cb68d811a 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -686,10 +686,10 @@
"@kbn/crypto-browser/*": ["packages/kbn-crypto-browser/*"],
"@kbn/custom-branding-plugin": ["x-pack/plugins/custom_branding"],
"@kbn/custom-branding-plugin/*": ["x-pack/plugins/custom_branding/*"],
- "@kbn/custom-icons": ["packages/kbn-custom-icons"],
- "@kbn/custom-icons/*": ["packages/kbn-custom-icons/*"],
- "@kbn/custom-integrations": ["packages/kbn-custom-integrations"],
- "@kbn/custom-integrations/*": ["packages/kbn-custom-integrations/*"],
+ "@kbn/custom-icons": ["src/platform/packages/shared/kbn-custom-icons"],
+ "@kbn/custom-icons/*": ["src/platform/packages/shared/kbn-custom-icons/*"],
+ "@kbn/custom-integrations": ["x-pack/solutions/observability/packages/kbn-custom-integrations"],
+ "@kbn/custom-integrations/*": ["x-pack/solutions/observability/packages/kbn-custom-integrations/*"],
"@kbn/custom-integrations-plugin": ["src/plugins/custom_integrations"],
"@kbn/custom-integrations-plugin/*": ["src/plugins/custom_integrations/*"],
"@kbn/cypress-config": ["packages/kbn-cypress-config"],
@@ -702,8 +702,8 @@
"@kbn/data-forge/*": ["x-pack/platform/packages/shared/kbn-data-forge/*"],
"@kbn/data-plugin": ["src/plugins/data"],
"@kbn/data-plugin/*": ["src/plugins/data/*"],
- "@kbn/data-quality-plugin": ["x-pack/plugins/data_quality"],
- "@kbn/data-quality-plugin/*": ["x-pack/plugins/data_quality/*"],
+ "@kbn/data-quality-plugin": ["x-pack/platform/plugins/shared/data_quality"],
+ "@kbn/data-quality-plugin/*": ["x-pack/platform/plugins/shared/data_quality/*"],
"@kbn/data-search-plugin": ["test/plugin_functional/plugins/data_search"],
"@kbn/data-search-plugin/*": ["test/plugin_functional/plugins/data_search/*"],
"@kbn/data-service": ["packages/kbn-data-service"],
@@ -726,8 +726,8 @@
"@kbn/data-views-plugin/*": ["src/plugins/data_views/*"],
"@kbn/data-visualizer-plugin": ["x-pack/platform/plugins/private/data_visualizer"],
"@kbn/data-visualizer-plugin/*": ["x-pack/platform/plugins/private/data_visualizer/*"],
- "@kbn/dataset-quality-plugin": ["x-pack/plugins/observability_solution/dataset_quality"],
- "@kbn/dataset-quality-plugin/*": ["x-pack/plugins/observability_solution/dataset_quality/*"],
+ "@kbn/dataset-quality-plugin": ["x-pack/platform/plugins/shared/dataset_quality"],
+ "@kbn/dataset-quality-plugin/*": ["x-pack/platform/plugins/shared/dataset_quality/*"],
"@kbn/datemath": ["packages/kbn-datemath"],
"@kbn/datemath/*": ["packages/kbn-datemath/*"],
"@kbn/deeplinks-analytics": ["packages/deeplinks/analytics"],
@@ -772,8 +772,8 @@
"@kbn/dev-utils/*": ["packages/kbn-dev-utils/*"],
"@kbn/developer-examples-plugin": ["examples/developer_examples"],
"@kbn/developer-examples-plugin/*": ["examples/developer_examples/*"],
- "@kbn/discover-contextual-components": ["packages/kbn-discover-contextual-components"],
- "@kbn/discover-contextual-components/*": ["packages/kbn-discover-contextual-components/*"],
+ "@kbn/discover-contextual-components": ["src/platform/packages/shared/kbn-discover-contextual-components"],
+ "@kbn/discover-contextual-components/*": ["src/platform/packages/shared/kbn-discover-contextual-components/*"],
"@kbn/discover-customization-examples-plugin": ["examples/discover_customization_examples"],
"@kbn/discover-customization-examples-plugin/*": ["examples/discover_customization_examples/*"],
"@kbn/discover-enhanced-plugin": ["x-pack/plugins/discover_enhanced"],
@@ -796,8 +796,8 @@
"@kbn/ecs-data-quality-dashboard/*": ["x-pack/solutions/security/packages/ecs_data_quality_dashboard/*"],
"@kbn/ecs-data-quality-dashboard-plugin": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard"],
"@kbn/ecs-data-quality-dashboard-plugin/*": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard/*"],
- "@kbn/elastic-agent-utils": ["packages/kbn-elastic-agent-utils"],
- "@kbn/elastic-agent-utils/*": ["packages/kbn-elastic-agent-utils/*"],
+ "@kbn/elastic-agent-utils": ["src/platform/packages/shared/kbn-elastic-agent-utils"],
+ "@kbn/elastic-agent-utils/*": ["src/platform/packages/shared/kbn-elastic-agent-utils/*"],
"@kbn/elastic-assistant": ["x-pack/platform/packages/shared/kbn-elastic-assistant"],
"@kbn/elastic-assistant/*": ["x-pack/platform/packages/shared/kbn-elastic-assistant/*"],
"@kbn/elastic-assistant-common": ["x-pack/platform/packages/shared/kbn-elastic-assistant-common"],
@@ -952,8 +952,8 @@
"@kbn/field-types/*": ["packages/kbn-field-types/*"],
"@kbn/field-utils": ["packages/kbn-field-utils"],
"@kbn/field-utils/*": ["packages/kbn-field-utils/*"],
- "@kbn/fields-metadata-plugin": ["x-pack/plugins/fields_metadata"],
- "@kbn/fields-metadata-plugin/*": ["x-pack/plugins/fields_metadata/*"],
+ "@kbn/fields-metadata-plugin": ["x-pack/platform/plugins/shared/fields_metadata"],
+ "@kbn/fields-metadata-plugin/*": ["x-pack/platform/plugins/shared/fields_metadata/*"],
"@kbn/file-upload-plugin": ["x-pack/plugins/file_upload"],
"@kbn/file-upload-plugin/*": ["x-pack/plugins/file_upload/*"],
"@kbn/files-example-plugin": ["examples/files_example"],
@@ -1068,8 +1068,8 @@
"@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"],
"@kbn/infra-forge": ["x-pack/platform/packages/private/kbn-infra-forge"],
"@kbn/infra-forge/*": ["x-pack/platform/packages/private/kbn-infra-forge/*"],
- "@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"],
- "@kbn/infra-plugin/*": ["x-pack/plugins/observability_solution/infra/*"],
+ "@kbn/infra-plugin": ["x-pack/solutions/observability/plugins/infra"],
+ "@kbn/infra-plugin/*": ["x-pack/solutions/observability/plugins/infra/*"],
"@kbn/ingest-pipelines-plugin": ["x-pack/platform/plugins/shared/ingest_pipelines"],
"@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"],
"@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"],
@@ -1170,12 +1170,12 @@
"@kbn/logging/*": ["packages/kbn-logging/*"],
"@kbn/logging-mocks": ["packages/kbn-logging-mocks"],
"@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"],
- "@kbn/logs-data-access-plugin": ["x-pack/plugins/observability_solution/logs_data_access"],
- "@kbn/logs-data-access-plugin/*": ["x-pack/plugins/observability_solution/logs_data_access/*"],
- "@kbn/logs-explorer-plugin": ["x-pack/plugins/observability_solution/logs_explorer"],
- "@kbn/logs-explorer-plugin/*": ["x-pack/plugins/observability_solution/logs_explorer/*"],
- "@kbn/logs-shared-plugin": ["x-pack/plugins/observability_solution/logs_shared"],
- "@kbn/logs-shared-plugin/*": ["x-pack/plugins/observability_solution/logs_shared/*"],
+ "@kbn/logs-data-access-plugin": ["x-pack/platform/plugins/shared/logs_data_access"],
+ "@kbn/logs-data-access-plugin/*": ["x-pack/platform/plugins/shared/logs_data_access/*"],
+ "@kbn/logs-explorer-plugin": ["x-pack/solutions/observability/plugins/logs_explorer"],
+ "@kbn/logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/logs_explorer/*"],
+ "@kbn/logs-shared-plugin": ["x-pack/platform/plugins/shared/logs_shared"],
+ "@kbn/logs-shared-plugin/*": ["x-pack/platform/plugins/shared/logs_shared/*"],
"@kbn/logstash-plugin": ["x-pack/plugins/logstash"],
"@kbn/logstash-plugin/*": ["x-pack/plugins/logstash/*"],
"@kbn/managed-content-badge": ["packages/kbn-managed-content-badge"],
@@ -1336,14 +1336,14 @@
"@kbn/observability-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/observability/*"],
"@kbn/observability-get-padded-alert-time-range-util": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util"],
"@kbn/observability-get-padded-alert-time-range-util/*": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util/*"],
- "@kbn/observability-logs-explorer-plugin": ["x-pack/plugins/observability_solution/observability_logs_explorer"],
- "@kbn/observability-logs-explorer-plugin/*": ["x-pack/plugins/observability_solution/observability_logs_explorer/*"],
- "@kbn/observability-logs-overview": ["x-pack/packages/observability/logs_overview"],
- "@kbn/observability-logs-overview/*": ["x-pack/packages/observability/logs_overview/*"],
- "@kbn/observability-onboarding-e2e": ["x-pack/plugins/observability_solution/observability_onboarding/e2e"],
- "@kbn/observability-onboarding-e2e/*": ["x-pack/plugins/observability_solution/observability_onboarding/e2e/*"],
- "@kbn/observability-onboarding-plugin": ["x-pack/plugins/observability_solution/observability_onboarding"],
- "@kbn/observability-onboarding-plugin/*": ["x-pack/plugins/observability_solution/observability_onboarding/*"],
+ "@kbn/observability-logs-explorer-plugin": ["x-pack/solutions/observability/plugins/observability_logs_explorer"],
+ "@kbn/observability-logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/observability_logs_explorer/*"],
+ "@kbn/observability-logs-overview": ["x-pack/platform/packages/shared/observability/logs_overview"],
+ "@kbn/observability-logs-overview/*": ["x-pack/platform/packages/shared/observability/logs_overview/*"],
+ "@kbn/observability-onboarding-e2e": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e"],
+ "@kbn/observability-onboarding-e2e/*": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e/*"],
+ "@kbn/observability-onboarding-plugin": ["x-pack/solutions/observability/plugins/observability_onboarding"],
+ "@kbn/observability-onboarding-plugin/*": ["x-pack/solutions/observability/plugins/observability_onboarding/*"],
"@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"],
"@kbn/observability-plugin/*": ["x-pack/solutions/observability/plugins/observability/*"],
"@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"],
@@ -1424,8 +1424,8 @@
"@kbn/random-sampling/*": ["x-pack/packages/kbn-random-sampling/*"],
"@kbn/react-field": ["packages/kbn-react-field"],
"@kbn/react-field/*": ["packages/kbn-react-field/*"],
- "@kbn/react-hooks": ["packages/kbn-react-hooks"],
- "@kbn/react-hooks/*": ["packages/kbn-react-hooks/*"],
+ "@kbn/react-hooks": ["src/platform/packages/shared/kbn-react-hooks"],
+ "@kbn/react-hooks/*": ["src/platform/packages/shared/kbn-react-hooks/*"],
"@kbn/react-kibana-context-common": ["packages/react/kibana_context/common"],
"@kbn/react-kibana-context-common/*": ["packages/react/kibana_context/common/*"],
"@kbn/react-kibana-context-render": ["packages/react/kibana_context/render"],
@@ -1508,8 +1508,8 @@
"@kbn/rollup-plugin/*": ["x-pack/platform/plugins/private/rollup/*"],
"@kbn/router-to-openapispec": ["packages/kbn-router-to-openapispec"],
"@kbn/router-to-openapispec/*": ["packages/kbn-router-to-openapispec/*"],
- "@kbn/router-utils": ["packages/kbn-router-utils"],
- "@kbn/router-utils/*": ["packages/kbn-router-utils/*"],
+ "@kbn/router-utils": ["src/platform/packages/shared/kbn-router-utils"],
+ "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"],
"@kbn/routing-example-plugin": ["examples/routing_example"],
"@kbn/routing-example-plugin/*": ["examples/routing_example/*"],
"@kbn/rrule": ["packages/kbn-rrule"],
@@ -1932,8 +1932,8 @@
"@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/timelines/*"],
"@kbn/timelion-grammar": ["packages/kbn-timelion-grammar"],
"@kbn/timelion-grammar/*": ["packages/kbn-timelion-grammar/*"],
- "@kbn/timerange": ["packages/kbn-timerange"],
- "@kbn/timerange/*": ["packages/kbn-timerange/*"],
+ "@kbn/timerange": ["src/platform/packages/shared/kbn-timerange"],
+ "@kbn/timerange/*": ["src/platform/packages/shared/kbn-timerange/*"],
"@kbn/tinymath": ["packages/kbn-tinymath"],
"@kbn/tinymath/*": ["packages/kbn-tinymath/*"],
"@kbn/tooling-log": ["packages/kbn-tooling-log"],
@@ -2068,8 +2068,8 @@
"@kbn/web-worker-stub/*": ["packages/kbn-web-worker-stub/*"],
"@kbn/whereis-pkg-cli": ["packages/kbn-whereis-pkg-cli"],
"@kbn/whereis-pkg-cli/*": ["packages/kbn-whereis-pkg-cli/*"],
- "@kbn/xstate-utils": ["packages/kbn-xstate-utils"],
- "@kbn/xstate-utils/*": ["packages/kbn-xstate-utils/*"],
+ "@kbn/xstate-utils": ["src/platform/packages/shared/kbn-xstate-utils"],
+ "@kbn/xstate-utils/*": ["src/platform/packages/shared/kbn-xstate-utils/*"],
"@kbn/yarn-lock-validator": ["packages/kbn-yarn-lock-validator"],
"@kbn/yarn-lock-validator/*": ["packages/kbn-yarn-lock-validator/*"],
"@kbn/zod": ["packages/kbn-zod"],
diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json
index c33dd8a1e5ca6..d16d9f150d662 100644
--- a/x-pack/.i18nrc.json
+++ b/x-pack/.i18nrc.json
@@ -30,8 +30,8 @@
],
"xpack.customBranding": "plugins/custom_branding",
"xpack.dashboard": "plugins/dashboard_enhanced",
- "xpack.dataQuality": "plugins/data_quality",
- "xpack.datasetQuality": "plugins/observability_solution/dataset_quality",
+ "xpack.dataQuality": "platform/plugins/shared/data_quality",
+ "xpack.datasetQuality": "platform/plugins/shared/dataset_quality",
"xpack.dataUsage": "platform/plugins/private/data_usage",
"xpack.discover": "plugins/discover_enhanced",
"xpack.crossClusterReplication": "platform/plugins/private/cross_cluster_replication",
@@ -59,10 +59,10 @@
"xpack.idxMgmt": "platform/plugins/shared/index_management",
"xpack.idxMgmtPackage": "packages/index-management",
"xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management",
- "xpack.infra": "plugins/observability_solution/infra",
- "xpack.logsDataAccess": "plugins/observability_solution/logs_data_access",
- "xpack.logsExplorer": "plugins/observability_solution/logs_explorer",
- "xpack.logsShared": "plugins/observability_solution/logs_shared",
+ "xpack.infra": "solutions/observability/plugins/infra",
+ "xpack.logsDataAccess": "platform/plugins/shared/logs_data_access",
+ "xpack.logsExplorer": "solutions/observability/plugins/logs_explorer",
+ "xpack.logsShared": "platform/plugins/shared/logs_shared",
"xpack.fleet": "plugins/fleet",
"xpack.ingestPipelines": "platform/plugins/shared/ingest_pipelines",
"xpack.integrationAssistant": "platform/plugins/shared/integration_assistant",
@@ -106,11 +106,11 @@
"solutions/observability/plugins/observability_ai_assistant_app"
],
"xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management",
- "xpack.observabilityLogsExplorer": "plugins/observability_solution/observability_logs_explorer",
- "xpack.observability_onboarding": "plugins/observability_solution/observability_onboarding",
+ "xpack.observabilityLogsExplorer": "solutions/observability/plugins/observability_logs_explorer",
+ "xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding",
"xpack.observabilityShared": "plugins/observability_solution/observability_shared",
"xpack.observabilityLogsOverview": [
- "packages/observability/logs_overview/src/components"
+ "platform/packages/shared/observability/logs_overview/src/components"
],
"xpack.osquery": [
"platform/plugins/shared/osquery"
diff --git a/x-pack/packages/observability/logs_overview/README.md b/x-pack/platform/packages/shared/observability/logs_overview/README.md
similarity index 100%
rename from x-pack/packages/observability/logs_overview/README.md
rename to x-pack/platform/packages/shared/observability/logs_overview/README.md
diff --git a/x-pack/packages/observability/logs_overview/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/index.ts
diff --git a/x-pack/packages/observability/logs_overview/jest.config.js b/x-pack/platform/packages/shared/observability/logs_overview/jest.config.js
similarity index 72%
rename from x-pack/packages/observability/logs_overview/jest.config.js
rename to x-pack/platform/packages/shared/observability/logs_overview/jest.config.js
index 2ee88ee990253..024fb5ea0b253 100644
--- a/x-pack/packages/observability/logs_overview/jest.config.js
+++ b/x-pack/platform/packages/shared/observability/logs_overview/jest.config.js
@@ -7,6 +7,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/packages/observability/logs_overview'],
+ rootDir: '../../../../../..',
+ roots: ['/x-pack/platform/packages/shared/observability/logs_overview'],
};
diff --git a/x-pack/packages/observability/logs_overview/kibana.jsonc b/x-pack/platform/packages/shared/observability/logs_overview/kibana.jsonc
similarity index 100%
rename from x-pack/packages/observability/logs_overview/kibana.jsonc
rename to x-pack/platform/packages/shared/observability/logs_overview/kibana.jsonc
diff --git a/x-pack/packages/observability/logs_overview/package.json b/x-pack/platform/packages/shared/observability/logs_overview/package.json
similarity index 100%
rename from x-pack/packages/observability/logs_overview/package.json
rename to x-pack/platform/packages/shared/observability/logs_overview/package.json
diff --git a/x-pack/packages/observability/logs_overview/src/components/discover_link/discover_link.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/discover_link.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/discover_link/discover_link.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/discover_link.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/discover_link/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/discover_link/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/index.ts
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/index.ts
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/index.ts
diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/components/shared/log_category_pattern.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/shared/log_category_pattern.tsx
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/components/shared/log_category_pattern.tsx
rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/shared/log_category_pattern.tsx
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/index.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/queries.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/queries.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/queries.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/queries.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/types.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/types.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/types.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/category_details_service.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/category_details_service.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/category_details_service.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/category_details_service.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/index.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/index.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/index.ts
diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/types.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/types.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/types.ts
diff --git a/x-pack/packages/observability/logs_overview/src/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/types.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/types.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/types.ts
diff --git a/x-pack/packages/observability/logs_overview/src/utils/log_category.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/log_category.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/utils/log_category.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/log_category.ts
diff --git a/x-pack/packages/observability/logs_overview/src/utils/logs_source.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/utils/logs_source.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts
diff --git a/x-pack/packages/observability/logs_overview/src/utils/xstate5_utils.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/xstate5_utils.ts
similarity index 100%
rename from x-pack/packages/observability/logs_overview/src/utils/xstate5_utils.ts
rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/xstate5_utils.ts
diff --git a/x-pack/packages/observability/logs_overview/tsconfig.json b/x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json
similarity index 94%
rename from x-pack/packages/observability/logs_overview/tsconfig.json
rename to x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json
index 610ef8cc0126e..6e645a96df662 100644
--- a/x-pack/packages/observability/logs_overview/tsconfig.json
+++ b/x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/x-pack/plugins/data_quality/README.md b/x-pack/platform/plugins/shared/data_quality/README.md
similarity index 100%
rename from x-pack/plugins/data_quality/README.md
rename to x-pack/platform/plugins/shared/data_quality/README.md
diff --git a/x-pack/plugins/data_quality/common/index.ts b/x-pack/platform/plugins/shared/data_quality/common/index.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/index.ts
rename to x-pack/platform/plugins/shared/data_quality/common/index.ts
diff --git a/x-pack/plugins/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts
diff --git a/x-pack/plugins/data_quality/common/locators/construct_dataset_quality_locator_path.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_locator_path.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/construct_dataset_quality_locator_path.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_locator_path.ts
diff --git a/x-pack/plugins/data_quality/common/locators/dataset_quality_details_locator.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_details_locator.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/dataset_quality_details_locator.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_details_locator.ts
diff --git a/x-pack/plugins/data_quality/common/locators/dataset_quality_locator.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_locator.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/dataset_quality_locator.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_locator.ts
diff --git a/x-pack/plugins/data_quality/common/locators/index.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/index.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/index.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/index.ts
diff --git a/x-pack/plugins/data_quality/common/locators/locators.test.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/locators.test.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/locators.test.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/locators.test.ts
diff --git a/x-pack/plugins/data_quality/common/locators/types.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/types.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/locators/types.ts
rename to x-pack/platform/plugins/shared/data_quality/common/locators/types.ts
diff --git a/x-pack/plugins/data_quality/common/url_schema/common.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/common.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/url_schema/common.ts
rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/common.ts
diff --git a/x-pack/plugins/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts
rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts
diff --git a/x-pack/plugins/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts
rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts
diff --git a/x-pack/plugins/data_quality/common/url_schema/index.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/index.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/url_schema/index.ts
rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/index.ts
diff --git a/x-pack/plugins/data_quality/common/utils/deep_compact_object.ts b/x-pack/platform/plugins/shared/data_quality/common/utils/deep_compact_object.ts
similarity index 100%
rename from x-pack/plugins/data_quality/common/utils/deep_compact_object.ts
rename to x-pack/platform/plugins/shared/data_quality/common/utils/deep_compact_object.ts
diff --git a/x-pack/plugins/data_quality/jest.config.js b/x-pack/platform/plugins/shared/data_quality/jest.config.js
similarity index 67%
rename from x-pack/plugins/data_quality/jest.config.js
rename to x-pack/platform/plugins/shared/data_quality/jest.config.js
index 15d8fe2f33986..fecaf2727c255 100644
--- a/x-pack/plugins/data_quality/jest.config.js
+++ b/x-pack/platform/plugins/shared/data_quality/jest.config.js
@@ -7,9 +7,10 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/data_quality'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_quality',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/data_quality'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/data_quality',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['/x-pack/plugins/datas_quality/{common,public}/**/*.{ts,tsx}'],
};
diff --git a/x-pack/plugins/data_quality/kibana.jsonc b/x-pack/platform/plugins/shared/data_quality/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/data_quality/kibana.jsonc
rename to x-pack/platform/plugins/shared/data_quality/kibana.jsonc
diff --git a/x-pack/plugins/data_quality/public/application.tsx b/x-pack/platform/plugins/shared/data_quality/public/application.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/application.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/application.tsx
diff --git a/x-pack/plugins/data_quality/public/index.ts b/x-pack/platform/plugins/shared/data_quality/public/index.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/index.ts
rename to x-pack/platform/plugins/shared/data_quality/public/index.ts
diff --git a/x-pack/plugins/data_quality/public/plugin.ts b/x-pack/platform/plugins/shared/data_quality/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/plugin.ts
rename to x-pack/platform/plugins/shared/data_quality/public/plugin.ts
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/context.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/context.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality/context.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/context.tsx
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/index.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality/index.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/index.tsx
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality/url_schema_v1.ts
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_schema_v1.ts
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/url_state_storage_service.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality/url_state_storage_service.ts
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_state_storage_service.ts
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/context.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/context.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/context.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/context.tsx
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/index.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/index.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/index.tsx
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts
diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts
rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts
diff --git a/x-pack/plugins/data_quality/public/routes/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/index.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/routes/index.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/routes/index.tsx
diff --git a/x-pack/plugins/data_quality/public/types.ts b/x-pack/platform/plugins/shared/data_quality/public/types.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/types.ts
rename to x-pack/platform/plugins/shared/data_quality/public/types.ts
diff --git a/x-pack/plugins/data_quality/public/utils/kbn_url_state_context.ts b/x-pack/platform/plugins/shared/data_quality/public/utils/kbn_url_state_context.ts
similarity index 100%
rename from x-pack/plugins/data_quality/public/utils/kbn_url_state_context.ts
rename to x-pack/platform/plugins/shared/data_quality/public/utils/kbn_url_state_context.ts
diff --git a/x-pack/plugins/data_quality/public/utils/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/data_quality/public/utils/use_breadcrumbs.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/utils/use_breadcrumbs.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/utils/use_breadcrumbs.tsx
diff --git a/x-pack/plugins/data_quality/public/utils/use_kibana.tsx b/x-pack/platform/plugins/shared/data_quality/public/utils/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/data_quality/public/utils/use_kibana.tsx
rename to x-pack/platform/plugins/shared/data_quality/public/utils/use_kibana.tsx
diff --git a/x-pack/plugins/data_quality/server/features.ts b/x-pack/platform/plugins/shared/data_quality/server/features.ts
similarity index 100%
rename from x-pack/plugins/data_quality/server/features.ts
rename to x-pack/platform/plugins/shared/data_quality/server/features.ts
diff --git a/x-pack/plugins/data_quality/server/index.ts b/x-pack/platform/plugins/shared/data_quality/server/index.ts
similarity index 100%
rename from x-pack/plugins/data_quality/server/index.ts
rename to x-pack/platform/plugins/shared/data_quality/server/index.ts
diff --git a/x-pack/plugins/data_quality/server/plugin.ts b/x-pack/platform/plugins/shared/data_quality/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/data_quality/server/plugin.ts
rename to x-pack/platform/plugins/shared/data_quality/server/plugin.ts
diff --git a/x-pack/plugins/data_quality/server/types.ts b/x-pack/platform/plugins/shared/data_quality/server/types.ts
similarity index 100%
rename from x-pack/plugins/data_quality/server/types.ts
rename to x-pack/platform/plugins/shared/data_quality/server/types.ts
diff --git a/x-pack/plugins/data_quality/tsconfig.json b/x-pack/platform/plugins/shared/data_quality/tsconfig.json
similarity index 89%
rename from x-pack/plugins/data_quality/tsconfig.json
rename to x-pack/platform/plugins/shared/data_quality/tsconfig.json
index a3f04f88ec7ff..e32e6e50f59da 100644
--- a/x-pack/plugins/data_quality/tsconfig.json
+++ b/x-pack/platform/plugins/shared/data_quality/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
@@ -8,7 +8,7 @@
"common/**/*",
"public/**/*",
"server/**/*",
- "../../../typings/**/*"
+ "../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/observability_solution/dataset_quality/README.md b/x-pack/platform/plugins/shared/dataset_quality/README.md
similarity index 88%
rename from x-pack/plugins/observability_solution/dataset_quality/README.md
rename to x-pack/platform/plugins/shared/dataset_quality/README.md
index 45883f6964cc8..59664f480a714 100755
--- a/x-pack/plugins/observability_solution/dataset_quality/README.md
+++ b/x-pack/platform/plugins/shared/dataset_quality/README.md
@@ -9,13 +9,13 @@ In order to make ongoing maintenance of log collection easy we want to introduce
Kibana primarily uses Jest for unit testing. Each plugin or package defines a `jest.config.js` that extends a preset provided by the `@kbn/test` package. The following command runs all Data Set Quality unit tests:
```
-yarn jest --config x-pack/plugins/observability_solution/dataset_quality/jest.config.js
+yarn jest --config x-pack/platform/plugins/shared/dataset_quality/jest.config.js
```
You can also run a specific test by passing the filepath as an argument, e.g.:
```
-yarn jest --config x-pack/plugins/observability_solution/dataset_quality/jest.config.js x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts
+yarn jest --config x-pack/platform/plugins/shared/dataset_quality/jest.config.js x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts
```
### Deployment-agnostic API tests
@@ -58,7 +58,7 @@ The API tests are located in [`x-pack/test/dataset_quality_api_integration/`](/x
#### Start server and run test (single process)
```
-node x-pack/plugins/observability_solution/dataset_quality/scripts/api [--help]
+node x-pack/platform/plugins/shared/dataset_quality/scripts/api [--help]
```
The above command will start an ES instance on http://localhost:9220, a Kibana instance on http://localhost:5620 and run the api tests.
@@ -68,10 +68,10 @@ Once the tests finish, the instances will be terminated.
```sh
# start server
-node x-pack/plugins/observability_solution/dataset_quality/scripts/api --server
+node x-pack/platform/plugins/shared/dataset_quality/scripts/api --server
# run tests
-node x-pack/plugins/observability_solution/dataset_quality/scripts/api --runner --grep-files=data_stream_settings.spec.ts
+node x-pack/platform/plugins/shared/dataset_quality/scripts/api --runner --grep-files=data_stream_settings.spec.ts
```
### Using dockerized package registry
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/api_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/api_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/api_types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/api_types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/constants.ts b/x-pack/platform/plugins/shared/dataset_quality/common/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/constants.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/constants.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/data_stream_stat.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/data_stream_stat.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/data_stream_stat.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/data_stream_stat.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/integration.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/integration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/integration.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/integration.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/errors.ts b/x-pack/platform/plugins/shared/dataset_quality/common/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/errors.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/errors.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/es_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/es_fields/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/es_fields/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/es_fields/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/fetch_options.ts b/x-pack/platform/plugins/shared/dataset_quality/common/fetch_options.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/fetch_options.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/fetch_options.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/plugin_config.ts b/x-pack/platform/plugins/shared/dataset_quality/common/plugin_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/plugin_config.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/plugin_config.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/call_api.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/call_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/call_api.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/call_api.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/translations.ts b/x-pack/platform/plugins/shared/dataset_quality/common/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/translations.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/translations.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/common.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/types/common.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/types/common.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/dataset_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/dataset_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/types/dataset_types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/types/dataset_types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/types/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/types/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/quality_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/quality_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/types/quality_types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/types/quality_types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/component_template_name.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/component_template_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/component_template_name.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/component_template_name.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.test.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/quality_helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/quality_helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/quality_helpers.ts
rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/quality_helpers.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/jest.config.js b/x-pack/platform/plugins/shared/dataset_quality/jest.config.js
similarity index 56%
rename from x-pack/plugins/observability_solution/logs_explorer/jest.config.js
rename to x-pack/platform/plugins/shared/dataset_quality/jest.config.js
index 474325ddb00f4..5776eef45a9aa 100644
--- a/x-pack/plugins/observability_solution/logs_explorer/jest.config.js
+++ b/x-pack/platform/plugins/shared/dataset_quality/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/plugins/observability_solution/logs_explorer'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/dataset_quality'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/logs_explorer',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dataset_quality',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/observability_solution/logs_explorer/{common,public}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/shared/dataset_quality/{common,public}/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/observability_solution/dataset_quality/kibana.jsonc b/x-pack/platform/plugins/shared/dataset_quality/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/kibana.jsonc
rename to x-pack/platform/plugins/shared/dataset_quality/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/descriptive_switch.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/descriptive_switch.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/descriptive_switch.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/descriptive_switch.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/insufficient_privileges.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/insufficient_privileges.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/insufficient_privileges.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/insufficient_privileges.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/integration_icon.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/integration_icon.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/integration_icon.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/integration_icon.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/spark_plot.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/spark_plot.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/spark_plot.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/spark_plot.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/vertical_rule.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/vertical_rule.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/vertical_rule.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/vertical_rule.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/context.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/context.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/context.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/dataset_quality.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/dataset_quality.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/dataset_quality.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/dataset_quality.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filters.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filters.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filters.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filters.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/selector.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/selector.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/header.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/header.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/columns.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/columns.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/table.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/table.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/context.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/context.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/context.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/header.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/header.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/header.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/header.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/header.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/header.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/helpers.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/helpers.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/indicator.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/indicator.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/create_controller.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/create_controller.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/public_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/public_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/public_state.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/public_state.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/create_controller.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/create_controller.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/public_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/public_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/public_state.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/public_state.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_create_dataview.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_create_dataview.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_create_dataview.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_create_dataview.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_details_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_details_telemetry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_details_telemetry.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_details_telemetry.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_details_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_details_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_details_state.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_details_state.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_filters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_filters.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_table.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_table.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_warnings.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_warnings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_warnings.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_warnings.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_telemetry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_telemetry.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_telemetry.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_docs_chart.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_docs_chart.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_docs_chart.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_docs_chart.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_fields.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_fields.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_fields.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_fields.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_empty_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_empty_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_empty_state.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_empty_state.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_integration_actions.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_integration_actions.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_integration_actions.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_integration_actions.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_overview_summary_panel.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_overview_summary_panel.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_overview_summary_panel.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_overview_summary_panel.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link_telemetry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link_telemetry.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link_telemetry.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_summary_panel.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_summary_panel.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_summary_panel.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_summary_panel.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/icons/logging.svg b/x-pack/platform/plugins/shared/dataset_quality/public/icons/logging.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/icons/logging.svg
rename to x-pack/platform/plugins/shared/dataset_quality/public/icons/logging.svg
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/plugin.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/plugin.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/plugin.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/plugin.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_events.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_events.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_events.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/common/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/common/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/common/notifications.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/common/notifications.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/filter_inactive_datasets.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/filter_inactive_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/filter_inactive_datasets.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/filter_inactive_datasets.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/flatten_stats.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/flatten_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/flatten_stats.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/flatten_stats.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.test.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/use_kibana.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/utils/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/use_kibana.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/use_kibana.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/use_quick_time_ranges.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/utils/use_quick_time_ranges.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/use_quick_time_ranges.tsx
rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/use_quick_time_ranges.tsx
diff --git a/x-pack/plugins/observability_solution/dataset_quality/scripts/api.js b/x-pack/platform/plugins/shared/dataset_quality/scripts/api.js
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/scripts/api.js
rename to x-pack/platform/plugins/shared/dataset_quality/scripts/api.js
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/plugin.ts b/x-pack/platform/plugins/shared/dataset_quality/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/plugin.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/create_datasets_quality_server_route.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/create_datasets_quality_server_route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/create_datasets_quality_server_route.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/create_datasets_quality_server_route.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_docs.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_docs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_docs.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_docs.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/routes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/routes.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/routes.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integration_dashboards.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integration_dashboards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integration_dashboards.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integration_dashboards.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integrations.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integrations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integrations.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integrations.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/routes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/routes.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/routes.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/register_routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/register_routes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/register_routes.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/register_routes.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_stream.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_stream.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_stream.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_stream.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/constants.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/constants.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/constants.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/helpers.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/helpers.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/register_collector.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/register_collector.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/register_collector.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/register_collector.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/index_stats.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/index_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/index_stats.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/index_stats.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/privileges.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/privileges.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/services/privileges.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/services/privileges.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/types/default_api_types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/types/default_api_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/types/default_api_types.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/types/default_api_types.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/create_dataset_quality_es_client.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/create_dataset_quality_es_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/create_dataset_quality_es_client.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/create_dataset_quality_es_client.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/index.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/queries.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/queries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/queries.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/queries.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.test.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.test.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/to_boolean.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/to_boolean.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/to_boolean.ts
rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/to_boolean.ts
diff --git a/x-pack/plugins/observability_solution/dataset_quality/tsconfig.json b/x-pack/platform/plugins/shared/dataset_quality/tsconfig.json
similarity index 95%
rename from x-pack/plugins/observability_solution/dataset_quality/tsconfig.json
rename to x-pack/platform/plugins/shared/dataset_quality/tsconfig.json
index b50a65aa83c4b..1db6f18d1a9c9 100644
--- a/x-pack/plugins/observability_solution/dataset_quality/tsconfig.json
+++ b/x-pack/platform/plugins/shared/dataset_quality/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
@@ -7,7 +7,7 @@
"common/**/*",
"public/**/*",
"server/**/*",
- "../../../../typings/**/*"
+ "../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/fields_metadata/README.md b/x-pack/platform/plugins/shared/fields_metadata/README.md
similarity index 100%
rename from x-pack/plugins/fields_metadata/README.md
rename to x-pack/platform/plugins/shared/fields_metadata/README.md
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/common.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/common.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/common.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/common.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/errors.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/errors.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/errors.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/errors.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/index.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts
diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/v1/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/fields_metadata/v1/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/index.ts
diff --git a/x-pack/plugins/fields_metadata/common/hashed_cache.ts b/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/hashed_cache.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts
diff --git a/x-pack/plugins/fields_metadata/common/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/index.ts
diff --git a/x-pack/plugins/fields_metadata/common/latest.ts b/x-pack/platform/plugins/shared/fields_metadata/common/latest.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/latest.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/latest.ts
diff --git a/x-pack/plugins/fields_metadata/common/metadata_fields.ts b/x-pack/platform/plugins/shared/fields_metadata/common/metadata_fields.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/metadata_fields.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/metadata_fields.ts
diff --git a/x-pack/plugins/fields_metadata/common/runtime_types.ts b/x-pack/platform/plugins/shared/fields_metadata/common/runtime_types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/common/runtime_types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/common/runtime_types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/jest.config.js b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js
similarity index 56%
rename from x-pack/plugins/observability_solution/logs_shared/jest.config.js
rename to x-pack/platform/plugins/shared/fields_metadata/jest.config.js
index 2e3869ccf0573..aec85a0338bb6 100644
--- a/x-pack/plugins/observability_solution/logs_shared/jest.config.js
+++ b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/plugins/observability_solution/logs_shared'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/fields_metadata'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/logs_shared',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fields_metadata',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/observability_solution/logs_shared/{common,public,server}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/shared/fields_metadata/{common,public,server}/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/fields_metadata/kibana.jsonc b/x-pack/platform/plugins/shared/fields_metadata/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/fields_metadata/kibana.jsonc
rename to x-pack/platform/plugins/shared/fields_metadata/kibana.jsonc
diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/index.ts
diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts
diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts
diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts
diff --git a/x-pack/plugins/fields_metadata/public/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/index.ts
diff --git a/x-pack/plugins/fields_metadata/public/mocks.tsx b/x-pack/platform/plugins/shared/fields_metadata/public/mocks.tsx
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/mocks.tsx
rename to x-pack/platform/plugins/shared/fields_metadata/public/mocks.tsx
diff --git a/x-pack/plugins/fields_metadata/public/plugin.ts b/x-pack/platform/plugins/shared/fields_metadata/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/plugin.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/plugin.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/index.ts
diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/types.ts
diff --git a/x-pack/plugins/fields_metadata/public/types.ts b/x-pack/platform/plugins/shared/fields_metadata/public/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/public/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/public/types.ts
diff --git a/x-pack/plugins/fields_metadata/server/fields_metadata_server.ts b/x-pack/platform/plugins/shared/fields_metadata/server/fields_metadata_server.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/fields_metadata_server.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/fields_metadata_server.ts
diff --git a/x-pack/plugins/fields_metadata/server/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/index.ts
diff --git a/x-pack/plugins/fields_metadata/server/lib/shared_types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/lib/shared_types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/lib/shared_types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/lib/shared_types.ts
diff --git a/x-pack/plugins/fields_metadata/server/mocks.ts b/x-pack/platform/plugins/shared/fields_metadata/server/mocks.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/mocks.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/mocks.ts
diff --git a/x-pack/plugins/fields_metadata/server/plugin.ts b/x-pack/platform/plugins/shared/fields_metadata/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/plugin.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/plugin.ts
diff --git a/x-pack/plugins/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts
diff --git a/x-pack/plugins/fields_metadata/server/routes/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/routes/fields_metadata/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/index.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/errors.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/errors.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/errors.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/errors.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/index.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/index.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts
diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts
diff --git a/x-pack/plugins/fields_metadata/server/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/types.ts
similarity index 100%
rename from x-pack/plugins/fields_metadata/server/types.ts
rename to x-pack/platform/plugins/shared/fields_metadata/server/types.ts
diff --git a/x-pack/plugins/fields_metadata/tsconfig.json b/x-pack/platform/plugins/shared/fields_metadata/tsconfig.json
similarity index 81%
rename from x-pack/plugins/fields_metadata/tsconfig.json
rename to x-pack/platform/plugins/shared/fields_metadata/tsconfig.json
index 91fc85b3024ea..3553201027f60 100644
--- a/x-pack/plugins/fields_metadata/tsconfig.json
+++ b/x-pack/platform/plugins/shared/fields_metadata/tsconfig.json
@@ -1,10 +1,10 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
diff --git a/x-pack/plugins/observability_solution/logs_data_access/README.md b/x-pack/platform/plugins/shared/logs_data_access/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/README.md
rename to x-pack/platform/plugins/shared/logs_data_access/README.md
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/constants.ts b/x-pack/platform/plugins/shared/logs_data_access/common/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/constants.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/constants.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/types.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/types.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/utils.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/utils.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/utils.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/types.ts b/x-pack/platform/plugins/shared/logs_data_access/common/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/types.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/ui_settings.ts b/x-pack/platform/plugins/shared/logs_data_access/common/ui_settings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/common/ui_settings.ts
rename to x-pack/platform/plugins/shared/logs_data_access/common/ui_settings.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/jest.config.js b/x-pack/platform/plugins/shared/logs_data_access/jest.config.js
similarity index 71%
rename from x-pack/plugins/observability_solution/logs_data_access/jest.config.js
rename to x-pack/platform/plugins/shared/logs_data_access/jest.config.js
index 08c16628e15ca..17405183fbaa1 100644
--- a/x-pack/plugins/observability_solution/logs_data_access/jest.config.js
+++ b/x-pack/platform/plugins/shared/logs_data_access/jest.config.js
@@ -9,6 +9,6 @@ const path = require('path');
module.exports = {
preset: '@kbn/test',
- rootDir: path.resolve(__dirname, '../../../..'),
- roots: ['/x-pack/plugins/observability_solution/logs_data_access'],
+ rootDir: path.resolve(__dirname, '../../../../..'),
+ roots: ['/x-pack/platform/plugins/shared/logs_data_access'],
};
diff --git a/x-pack/plugins/observability_solution/logs_data_access/kibana.jsonc b/x-pack/platform/plugins/shared/logs_data_access/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/kibana.jsonc
rename to x-pack/platform/plugins/shared/logs_data_access/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx b/x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx
rename to x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts b/x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/index.ts b/x-pack/platform/plugins/shared/logs_data_access/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts b/x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/services/log_sources_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/public/services/log_sources_service/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/services/log_sources_service/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/services/log_sources_service/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/services/register_services.ts b/x-pack/platform/plugins/shared/logs_data_access/public/services/register_services.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/services/register_services.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/services/register_services.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/types.ts b/x-pack/platform/plugins/shared/logs_data_access/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/public/types.ts
rename to x-pack/platform/plugins/shared/logs_data_access/public/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/es_fields.ts b/x-pack/platform/plugins/shared/logs_data_access/server/es_fields.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/es_fields.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/es_fields.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts b/x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/log_sources_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/log_sources_service/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/services/log_sources_service/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/services/log_sources_service/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/register_services.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/register_services.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/services/register_services.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/services/register_services.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/types.ts b/x-pack/platform/plugins/shared/logs_data_access/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/types.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/es_queries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/es_queries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/es_queries.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/es_queries.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/index.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/utils.test.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/utils.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/utils.test.ts
rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/utils.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_data_access/tsconfig.json b/x-pack/platform/plugins/shared/logs_data_access/tsconfig.json
similarity index 93%
rename from x-pack/plugins/observability_solution/logs_data_access/tsconfig.json
rename to x-pack/platform/plugins/shared/logs_data_access/tsconfig.json
index ff67c2f1c8f30..f9520dd8528a8 100644
--- a/x-pack/plugins/observability_solution/logs_data_access/tsconfig.json
+++ b/x-pack/platform/plugins/shared/logs_data_access/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
diff --git a/x-pack/plugins/observability_solution/logs_shared/README.md b/x-pack/platform/plugins/shared/logs_shared/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/README.md
rename to x-pack/platform/plugins/shared/logs_shared/README.md
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/constants.ts b/x-pack/platform/plugins/shared/logs_shared/common/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/constants.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts b/x-pack/platform/plugins/shared/logs_shared/common/formatters/datetime.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/formatters/datetime.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/deprecations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/deprecations/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/deprecations/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/latest.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/latest.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/latest.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/latest.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/common.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/common.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/common.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/get_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/get_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/get_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/get_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/put_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/put_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/put_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/put_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/index.ts
similarity index 97%
rename from x-pack/plugins/observability_solution/logs_shared/common/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/index.ts
index 0789f2f88e113..d05a52e90f419 100644
--- a/x-pack/plugins/observability_solution/logs_shared/common/index.ts
+++ b/x-pack/platform/plugins/shared/logs_shared/common/index.ts
@@ -43,7 +43,6 @@ export {
ResolveLogViewError,
} from './log_views/errors';
-// eslint-disable-next-line @kbn/eslint/no_export_all
export * from './log_entry';
export { convertISODateToNanoPrecision } from './utils';
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/logs_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/logs_locator.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/logs_locator.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/node_logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/node_logs_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/node_logs_locator.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/node_logs_locator.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_range.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/time_range.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/time/time_range.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/time_range.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/trace_logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/trace_logs_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/trace_logs_locator.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/trace_logs_locator.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/log_text_scale.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/log_text_scale.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/log_view.mock.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/log_view.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/log_view.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/log_view.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.mock.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/mocks.ts b/x-pack/platform/plugins/shared/logs_shared/common/mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/mocks.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/mocks.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/plugin_config.ts b/x-pack/platform/plugins/shared/logs_shared/common/plugin_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/plugin_config.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/plugin_config.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/runtime_types.ts b/x-pack/platform/plugins/shared/logs_shared/common/runtime_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/runtime_types.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/runtime_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/common/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/common/errors.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entries.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entries.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entries.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entry.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/time/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/time/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/time/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/time/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/time/time_key.ts b/x-pack/platform/plugins/shared/logs_shared/common/time/time_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/time/time_key.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/time/time_key.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/typed_json.ts b/x-pack/platform/plugins/shared/logs_shared/common/typed_json.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/typed_json.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/typed_json.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.test.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/utils/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/common/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/emotion.d.ts b/x-pack/platform/plugins/shared/logs_shared/emotion.d.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/emotion.d.ts
rename to x-pack/platform/plugins/shared/logs_shared/emotion.d.ts
diff --git a/x-pack/plugins/observability_solution/infra/jest.config.js b/x-pack/platform/plugins/shared/logs_shared/jest.config.js
similarity index 58%
rename from x-pack/plugins/observability_solution/infra/jest.config.js
rename to x-pack/platform/plugins/shared/logs_shared/jest.config.js
index 817a1f600b836..9d3e6d67cfc4b 100644
--- a/x-pack/plugins/observability_solution/infra/jest.config.js
+++ b/x-pack/platform/plugins/shared/logs_shared/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/plugins/observability_solution/infra'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/logs_shared'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/infra',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/logs_shared',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/observability_solution/infra/{common,public,server}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/shared/logs_shared/{common,public,server}/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/observability_solution/logs_shared/kibana.jsonc b/x-pack/platform/plugins/shared/logs_shared/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/kibana.jsonc
rename to x-pack/platform/plugins/shared/logs_shared/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/auto_sizer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/auto_sizer.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/centered_flyout_body.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/centered_flyout_body.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/centered_flyout_body.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/centered_flyout_body.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.stories.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.stories.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.stories.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.stories.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/index.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/index.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/no_data.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/no_data.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/no_data.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/no_data.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/formatted_time.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/formatted_time.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/formatted_time.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/formatted_time.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/loading/__examples__/index.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/loading/__examples__/index.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/loading/__examples__/index.stories.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/loading/__examples__/index.stories.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/loading/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/loading/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/loading/index.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/loading/index.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/index.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/index.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/translations.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/translations.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/translations.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx
similarity index 99%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx
index 0cbc0a03f9184..64a6e1d9919a1 100644
--- a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx
+++ b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx
@@ -9,7 +9,7 @@ The purpose of this component is to allow you, the developer, to have your very
The component is exposed through `logs_shared/public`. Since Kibana uses relative paths, it is up to you to find how to import it (sorry).
```tsx
-import { LogStream } from '../../../../../../logs_shared/public';
+import { LogStream } from '../../../../../../../logs_shared/public';
// ^^ Modify appropriately
```
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/index.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/index.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/field_value.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/field_value.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/field_value.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/field_value.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/highlighting.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/highlighting.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/highlighting.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/highlighting.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/text_styles.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/text_styles.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/text_styles.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/text_styles.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/index.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/index.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.mock.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.mock.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.mock.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.mock.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/open_in_logs_explorer_button.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/open_in_logs_explorer_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/open_in_logs_explorer_button.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/open_in_logs_explorer_button.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/resettable_error_boundary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/resettable_error_boundary.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/resettable_error_boundary.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/components/resettable_error_boundary.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_entry.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/bucket_size.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/bucket_size.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/bucket_size.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/bucket_size.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/hooks/use_kibana.tsx b/x-pack/platform/plugins/shared/logs_shared/public/hooks/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/hooks/use_kibana.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/hooks/use_kibana.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/mocks.tsx b/x-pack/platform/plugins/shared/logs_shared/public/mocks.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/mocks.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/mocks.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/README.md b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/README.md
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/README.md
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/notifications.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/notifications.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/notifications.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/README.md
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/plugin.tsx b/x-pack/platform/plugins/shared/logs_shared/public/plugin.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/plugin.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/plugin.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.mock.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.mock.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/test_utils/entries.ts b/x-pack/platform/plugins/shared/logs_shared/public/test_utils/entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/test_utils/entries.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/test_utils/entries.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx b/x-pack/platform/plugins/shared/logs_shared/public/test_utils/use_global_storybook_theme.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/test_utils/use_global_storybook_theme.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/data_search.stories.mdx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/data_search.stories.mdx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/flatten_data_search_response.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/flatten_data_search_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/flatten_data_search_response.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/flatten_data_search_response.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/normalize_data_search_responses.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/normalize_data_search_responses.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_response_state.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_response_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_response_state.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_response_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/datemath.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/datemath.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/datemath.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/datemath.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/dev_mode.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/dev_mode.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/dev_mode.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/dev_mode.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/handlers.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/handlers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/handlers.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/handlers.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_column_render_configuration.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_column_render_configuration.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_column_render_configuration.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_column_render_configuration.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry_highlight.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry_highlight.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry_highlight.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry_highlight.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/typed_react.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/typed_react.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/typed_react.tsx
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/typed_react.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_query_settings.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_query_settings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_query_settings.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_query_settings.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_ui_setting.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_ui_setting.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_ui_setting.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_ui_setting.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_observable.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_observable.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_observable.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_observable.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_tracked_promise.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_tracked_promise.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_tracked_promise.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_tracked_promise.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_ui_tracker.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_ui_tracker.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_ui_tracker.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_ui_tracker.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_visibility_state.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_visibility_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_visibility_state.ts
rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_visibility_state.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/config.ts b/x-pack/platform/plugins/shared/logs_shared/server/config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/config.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/config.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/constants.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/constants.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/constants.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/log_sources_setting.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/log_sources_setting.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/log_sources_setting.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/log_sources_setting.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/feature_flags.ts b/x-pack/platform/plugins/shared/logs_shared/server/feature_flags.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/feature_flags.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/feature_flags.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/adapter_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/adapter_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/adapter_types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/adapter_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/logs_shared_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/logs_shared_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/logs_shared_types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/lib/logs_shared_types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/logs_shared_server.ts b/x-pack/platform/plugins/shared/logs_shared/server/logs_shared_server.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/logs_shared_server.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/logs_shared_server.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/mocks.ts b/x-pack/platform/plugins/shared/logs_shared/server/mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/mocks.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/mocks.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/plugin.ts b/x-pack/platform/plugins/shared/logs_shared/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/plugin.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/highlights.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary_highlights.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary_highlights.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary_highlights.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/get_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/get_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/get_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/get_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/put_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/put_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/put_log_view.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/put_log_view.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/log_indices.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/log_indices.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/log_indices.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/log_indices.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_service.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_service.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/message.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/message.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/message.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/message.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/rule_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/rule_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/rule_types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/rule_types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/common.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/common.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/common.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entries.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entries.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entries.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entry.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/errors.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/errors.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/errors.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/index.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.test.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.mock.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/elasticsearch_runtime_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/elasticsearch_runtime_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/utils/elasticsearch_runtime_types.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/utils/elasticsearch_runtime_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/serialized_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/utils/serialized_query.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/typed_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/typed_search_strategy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/utils/typed_search_strategy.ts
rename to x-pack/platform/plugins/shared/logs_shared/server/utils/typed_search_strategy.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/tsconfig.json b/x-pack/platform/plugins/shared/logs_shared/tsconfig.json
similarity index 94%
rename from x-pack/plugins/observability_solution/logs_shared/tsconfig.json
rename to x-pack/platform/plugins/shared/logs_shared/tsconfig.json
index 1892e6b4e2dca..63a176154b4ea 100644
--- a/x-pack/plugins/observability_solution/logs_shared/tsconfig.json
+++ b/x-pack/platform/plugins/shared/logs_shared/tsconfig.json
@@ -1,10 +1,10 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
- "../../../../typings/**/*",
+ "../../../../../typings/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/plugins/enterprise_search/server/plugin.ts
index 1d4ba5e6dfd1f..3cd0cb9d060b0 100644
--- a/x-pack/plugins/enterprise_search/server/plugin.ts
+++ b/x-pack/plugins/enterprise_search/server/plugin.ts
@@ -338,7 +338,7 @@ export class EnterpriseSearchPlugin implements Plugin {
/*
* Register logs source configuration, used by LogStream components
- * @see https://github.com/elastic/kibana/blob/main/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx#with-a-source-configuration
+ * @see https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx#with-a-source-configuration
*/
logsShared.logViews.defineInternalLogView(ENTERPRISE_SEARCH_RELEVANCE_LOGS_SOURCE_ID, {
logIndices: {
diff --git a/x-pack/plugins/fields_metadata/jest.config.js b/x-pack/plugins/fields_metadata/jest.config.js
deleted file mode 100644
index 3c1d51b335696..0000000000000
--- a/x-pack/plugins/fields_metadata/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/fields_metadata'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/fields_metadata',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/fields_metadata/{common,public,server}/**/*.{ts,tsx}',
- ],
-};
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/jest.config.js b/x-pack/plugins/observability_solution/observability_logs_explorer/jest.config.js
deleted file mode 100644
index 710181b10939f..0000000000000
--- a/x-pack/plugins/observability_solution/observability_logs_explorer/jest.config.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; you may not use this file except in compliance with the Elastic License
- * 2.0.
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/plugins/observability_solution/observability_logs_explorer'],
- coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/observability_logs_explorer',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/observability_solution/observability_logs_explorer/{common,public}/**/*.{ts,tsx}',
- ],
-};
diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json
index 4b60ca1da8d6b..ad6d7bf795baa 100644
--- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json
+++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json
@@ -1,5 +1,29 @@
{
"properties": {
+ "infraops": {
+ "properties": {
+ "last_24_hours": {
+ "properties": {
+ "hits": {
+ "properties": {
+ "infraops_hosts": {
+ "type": "long"
+ },
+ "infraops_docker": {
+ "type": "long"
+ },
+ "infraops_kubernetes": {
+ "type": "long"
+ },
+ "logs": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"investigation": {
"properties": {
"investigation": {
diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json
index c5371a8815aef..306015015186c 100644
--- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json
+++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json
@@ -1,5 +1,147 @@
{
"properties": {
+ "logs_data": {
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "properties": {
+ "pattern_name": {
+ "type": "keyword",
+ "_meta": {
+ "description": "Logs pattern name representing the stream of logs"
+ }
+ },
+ "shipper": {
+ "type": "keyword",
+ "_meta": {
+ "description": "Shipper if present, sending the logs"
+ }
+ },
+ "doc_count": {
+ "type": "long",
+ "_meta": {
+ "description": "Total number of documents in the steam of logs"
+ }
+ },
+ "structure_level": {
+ "properties": {
+ "0": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 0"
+ }
+ },
+ "1": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 1"
+ }
+ },
+ "2": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 2"
+ }
+ },
+ "3": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 3"
+ }
+ },
+ "4": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 4"
+ }
+ },
+ "5": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 5"
+ }
+ },
+ "6": {
+ "type": "long",
+ "_meta": {
+ "description": "Total docs at structure level 6"
+ }
+ }
+ }
+ },
+ "failure_store_doc_count": {
+ "type": "long",
+ "_meta": {
+ "description": "Total number of documents in the failure store in the stream of logs"
+ }
+ },
+ "index_count": {
+ "type": "long",
+ "_meta": {
+ "description": "Total number of indices in the stream of logs"
+ }
+ },
+ "namespace_count": {
+ "type": "long",
+ "_meta": {
+ "description": "Total number of namespaces in the stream of logs"
+ }
+ },
+ "field_count": {
+ "type": "long",
+ "_meta": {
+ "description": "Total number of fields in mappings of indices of the stream of logs"
+ }
+ },
+ "field_existence": {
+ "properties": {
+ "DYNAMIC_KEY": {
+ "type": "long",
+ "_meta": {
+ "description": "Count of documents having the field represented by the key"
+ }
+ }
+ }
+ },
+ "size_in_bytes": {
+ "type": "long",
+ "_meta": {
+ "description": "Total size in bytes of the stream of logs"
+ }
+ },
+ "managed_by": {
+ "type": "array",
+ "items": {
+ "type": "keyword",
+ "_meta": {
+ "description": "Value captured in _meta.managed_by"
+ }
+ }
+ },
+ "package_name": {
+ "type": "array",
+ "items": {
+ "type": "keyword",
+ "_meta": {
+ "description": "Value captured in _meta.package.name"
+ }
+ }
+ },
+ "beat": {
+ "type": "array",
+ "items": {
+ "type": "keyword",
+ "_meta": {
+ "description": "Value captured in _meta.beat.name"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"ml": {
"properties": {
"alertRules": {
diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
index b2870f3ef4809..c45a2944aa440 100644
--- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
+++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
@@ -12907,30 +12907,6 @@
}
}
},
- "infraops": {
- "properties": {
- "last_24_hours": {
- "properties": {
- "hits": {
- "properties": {
- "infraops_hosts": {
- "type": "long"
- },
- "infraops_docker": {
- "type": "long"
- },
- "infraops_kubernetes": {
- "type": "long"
- },
- "logs": {
- "type": "long"
- }
- }
- }
- }
- }
- }
- },
"kibana_settings": {
"properties": {
"xpack": {
@@ -12942,148 +12918,6 @@
}
}
},
- "logs_data": {
- "properties": {
- "data": {
- "type": "array",
- "items": {
- "properties": {
- "pattern_name": {
- "type": "keyword",
- "_meta": {
- "description": "Logs pattern name representing the stream of logs"
- }
- },
- "shipper": {
- "type": "keyword",
- "_meta": {
- "description": "Shipper if present, sending the logs"
- }
- },
- "doc_count": {
- "type": "long",
- "_meta": {
- "description": "Total number of documents in the steam of logs"
- }
- },
- "structure_level": {
- "properties": {
- "0": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 0"
- }
- },
- "1": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 1"
- }
- },
- "2": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 2"
- }
- },
- "3": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 3"
- }
- },
- "4": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 4"
- }
- },
- "5": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 5"
- }
- },
- "6": {
- "type": "long",
- "_meta": {
- "description": "Total docs at structure level 6"
- }
- }
- }
- },
- "failure_store_doc_count": {
- "type": "long",
- "_meta": {
- "description": "Total number of documents in the failure store in the stream of logs"
- }
- },
- "index_count": {
- "type": "long",
- "_meta": {
- "description": "Total number of indices in the stream of logs"
- }
- },
- "namespace_count": {
- "type": "long",
- "_meta": {
- "description": "Total number of namespaces in the stream of logs"
- }
- },
- "field_count": {
- "type": "long",
- "_meta": {
- "description": "Total number of fields in mappings of indices of the stream of logs"
- }
- },
- "field_existence": {
- "properties": {
- "DYNAMIC_KEY": {
- "type": "long",
- "_meta": {
- "description": "Count of documents having the field represented by the key"
- }
- }
- }
- },
- "size_in_bytes": {
- "type": "long",
- "_meta": {
- "description": "Total size in bytes of the stream of logs"
- }
- },
- "managed_by": {
- "type": "array",
- "items": {
- "type": "keyword",
- "_meta": {
- "description": "Value captured in _meta.managed_by"
- }
- }
- },
- "package_name": {
- "type": "array",
- "items": {
- "type": "keyword",
- "_meta": {
- "description": "Value captured in _meta.package.name"
- }
- }
- },
- "beat": {
- "type": "array",
- "items": {
- "type": "keyword",
- "_meta": {
- "description": "Value captured in _meta.beat.name"
- }
- }
- }
- }
- }
- }
- }
- },
"maps": {
"properties": {
"mapsTotalCount": {
diff --git a/packages/kbn-custom-integrations/README.md b/x-pack/solutions/observability/packages/kbn-custom-integrations/README.md
similarity index 100%
rename from packages/kbn-custom-integrations/README.md
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/README.md
diff --git a/packages/kbn-custom-integrations/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts
similarity index 58%
rename from packages/kbn-custom-integrations/index.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts
index 60024b00053bb..722045741e0ba 100644
--- a/packages/kbn-custom-integrations/index.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
export {
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js
new file mode 100644
index 0000000000000..c36c2422869b8
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js
@@ -0,0 +1,12 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test/jest_node',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/solutions/observability/packages/kbn-custom-integrations'],
+};
diff --git a/packages/kbn-custom-integrations/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-custom-integrations/kibana.jsonc
similarity index 100%
rename from packages/kbn-custom-integrations/kibana.jsonc
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/kibana.jsonc
diff --git a/packages/kbn-custom-integrations/package.json b/x-pack/solutions/observability/packages/kbn-custom-integrations/package.json
similarity index 61%
rename from packages/kbn-custom-integrations/package.json
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/package.json
index 5850873bb1bfe..d6fff9238f5f8 100644
--- a/packages/kbn-custom-integrations/package.json
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/package.json
@@ -2,6 +2,6 @@
"name": "@kbn/custom-integrations",
"private": true,
"version": "1.0.0",
- "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0",
+ "license": "Elastic License 2.0",
"sideEffects": false
}
\ No newline at end of file
diff --git a/packages/kbn-custom-integrations/src/components/create/button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx
similarity index 86%
rename from packages/kbn-custom-integrations/src/components/create/button.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx
index ab2023e4ed5e2..cbf480f50ff5d 100644
--- a/packages/kbn-custom-integrations/src/components/create/button.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { EuiButton } from '@elastic/eui';
diff --git a/packages/kbn-custom-integrations/src/components/create/error_callout.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx
similarity index 85%
rename from packages/kbn-custom-integrations/src/components/create/error_callout.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx
index 1d8c830cbe4c3..9de070425cabe 100644
--- a/packages/kbn-custom-integrations/src/components/create/error_callout.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import React from 'react';
diff --git a/packages/kbn-custom-integrations/src/components/create/form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx
similarity index 95%
rename from packages/kbn-custom-integrations/src/components/create/form.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx
index 2ebe95d5cfb97..1a54df5e6e707 100644
--- a/packages/kbn-custom-integrations/src/components/create/form.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import React, { useCallback } from 'react';
diff --git a/packages/kbn-custom-integrations/src/components/create/utils.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts
similarity index 51%
rename from packages/kbn-custom-integrations/src/components/create/utils.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts
index 98d3441d694f3..5e7376b8c8efa 100644
--- a/packages/kbn-custom-integrations/src/components/create/utils.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
export const replaceSpecialChars = (value: string) => {
diff --git a/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx
similarity index 76%
rename from packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx
index a26763485d67a..0410171789f38 100644
--- a/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import React from 'react';
diff --git a/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx
similarity index 73%
rename from packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx
index 7e01bd63f8774..53ffb664051cc 100644
--- a/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import React from 'react';
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts
new file mode 100644
index 0000000000000..a8c866eefbb2b
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts
@@ -0,0 +1,11 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export { ConnectedCreateCustomIntegrationForm } from './create/form';
+export * from './create/error_callout';
+export * from './custom_integrations_button';
+export * from './custom_integrations_form';
diff --git a/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts
similarity index 76%
rename from packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts
index 35dcea4bce27c..d7b3cce01034a 100644
--- a/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { useActor, useSelector } from '@xstate/react';
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts
new file mode 100644
index 0000000000000..3bbee5aa6dedb
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts
@@ -0,0 +1,10 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export { useConsumerCustomIntegrations } from './use_consumer_custom_integrations';
+export { useCustomIntegrations } from './use_custom_integrations';
+export type { DispatchableEvents } from './use_consumer_custom_integrations';
diff --git a/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts
similarity index 64%
rename from packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts
index e8202b3699a70..5a694c104f9b7 100644
--- a/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import {
diff --git a/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts
similarity index 60%
rename from packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts
index e02a1a636c83d..469f9cffc5a63 100644
--- a/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { useActor } from '@xstate/react';
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts
similarity index 57%
rename from packages/kbn-custom-integrations/src/state_machines/create/defaults.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts
index dbfd375b1d665..a806314448ea7 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
export const DEFAULT_CONTEXT = {
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts
similarity index 83%
rename from packages/kbn-custom-integrations/src/state_machines/create/notifications.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts
index 415b204571980..56d44652ec5f7 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { CustomIntegrationOptions, IntegrationError } from '../../types';
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts
similarity index 91%
rename from packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts
index 28ff0660816ba..f59c21dc499eb 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { pipe } from 'fp-ts/lib/pipeable';
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts
similarity index 61%
rename from packages/kbn-custom-integrations/src/state_machines/create/selectors.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts
index 9b5ef7d05cfcc..58eefa2fbd16b 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { CreateCustomIntegrationState } from './state_machine';
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts
similarity index 97%
rename from packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts
index 6f53563ab0555..b7abc58433601 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { i18n } from '@kbn/i18n';
diff --git a/packages/kbn-custom-integrations/src/state_machines/create/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts
similarity index 90%
rename from packages/kbn-custom-integrations/src/state_machines/create/types.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts
index 5effeced918f0..2e4a776910ad9 100644
--- a/packages/kbn-custom-integrations/src/state_machines/create/types.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { CustomIntegrationOptions, IntegrationError } from '../../types';
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
new file mode 100644
index 0000000000000..68617dded95ac
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts
@@ -0,0 +1,12 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import { DefaultCustomIntegrationsContext } from './types';
+
+export const DEFAULT_CONTEXT: DefaultCustomIntegrationsContext = {
+ mode: 'create' as const,
+};
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts
similarity index 69%
rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts
index dd9ca6a51dd9b..66d743c7fb1c5 100644
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { createNotificationChannel, NotificationChannel } from '@kbn/xstate-utils';
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx
similarity index 88%
rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx
index 3ff74972cc8eb..4cf87470380ed 100644
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { useInterpret } from '@xstate/react';
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
new file mode 100644
index 0000000000000..5ef42df0747d8
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts
@@ -0,0 +1,11 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import { CustomIntegrationsState } from './state_machine';
+
+export const createIsInitializedSelector = (state: CustomIntegrationsState) =>
+ state && state.matches({ create: 'initialized' });
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts
similarity index 94%
rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts
index 2ea9bc73c383b..546f0198698a4 100644
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { ActorRefFrom, createMachine, EmittedFrom } from 'xstate';
diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts
similarity index 70%
rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts
index 8c34ca3293e22..3308705d7afb9 100644
--- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { CreateCustomIntegrationNotificationEvent } from '../create/notifications';
diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts
new file mode 100644
index 0000000000000..9d5fca22f8293
--- /dev/null
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts
@@ -0,0 +1,10 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export { CustomIntegrationsProvider } from './custom_integrations/provider';
+export type { Callbacks } from './custom_integrations/provider';
+export type { InitialState } from './custom_integrations/types';
diff --git a/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts
similarity index 91%
rename from packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts
index 4b6fb1e721870..e7c096d3444f8 100644
--- a/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { HttpSetup } from '@kbn/core/public';
diff --git a/packages/kbn-custom-integrations/src/state_machines/services/validation.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts
similarity index 89%
rename from packages/kbn-custom-integrations/src/state_machines/services/validation.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts
index b5554f79c5675..b2b24a8a9c4e4 100644
--- a/packages/kbn-custom-integrations/src/state_machines/services/validation.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
import { isEmpty } from 'lodash';
diff --git a/packages/kbn-custom-integrations/src/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts
similarity index 82%
rename from packages/kbn-custom-integrations/src/types.ts
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts
index d3ee039f89121..803bb341f5904 100644
--- a/packages/kbn-custom-integrations/src/types.ts
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts
@@ -1,10 +1,8 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
*/
/* eslint-disable max-classes-per-file */
diff --git a/packages/kbn-custom-integrations/tsconfig.json b/x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json
similarity index 87%
rename from packages/kbn-custom-integrations/tsconfig.json
rename to x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json
index cb57aee9dbeaa..361844028545f 100644
--- a/packages/kbn-custom-integrations/tsconfig.json
+++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/x-pack/plugins/observability_solution/infra/.storybook/main.js b/x-pack/solutions/observability/plugins/infra/.storybook/main.js
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/.storybook/main.js
rename to x-pack/solutions/observability/plugins/infra/.storybook/main.js
diff --git a/x-pack/plugins/observability_solution/infra/.storybook/preview.js b/x-pack/solutions/observability/plugins/infra/.storybook/preview.js
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/.storybook/preview.js
rename to x-pack/solutions/observability/plugins/infra/.storybook/preview.js
diff --git a/x-pack/plugins/observability_solution/infra/README.md b/x-pack/solutions/observability/plugins/infra/README.md
similarity index 97%
rename from x-pack/plugins/observability_solution/infra/README.md
rename to x-pack/solutions/observability/plugins/infra/README.md
index 9097faa0aa2b5..b2e994a6cb6b4 100644
--- a/x-pack/plugins/observability_solution/infra/README.md
+++ b/x-pack/solutions/observability/plugins/infra/README.md
@@ -26,7 +26,7 @@ team as well.
## Contributing
Since the `infra` plugin lives within the Kibana repository, [Kibana's
-contribution procedures](../../../CONTRIBUTING.md) apply. In addition to that,
+contribution procedures](../../../../CONTRIBUTING.md) apply. In addition to that,
this section details a few plugin-specific aspects.
### Ingesting metrics for development
@@ -118,7 +118,7 @@ life-cycle of a PR looks like the following:
There are always exceptions to the rule, so seeking guidance about any of the
steps is highly recommended.
-[Kibana's contribution procedures]: ../../../../CONTRIBUTING.md
+[Kibana's contribution procedures]: ../../../../../CONTRIBUTING.md
[Infrastructure forum]: https://discuss.elastic.co/c/infrastructure
[Logs forum]: https://discuss.elastic.co/c/logs
[ECS]: https://github.com/elastic/ecs/
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/color_palette.test.ts b/x-pack/solutions/observability/plugins/infra/common/color_palette.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/color_palette.test.ts
rename to x-pack/solutions/observability/plugins/infra/common/color_palette.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/color_palette.ts b/x-pack/solutions/observability/plugins/infra/common/color_palette.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/color_palette.ts
rename to x-pack/solutions/observability/plugins/infra/common/color_palette.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/constants.ts b/x-pack/solutions/observability/plugins/infra/common/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/constants.ts
rename to x-pack/solutions/observability/plugins/infra/common/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/common/custom_dashboards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts
rename to x-pack/solutions/observability/plugins/infra/common/custom_dashboards.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/alert_link.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/alert_link.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/bytes.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/bytes.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/bytes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/bytes.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/formatters/datetime.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/datetime.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/formatters/datetime.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/datetime.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/get_custom_metric_label.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/get_custom_metric_label.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/high_precision.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/high_precision.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/index.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/number.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/number.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/number.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/number.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/percent.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/percent.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/percent.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/percent.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/snapshot_metric_formats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/snapshot_metric_formats.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/telemetry_time_range.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/telemetry_time_range.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/types.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/formatters/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/formatters/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/asset_count_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/asset_count_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/asset_count_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/asset_count_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/custom_dashboards_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/custom_dashboards_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/get_infra_services.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/get_infra_services.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/process_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/process_list.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra/get_infra_metrics.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra/get_infra_metrics.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_meta_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_meta_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/ip_to_hostname/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/ip_to_hostname/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/latest.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/latest.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/latest.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/latest.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
similarity index 91%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
index 190c43a98e623..2f46e210f07e0 100644
--- a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
+++ b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts
@@ -52,9 +52,9 @@ export type GetLogAlertsChartPreviewDataSuccessResponsePayload = rt.TypeOf<
//
// If it's removed before then you get:
//
-// x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023:
+// x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023:
// Exported variable 'getLogAlertsChartPreviewDataAlertParamsSubsetRT' has or is using name 'Comparator'
-// from external module "/Users/smith/Code/kibana/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types"
+// from external module "/Users/smith/Code/kibana/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types"
// but cannot be named.
//
export const getLogAlertsChartPreviewDataAlertParamsSubsetRT: any = rt.intersection([
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metadata_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metadata_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/node_details_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/node_details_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/overview_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/overview_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/profiling_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/profiling_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/asset_type.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/asset_type.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/asset_type.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/asset_type.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/es_request.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/es_request.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/metric_statistics.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/metric_statistics.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/time_range.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/time_range.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/timing.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/timing.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/snapshot_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts
rename to x-pack/solutions/observability/plugins/infra/common/http_api/snapshot_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/anomaly_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/anomaly_results.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/infra_ml.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/infra_ml.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/job_parameters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/job_parameters.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_hosts_ml.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_hosts_ml.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_k8s_ml.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts
rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_k8s_ml.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_models/intl_strings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_models/intl_strings.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/inventory_view.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/inventory_view.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/job_parameters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/job_parameters.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_quality.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_quality.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_results.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_result/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_search_result/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_result/log_search_result.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_search_result/log_search_result.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_summary/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_search_summary/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_summary/log_search_summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_search_summary/log_search_summary.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_text_scale/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_text_scale/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/log_text_scale.ts b/x-pack/solutions/observability/plugins/infra/common/log_text_scale/log_text_scale.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/log_text_scale.ts
rename to x-pack/solutions/observability/plugins/infra/common/log_text_scale/log_text_scale.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_sources/get_has_data.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_sources/get_has_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_sources/get_has_data.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_sources/get_has_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_sources/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/metrics_sources/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts b/x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/performance_tracing.ts
rename to x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts b/x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts
rename to x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/saved_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/saved_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/saved_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/saved_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/saved_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/saved_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/saved_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/common/saved_views/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/common/errors.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/common/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/common/errors.ts
rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/common/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts
rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entries.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts
rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entry.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts b/x-pack/solutions/observability/plugins/infra/common/snapshot_metric_i18n.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts
rename to x-pack/solutions/observability/plugins/infra/common/snapshot_metric_i18n.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/source_configuration/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/common/source_configuration/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts b/x-pack/solutions/observability/plugins/infra/common/source_configuration/source_configuration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts
rename to x-pack/solutions/observability/plugins/infra/common/source_configuration/source_configuration.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/time/index.ts b/x-pack/solutions/observability/plugins/infra/common/time/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/time/index.ts
rename to x-pack/solutions/observability/plugins/infra/common/time/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_key.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/time/time_key.ts
rename to x-pack/solutions/observability/plugins/infra/common/time/time_key.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/time_range.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_range.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/locators/time_range.ts
rename to x-pack/solutions/observability/plugins/infra/common/time/time_range.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_scale.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_scale.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/time/time_scale.ts
rename to x-pack/solutions/observability/plugins/infra/common/time/time_scale.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_unit.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_unit.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/time/time_unit.ts
rename to x-pack/solutions/observability/plugins/infra/common/time/time_unit.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/common/typed_json.ts b/x-pack/solutions/observability/plugins/infra/common/typed_json.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/common/typed_json.ts
rename to x-pack/solutions/observability/plugins/infra/common/typed_json.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/infra/common/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts
rename to x-pack/solutions/observability/plugins/infra/common/url_state_storage_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utility_types.ts b/x-pack/solutions/observability/plugins/infra/common/utility_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utility_types.ts
rename to x-pack/solutions/observability/plugins/infra/common/utility_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts b/x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts
rename to x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts b/x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts
rename to x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts b/x-pack/solutions/observability/plugins/infra/common/utils/elasticsearch_runtime_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts
rename to x-pack/solutions/observability/plugins/infra/common/utils/elasticsearch_runtime_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts b/x-pack/solutions/observability/plugins/infra/common/utils/get_chart_group_names.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts
rename to x-pack/solutions/observability/plugins/infra/common/utils/get_chart_group_names.ts
diff --git a/x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts b/x-pack/solutions/observability/plugins/infra/common/utils/get_interval_in_seconds.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts
rename to x-pack/solutions/observability/plugins/infra/common/utils/get_interval_in_seconds.ts
diff --git a/x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg b/x-pack/solutions/observability/plugins/infra/docs/assets/infra_metricbeat_aws.jpg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg
rename to x-pack/solutions/observability/plugins/infra/docs/assets/infra_metricbeat_aws.jpg
diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/README.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/state_machines/README.md
rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/README.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_machine_patterns.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md
rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_machine_patterns.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_react_patterns.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md
rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_react_patterns.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md
rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md
similarity index 76%
rename from x-pack/plugins/observability_solution/infra/docs/telemetry/README.md
rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md
index ed0ed7e2464e7..55c8c5aeecee6 100644
--- a/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md
+++ b/x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md
@@ -2,7 +2,7 @@
Welcome to the documentation on implementing custom Telemetry events using the TelemetryService. Tracking Telemetry events is part of our workflow for better understanding what users like the most and constantly improving the Observability Metrics and Logs.
-Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used.
+Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used.
In this documentation, we will see how to implement custom events and how to trigger them while working with React.
diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md
similarity index 97%
rename from x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md
rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md
index e27ef04617059..cef0c77efb9a3 100644
--- a/x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md
+++ b/x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md
@@ -15,7 +15,7 @@ export enum InfraTelemetryEventTypes {
In this example, we're adding a new event type called `SEARCH_SUBMITTED` with a value `Search Submitted` that will be used for tracking the event.
-N.B. Each custom event should also be added to the whitelist defined in the [core analytics package](../../../cloud_integrations/cloud_full_story/server/config.ts) to be tracked correctly.
+N.B. Each custom event should also be added to the whitelist defined in the [core analytics package](../../../../cloud_integrations/cloud_full_story/server/config.ts) to be tracked correctly.
## Step 2: Update types and define the event schema
diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/telemetry_service_overview.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md
rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/telemetry_service_overview.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/trigger_custom_events_examples.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md
rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/trigger_custom_events_examples.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md b/x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_aws.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md
rename to x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_aws.md
diff --git a/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md b/x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md
rename to x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md
diff --git a/x-pack/plugins/observability_solution/dataset_quality/jest.config.js b/x-pack/solutions/observability/plugins/infra/jest.config.js
similarity index 56%
rename from x-pack/plugins/observability_solution/dataset_quality/jest.config.js
rename to x-pack/solutions/observability/plugins/infra/jest.config.js
index 23ec1505b0f89..6940a611ef766 100644
--- a/x-pack/plugins/observability_solution/dataset_quality/jest.config.js
+++ b/x-pack/solutions/observability/plugins/infra/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/plugins/observability_solution/dataset_quality'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/solutions/observability/plugins/infra'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/dataset_quality',
+ '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/infra',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/observability_solution/dataset_quality/{common,public}/**/*.{ts,tsx}',
+ '/x-pack/solutions/observability/plugins/infra/{common,public,server}/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/observability_solution/infra/kibana.jsonc b/x-pack/solutions/observability/plugins/infra/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/kibana.jsonc
rename to x-pack/solutions/observability/plugins/infra/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap b/x-pack/solutions/observability/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap
rename to x-pack/solutions/observability/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/selector.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/metric.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/metric.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/node_type.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/node_type.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/validation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/validation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/rule_data_formatters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/rule_data_formatters.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_dropdown.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_dropdown.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_dropdown.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_dropdown.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/rule_data_formatters.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/rule_data_formatters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/rule_data_formatters.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/rule_data_formatters.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/validation.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/validation.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/validation.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/validation.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/types.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/custom_equation/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_row.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_row.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.test.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/validation.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/validation.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/validation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/validation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/i18n_strings.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/i18n_strings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/i18n_strings.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/i18n_strings.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/rule_data_formatters.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/rule_data_formatters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/rule_data_formatters.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/rule_data_formatters.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/types.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/use_alert_prefill.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/use_alert_prefill.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/alerting/use_alert_prefill.ts
rename to x-pack/solutions/observability/plugins/infra/public/alerting/use_alert_prefill.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/apps/common_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/apps/common_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/apps/common_styles.ts b/x-pack/solutions/observability/plugins/infra/public/apps/common_styles.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/apps/common_styles.ts
rename to x-pack/solutions/observability/plugins/infra/public/apps/common_styles.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx b/x-pack/solutions/observability/plugins/infra/public/apps/logs_app.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx
rename to x-pack/solutions/observability/plugins/infra/public/apps/logs_app.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/apps/metrics_app.tsx b/x-pack/solutions/observability/plugins/infra/public/apps/metrics_app.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/apps/metrics_app.tsx
rename to x-pack/solutions/observability/plugins/infra/public/apps/metrics_app.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/common/asset_details_config/asset_details_tabs.tsx b/x-pack/solutions/observability/plugins/infra/public/common/asset_details_config/asset_details_tabs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/common/asset_details_config/asset_details_tabs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/common/asset_details_config/asset_details_tabs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts b/x-pack/solutions/observability/plugins/infra/public/common/inventory/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/common/inventory/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/common/visualizations/constants.ts b/x-pack/solutions/observability/plugins/infra/public/common/visualizations/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/common/visualizations/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/common/visualizations/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/common/visualizations/index.ts b/x-pack/solutions/observability/plugins/infra/public/common/visualizations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/common/visualizations/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/common/visualizations/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/common/visualizations/translations.ts b/x-pack/solutions/observability/plugins/infra/public/common/visualizations/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/common/visualizations/translations.ts
rename to x-pack/solutions/observability/plugins/infra/public/common/visualizations/translations.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/http.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/http.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/http.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/context/http.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/decorator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/decorator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/decorator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/__stories__/decorator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/add_metrics_callout/constants.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/add_metrics_callout/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/add_metrics_callout/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/add_metrics_callout/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/add_metrics_callout/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/add_metrics_callout/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/add_metrics_callout/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/add_metrics_callout/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/asset_details.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/asset_details.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/asset_details.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/asset_details.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart_utils.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart_utils.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart_utils.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart_utils.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart_utils.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart_utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/chart_utils.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/chart_utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/docker_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/docker_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/docker_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/docker_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/host_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/host_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/host_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/host_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/kubernetes_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/kubernetes_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/kubernetes_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/kubernetes_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/types.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/charts_grid/charts_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts_grid/charts_grid.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/charts_grid/charts_grid.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/charts_grid/charts_grid.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/alerts_tooltip_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/alerts_tooltip_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/alerts_tooltip_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/alerts_tooltip_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/expandable_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/expandable_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/expandable_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/expandable_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/kpi.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/kpi.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/kpi.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/kpis/kpi.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_error_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metadata_error_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_error_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metadata_error_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_explanation.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metadata_explanation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_explanation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metadata_explanation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metric_not_available_explanation.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metric_not_available_explanation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metric_not_available_explanation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/metric_not_available_explanation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/processes_explanation.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/processes_explanation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/processes_explanation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/processes_explanation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section_title.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/section_title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section_title.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/section_title.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/services_tooltip_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/services_tooltip_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/services_tooltip_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/services_tooltip_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/top_processes_tooltip.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/top_processes_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/components/top_processes_tooltip.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/components/top_processes_tooltip.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/constants.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/content/callouts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/callouts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/content/callouts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/callouts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/content/callouts/legacy_metric_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/callouts/legacy_metric_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/content/callouts/legacy_metric_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/callouts/legacy_metric_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/content/content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/content/content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/content/content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/context_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/context_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/context_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/context_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/date_picker/date_picker.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/date_picker/date_picker.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/date_picker/date_picker.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/date_picker/date_picker.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/header/flyout_header.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/header/flyout_header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/header/flyout_header.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/header/flyout_header.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/header/page_title_with_popover.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/header/page_title_with_popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/header/page_title_with_popover.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/header/page_title_with_popover.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_chart_series_color.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_chart_series_color.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_container_metrics_charts.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_container_metrics_charts.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_custom_dashboards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_custom_dashboards.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_dashboards_fetcher.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_dashboards_fetcher.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_dashboards_fetcher.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_dashboards_fetcher.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_data_views.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_data_views.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_data_views.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_data_views.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_date_picker.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_date_picker.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_date_picker.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_date_picker.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_entity_summary.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_entity_summary.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_entity_summary.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_entity_summary.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_host_metrics_charts.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_host_metrics_charts.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_integration_check.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_integration_check.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_integration_check.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_integration_check.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_intersecting_state.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_intersecting_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_intersecting_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_intersecting_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_loading_state.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_loading_state.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_loading_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_loading_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_log_charts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_log_charts.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_metadata.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_metadata.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata_state.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_metadata_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_metadata_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_page_header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_page_header.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_process_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_process_list.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_request_observable.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_request_observable.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_request_observable.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_request_observable.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_saved_objects_permissions.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_saved_objects_permissions.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_saved_objects_permissions.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_saved_objects_permissions.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_tab_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_tab_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_tab_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/hooks/use_tab_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/links/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_service.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_apm_service.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_service.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_apm_service.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_services.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_apm_services.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_services.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_apm_services.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_node_details.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_node_details.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_node_details.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/links/link_to_node_details.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/common/popover.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/common/popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/common/popover.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/common/popover.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/actions.test.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/actions.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/actions.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/actions.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/edit_dashboard.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/edit_dashboard.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/edit_dashboard.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/edit_dashboard.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/goto_dashboard_link.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/goto_dashboard_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/goto_dashboard_link.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/goto_dashboard_link.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/link_dashboard.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/link_dashboard.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/link_dashboard.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/link_dashboard.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/save_dashboard_modal.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/save_dashboard_modal.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/save_dashboard_modal.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/save_dashboard_modal.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/unlink_dashboard.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/unlink_dashboard.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/actions/unlink_dashboard.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/actions/unlink_dashboard.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/context_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/context_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/context_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/dashboard_selector.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/dashboard_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/dashboard_selector.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/dashboard_selector.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/dashboards.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/dashboards.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/dashboards.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/dashboards.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/empty_dashboards.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/empty_dashboards.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/empty_dashboards.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/empty_dashboards.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/filter_explanation_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/filter_explanation_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/dashboards/filter_explanation_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/dashboards/filter_explanation_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/logs/logs.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/logs/logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/logs/logs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/logs/logs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/metadata.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/table.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.test.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/utils.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/utils.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metadata/utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/container_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/container_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/container_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/container_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/host_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/host_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/host_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/host_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/metrics_template.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/metrics_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metrics/metrics_template.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/metrics/metrics_template.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/osquery/osquery.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/osquery/osquery.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/osquery/osquery.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/osquery/osquery.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts_closed_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/alerts/alerts_closed_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts_closed_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/alerts/alerts_closed_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/logs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/container_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/container_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/container_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/container_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/host_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/host_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/host_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/host_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/overview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/overview.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section_titles.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/section_titles.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section_titles.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/section_titles.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/services.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/overview/services.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/parse_search_string.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/parse_search_string.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/parse_search_string.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/parse_search_string.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/process_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/process_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/processes_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/state_badge.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/state_badge.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/state_badge.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/state_badge.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/states.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/states.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/states.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/states.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/summary_table.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/summary_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/summary_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/summary_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/types.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/description_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/description_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/description_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/description_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/functions.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/functions.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/functions.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/functions.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/profiling.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/profiling.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/threads.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/threads.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/threads.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/profiling/threads.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/template/flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/template/flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/template/page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/template/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/translations.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/translations.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/translations.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/utils.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/utils.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/utils/get_data_stream_types.ts b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/utils/get_data_stream_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/asset_details/utils/get_data_stream_types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/asset_details/utils/get_data_stream_types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/auto_sizer.tsx b/x-pack/solutions/observability/plugins/infra/public/components/auto_sizer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/components/auto_sizer.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/auto_sizer.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx b/x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/basic_table/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/basic_table/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/basic_table/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/basic_table/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/basic_table/row_expansion_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/basic_table/row_expansion_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/basic_table/row_expansion_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/basic_table/row_expansion_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/beta_badge.tsx b/x-pack/solutions/observability/plugins/infra/public/components/beta_badge.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/beta_badge.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/beta_badge.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/empty_states/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/empty_states/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/empty_states/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx b/x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_data.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_data.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_indices.tsx b/x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_indices.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/empty_states/no_indices.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_indices.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_metric_indices.tsx b/x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_metric_indices.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/empty_states/no_metric_indices.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_metric_indices.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_remote_cluster.tsx b/x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_remote_cluster.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/empty_states/no_remote_cluster.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/empty_states/no_remote_cluster.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/error_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/error_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/error_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/error_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/error_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/error_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/error_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/error_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/eui/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/eui/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/eui/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/eui/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/eui/toolbar/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/eui/toolbar/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/components/eui/toolbar/toolbar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/eui/toolbar/toolbar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx b/x-pack/solutions/observability/plugins/infra/public/components/fixed_datepicker.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/fixed_datepicker.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/height_retainer.tsx b/x-pack/solutions/observability/plugins/infra/public/components/height_retainer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/height_retainer.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/height_retainer.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/help_center_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/help_center_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/help_center_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/help_center_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/chart_load_error.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/chart_load_error.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/chart_load_error.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/chart_load_error.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/chart_placeholder.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/chart_placeholder.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/chart_placeholder.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/chart_placeholder.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/lens_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/lens_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/lens_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/lens_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/lens_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/lens_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/lens_wrapper.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/lens_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/container_metrics_explanation_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/container_metrics_explanation_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/container_metrics_explanation_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/container_metrics_explanation_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/tooltip_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/tooltip_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/tooltip_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/metric_explanation/tooltip_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/lens/types.ts b/x-pack/solutions/observability/plugins/infra/public/components/lens/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/lens/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/lens/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/loading/__examples__/index.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/loading/__examples__/index.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/loading/__examples__/index.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/loading/__examples__/index.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/loading/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/loading/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/loading_overlay_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/components/loading_overlay_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/loading_overlay_wrapper.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/loading_overlay_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/loading_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/loading_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/loading_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/loading_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/log_stream/constants.ts b/x-pack/solutions/observability/plugins/infra/public/components/log_stream/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/log_stream/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/log_stream/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx b/x-pack/solutions/observability/plugins/infra/public/components/log_stream/log_stream_react_embeddable.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/log_stream/log_stream_react_embeddable.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/log_stream/types.ts b/x-pack/solutions/observability/plugins/infra/public/components/log_stream/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/log_stream/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/log_stream/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/inline_log_view_splash_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/inline_log_view_splash_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/inline_log_view_splash_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/inline_log_view_splash_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/notices_section.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/notices_section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/notices_section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/notices_section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/category_expression.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/category_expression.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/datasets_selector.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/datasets_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/datasets_selector.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/datasets_selector.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/first_use_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/first_use_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/first_use_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/first_use_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_results/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/create_job_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/create_job_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/create_job_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/create_job_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/user_management_link.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/user_management_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/user_management_link.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_analysis_setup/user_management_link.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_customization_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_customization_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_datepicker.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_datepicker.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_datepicker.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_datepicker.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_highlights_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_highlights_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/density_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/density_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_marker.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_marker.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_markers.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_markers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_markers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/search_markers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_label_formatter.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/time_label_formatter.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_label_formatter.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/time_label_formatter.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/index.ts b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_buttons.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_buttons.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_statusbar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_statusbar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_text_scale_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_text_scale_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_text_scale_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_text_scale_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_text_wrap_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logging/log_text_wrap_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logging/log_text_wrap_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logging/log_text_wrap_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/logs_deprecation_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/logs_deprecation_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/missing_embeddable_factory_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/missing_embeddable_factory_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/missing_embeddable_factory_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/missing_embeddable_factory_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/pagination.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/pagination.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomalies_table/pagination.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomalies_table/pagination.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomaly_detection_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomaly_detection_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/anomaly_detection_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/anomaly_detection_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/flyout_home.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/flyout_home.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/flyout_home.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/flyout_home.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/job_setup_screen.tsx b/x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/job_setup_screen.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/ml/anomaly_detection/job_setup_screen.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/ml/anomaly_detection/job_setup_screen.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/components/page_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/page_template.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/page_template.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/saved_views/manage_views_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/saved_views/manage_views_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/saved_views/manage_views_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/saved_views/manage_views_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/saved_views/toolbar_control.tsx b/x-pack/solutions/observability/plugins/infra/public/components/saved_views/toolbar_control.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/saved_views/toolbar_control.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/saved_views/toolbar_control.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/saved_views/upsert_modal.tsx b/x-pack/solutions/observability/plugins/infra/public/components/saved_views/upsert_modal.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/saved_views/upsert_modal.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/saved_views/upsert_modal.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_overview.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/alerts_overview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_overview.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/alerts_overview.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_status_filter.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/alerts_status_filter.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_status_filter.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/alerts_status_filter.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/constants.ts b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/__snapshots__/link_to_alerts_page.test.tsx.snap b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/__snapshots__/link_to_alerts_page.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/__snapshots__/link_to_alerts_page.test.tsx.snap
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/__snapshots__/link_to_alerts_page.test.tsx.snap
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/create_alert_rule_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/create_alert_rule_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/create_alert_rule_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/create_alert_rule_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/link_to_alerts_page.test.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/link_to_alerts_page.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/link_to_alerts_page.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/link_to_alerts_page.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/link_to_alerts_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/link_to_alerts_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/alerts/links/link_to_alerts_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/alerts/links/link_to_alerts_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/templates/infra_page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/components/shared/templates/infra_page_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/templates/infra_page_template.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/templates/infra_page_template.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/shared/templates/no_data_config.ts b/x-pack/solutions/observability/plugins/infra/public/components/shared/templates/no_data_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/shared/templates/no_data_config.ts
rename to x-pack/solutions/observability/plugins/infra/public/components/shared/templates/no_data_config.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/components/source_configuration/view_source_configuration_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/source_configuration/view_source_configuration_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/source_configuration/view_source_configuration_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/source_configuration/view_source_configuration_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/source_error_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/source_error_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/source_error_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/source_error_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/source_loading_page.tsx b/x-pack/solutions/observability/plugins/infra/public/components/source_loading_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/source_loading_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/source_loading_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/subscription_splash_content.tsx b/x-pack/solutions/observability/plugins/infra/public/components/subscription_splash_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/subscription_splash_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/subscription_splash_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/components/try_it_button.tsx b/x-pack/solutions/observability/plugins/infra/public/components/try_it_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/components/try_it_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/components/try_it_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/header_action_menu_provider.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/header_action_menu_provider.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/header_action_menu_provider.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/header_action_menu_provider.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/kbn_url_state_context.ts b/x-pack/solutions/observability/plugins/infra/public/containers/kbn_url_state_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/kbn_url_state_context.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/kbn_url_state_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_api_types.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_api_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_api_types.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_api_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_get_module.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_get_module.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/validate_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/validate_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/validate_indices.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/api/validate_indices.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.test.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_view_configuration.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_view_configuration.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/log_view_configuration.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/log_view_configuration.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/index.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/view_log_in_context/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/view_log_in_context/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts b/x-pack/solutions/observability/plugins/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/with_log_textview.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/logs/with_log_textview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/logs/with_log_textview.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/logs/with_log_textview.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/index.ts b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_source/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/metrics_view.ts b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/metrics_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_source/metrics_view.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/metrics_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/notifications.ts b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_source/notifications.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/notifications.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/source.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/source.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source_errors.ts b/x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/source_errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source_errors.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/metrics_source/source_errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_api_types.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_api_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_api_types.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_api_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_cleanup.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_cleanup.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_get_module.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_get_module.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_setup_module_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/api/ml_setup_module_api.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_capabilities.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_capabilities.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_cleanup.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_cleanup.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_cleanup.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_cleanup.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_configuration.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_configuration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_configuration.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_configuration.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_definition.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_definition.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_definition.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_definition.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.test.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_status.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_status.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_status.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_types.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_types.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/infra_ml_module_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_hosts/module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_hosts/module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_k8s/module.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_k8s/module.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts b/x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.test.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/plugin_config_context.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/plugin_config_context.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.ts b/x-pack/solutions/observability/plugins/infra/public/containers/plugin_config_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.ts
rename to x-pack/solutions/observability/plugins/infra/public/containers/plugin_config_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/react_query_provider.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/react_query_provider.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/react_query_provider.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/react_query_provider.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/triggers_actions_context.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/triggers_actions_context.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/triggers_actions_context.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/triggers_actions_context.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx b/x-pack/solutions/observability/plugins/infra/public/containers/with_kuery_autocompletion.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx
rename to x-pack/solutions/observability/plugins/infra/public/containers/with_kuery_autocompletion.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.test.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_alerts_count.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_alerts_count.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_alerts_count.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_alerts_count.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_chart_themes.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_chart_themes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_chart_themes.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_chart_themes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_document_title.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_document_title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_document_title.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_document_title.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_entity_centric_experience_setting.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_entity_centric_experience_setting.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_entity_centric_experience_setting.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_entity_centric_experience_setting.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_fetcher.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_fetcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_fetcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_fetcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_inventory_views.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_inventory_views.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_inventory_views.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_inventory_views.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_is_dark_mode.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_is_dark_mode.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_is_dark_mode.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_is_dark_mode.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.mock.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.mock.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_index_patterns.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_index_patterns.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_space.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_space.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_space.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_space.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_time_zone_setting.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_time_zone_setting.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_time_zone_setting.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_time_zone_setting.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_timefilter_time.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_timefilter_time.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_timefilter_time.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_timefilter_time.tsx
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_ui_setting.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_ui_setting.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_ui_setting.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_kibana_ui_setting.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_lazy_ref.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_lazy_ref.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_lazy_ref.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_lazy_ref.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.test.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_lens_attributes.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_lens_attributes.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_lens_attributes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_lens_attributes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_license.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_license.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_license.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_license.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_log_view_reference.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_log_view_reference.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_log_view_reference.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_log_view_reference.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_logs_breadcrumbs.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_logs_breadcrumbs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_logs_breadcrumbs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_logs_breadcrumbs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_breadcrumbs.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_metrics_breadcrumbs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_breadcrumbs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_metrics_breadcrumbs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_explorer_views.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_metrics_explorer_views.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_explorer_views.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_metrics_explorer_views.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_observable.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_observable.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_observable.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_observable.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_parent_breadcrumb_resolver.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_parent_breadcrumb_resolver.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_parent_breadcrumb_resolver.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_parent_breadcrumb_resolver.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_profiling_integration_setting.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_profiling_integration_setting.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_profiling_integration_setting.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_profiling_integration_setting.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_readonly_badge.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_readonly_badge.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_readonly_badge.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_readonly_badge.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_saved_views_notifier.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_saved_views_notifier.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_saved_views_notifier.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_saved_views_notifier.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_search_session.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_search_session.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_search_session.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_search_session.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_sorting.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_sorting.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_sorting.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_sorting.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_time_range.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_time_range.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_time_range.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_time_range.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_timeline_chart_theme.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_timeline_chart_theme.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_timeline_chart_theme.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_timeline_chart_theme.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_tracked_promise.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_tracked_promise.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_tracked_promise.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_tracked_promise.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx b/x-pack/solutions/observability/plugins/infra/public/hooks/use_trial_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_trial_status.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_viewport_dimensions.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_viewport_dimensions.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/hooks/use_viewport_dimensions.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_viewport_dimensions.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_visibility_state.ts b/x-pack/solutions/observability/plugins/infra/public/hooks/use_visibility_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_visibility_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/hooks/use_visibility_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/images/docker.svg b/x-pack/solutions/observability/plugins/infra/public/images/docker.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/docker.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/docker.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/images/hosts.svg b/x-pack/solutions/observability/plugins/infra/public/images/hosts.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/hosts.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/hosts.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/images/infra_mono_white.svg b/x-pack/solutions/observability/plugins/infra/public/images/infra_mono_white.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/infra_mono_white.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/infra_mono_white.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/images/k8.svg b/x-pack/solutions/observability/plugins/infra/public/images/k8.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/k8.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/k8.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/images/logging_mono_white.svg b/x-pack/solutions/observability/plugins/infra/public/images/logging_mono_white.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/logging_mono_white.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/logging_mono_white.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/images/services.svg b/x-pack/solutions/observability/plugins/infra/public/images/services.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/images/services.svg
rename to x-pack/solutions/observability/plugins/infra/public/images/services.svg
diff --git a/x-pack/plugins/observability_solution/infra/public/index.ts b/x-pack/solutions/observability/plugins/infra/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.test.ts b/x-pack/solutions/observability/plugins/infra/public/metrics_overview_fetchers.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/metrics_overview_fetchers.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.ts b/x-pack/solutions/observability/plugins/infra/public/metrics_overview_fetchers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.ts
rename to x-pack/solutions/observability/plugins/infra/public/metrics_overview_fetchers.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/mocks.tsx b/x-pack/solutions/observability/plugins/infra/public/mocks.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/mocks.tsx
rename to x-pack/solutions/observability/plugins/infra/public/mocks.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/README.md b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/README.md
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/README.md
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/provider.tsx b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/provider.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/provider.tsx
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/provider.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/selectors.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/selectors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/selectors.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/selectors.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/types.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_page/state/src/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/defaults.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/notifications.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/notifications.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/notifications.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/types.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/defaults.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/errors.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/errors.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/notifications.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/notifications.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/notifications.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/types.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/README.md b/x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/README.md
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/README.md
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/index.ts b/x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx b/x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx
rename to x-pack/solutions/observability/plugins/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/page_template.styles.ts b/x-pack/solutions/observability/plugins/infra/public/page_template.styles.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/page_template.styles.ts
rename to x-pack/solutions/observability/plugins/infra/public/page_template.styles.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/404.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/404.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/404.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/404.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/error.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/error.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/error.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/error.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_logs.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/link_to_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_logs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/link_to_logs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/link_to_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/link_to_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/query_params.ts b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/query_params.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/query_params.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/query_params.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_inventory.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_inventory.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_inventory.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_inventory.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_logs.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_logs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_logs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_detail.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_detail.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_logs.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_logs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.ts b/x-pack/solutions/observability/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_results_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_results_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/page_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/page_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/page_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/page_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/routes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/routes.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/routes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/add_log_column_popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/add_log_column_popover.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_elements.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/form_elements.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_elements.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/form_elements.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_field_props.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/form_field_props.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_field_props.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/form_field_props.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_names_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_names_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_names_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_names_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_selector.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_pattern_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_selector.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/index_pattern_selector.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_form_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_form_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_form_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_form_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/indices_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/inline_log_view_callout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/inline_log_view_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/inline_log_view_callout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/inline_log_view_callout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/kibana_advanced_setting_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/kibana_advanced_setting_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/kibana_advanced_setting_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/kibana_advanced_setting_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx
similarity index 99%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx
index 931219dc0bce4..0b884f5529a66 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx
+++ b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx
@@ -190,7 +190,7 @@ const TimestampLogColumnConfigurationPanel: React.FunctionComponent<
defaultMessage="This system field shows the log entry's time as determined by the {timestampSetting} field setting."
values={{
// this is a settings key and should not be translated
- // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n
+
timestampSetting: timestamp
,
}}
/>
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/validation_errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/validation_errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_template.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_logs_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_logs_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_providers.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_providers.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_toolbar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_toolbar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/translations.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx
similarity index 98%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx
index 219200f85ded3..ef6747b059b84 100644
--- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx
+++ b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx
@@ -199,7 +199,7 @@ export const NodeSquare = ({
) : (
ellipsisMode && (
- {/* eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n */}
+ {}
...
)
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/input_fields.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/input_fields.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx
rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/plugin.ts b/x-pack/solutions/observability/plugins/infra/public/plugin.ts
similarity index 98%
rename from x-pack/plugins/observability_solution/infra/public/plugin.ts
rename to x-pack/solutions/observability/plugins/infra/public/plugin.ts
index 70a07b13b7c81..a9e5f2326fe73 100644
--- a/x-pack/plugins/observability_solution/infra/public/plugin.ts
+++ b/x-pack/solutions/observability/plugins/infra/public/plugin.ts
@@ -135,7 +135,7 @@ export class Plugin implements InfraClientPluginClass {
const logRoutes = getLogsAppRoutes();
- /** !! Need to be kept in sync with the deepLinks in x-pack/plugins/observability_solution/infra/public/plugin.ts */
+ /** !! Need to be kept in sync with the deepLinks in x-pack/solutions/observability/plugins/infra/public/plugin.ts */
pluginsSetup.observabilityShared.navigation.registerSections(
startDep$AndAccessibleFlag$.pipe(
map(([application, isLogsExplorerAccessible]) => {
@@ -229,7 +229,7 @@ export class Plugin implements InfraClientPluginClass {
});
}
- // !! Need to be kept in sync with the routes in x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx
+ // !! Need to be kept in sync with the routes in x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx
const getInfraDeepLinks = ({
metricsExplorerEnabled,
}: {
diff --git a/x-pack/plugins/observability_solution/infra/public/register_feature.ts b/x-pack/solutions/observability/plugins/infra/public/register_feature.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/register_feature.ts
rename to x-pack/solutions/observability/plugins/infra/public/register_feature.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_events.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts b/x-pack/solutions/observability/plugins/infra/public/test_utils/entries.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts
rename to x-pack/solutions/observability/plugins/infra/public/test_utils/entries.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/index.ts b/x-pack/solutions/observability/plugins/infra/public/test_utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/test_utils/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/test_utils/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/test_utils/use_global_storybook_theme.tsx b/x-pack/solutions/observability/plugins/infra/public/test_utils/use_global_storybook_theme.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/test_utils/use_global_storybook_theme.tsx
rename to x-pack/solutions/observability/plugins/infra/public/test_utils/use_global_storybook_theme.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/translations.ts b/x-pack/solutions/observability/plugins/infra/public/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/translations.ts
rename to x-pack/solutions/observability/plugins/infra/public/translations.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/types.ts b/x-pack/solutions/observability/plugins/infra/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts b/x-pack/solutions/observability/plugins/infra/public/utils/convert_interval_to_string.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/convert_interval_to_string.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/data_search.stories.mdx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/data_search.stories.mdx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/data_search.stories.mdx
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/data_search.stories.mdx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/flatten_data_search_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/flatten_data_search_response.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/index.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/index.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/normalize_data_search_responses.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/normalize_data_search_responses.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.test.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_response_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_response_state.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_view.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/data_view.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/data_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/datemath.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/datemath.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/datemath.ts b/x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/datemath.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts b/x-pack/solutions/observability/plugins/infra/public/utils/dev_mode.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/dev_mode.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/build.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/build.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/filters/build.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/build.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/build.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/build.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/create_alerts_es_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/create_alerts_es_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts b/x-pack/solutions/observability/plugins/infra/public/utils/fixtures/metrics_explorer.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/fixtures/metrics_explorer.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/kuery.ts b/x-pack/solutions/observability/plugins/infra/public/utils/kuery.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/kuery.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/kuery.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/log_column_render_configuration.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/log_column_render_configuration.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts b/x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetchers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetchers.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetches.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetches.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts b/x-pack/solutions/observability/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/redirect_with_query_params.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/redirect_with_query_params.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts b/x-pack/solutions/observability/plugins/infra/public/utils/source_configuration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts
rename to x-pack/solutions/observability/plugins/infra/public/utils/source_configuration.ts
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/theme_utils/with_attrs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/theme_utils/with_attrs.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/typed_react.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/typed_react.tsx
diff --git a/x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/url_state.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx
rename to x-pack/solutions/observability/plugins/infra/public/utils/url_state.tsx
diff --git a/x-pack/plugins/observability_solution/infra/server/config.ts b/x-pack/solutions/observability/plugins/infra/server/config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/config.ts
rename to x-pack/solutions/observability/plugins/infra/server/config.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/features.ts b/x-pack/solutions/observability/plugins/infra/server/features.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/features.ts
rename to x-pack/solutions/observability/plugins/infra/server/features.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/index.ts b/x-pack/solutions/observability/plugins/infra/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/infra_server.ts b/x-pack/solutions/observability/plugins/infra/server/infra_server.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/infra_server.ts
rename to x-pack/solutions/observability/plugins/infra/server/infra_server.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/adapter_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/adapter_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/adapter_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/adapter_types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/messages.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/messages.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/register_rule_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/register_rule_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts b/x-pack/solutions/observability/plugins/infra/server/lib/cancel_request_on_abort.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/cancel_request_on_abort.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/lib/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/constants.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/create_custom_metrics_aggregations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/create_custom_metrics_aggregations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/create_search_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/create_search_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts b/x-pack/solutions/observability/plugins/infra/server/lib/domains/metrics_domain.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/domains/metrics_domain.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_apm_data_access_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_apm_data_access_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_apm_data_access_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_apm_data_access_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_alerts_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_alerts_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_alerts_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_alerts_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts b/x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts b/x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list_chart.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list_chart.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/common.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_interval.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_interval.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/source_status.ts b/x-pack/solutions/observability/plugins/infra/server/lib/source_status.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/source_status.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/source_status.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/defaults.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/has_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/has_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/mocks.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/mocks.ts b/x-pack/solutions/observability/plugins/infra/server/mocks.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/mocks.ts
rename to x-pack/solutions/observability/plugins/infra/server/mocks.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/plugin.ts b/x-pack/solutions/observability/plugins/infra/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/plugin.ts
rename to x-pack/solutions/observability/plugins/infra/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/update_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/update_custom_dashboard.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/update_custom_dashboard.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/update_custom_dashboard.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_has_metrics_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_has_metrics_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_has_metrics_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_has_metrics_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_latest_entity.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_latest_entity.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_latest_entity.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_latest_entity.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/entities/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/infra/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/README.md
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/README.md
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/helpers/query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/helpers/query.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_apm_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_apm_hosts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_apm_hosts.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_apm_hosts.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_count.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_count.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_count.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_count.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/README.md
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/create_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/create_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/find_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/find_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/get_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/get_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/update_inventory_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/update_inventory_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts b/x-pack/solutions/observability/plugins/infra/server/routes/ip_to_hostname.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/ip_to_hostname.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/chart_preview_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/chart_preview_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/id_formats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/id_formats.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/datasets.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/indices.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/indices.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_node_info.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_node_info.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/README.md
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_sources/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_sources/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/node_details/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/node_details/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_top_nodes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_top_nodes.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/process_list/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/process_list/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/services/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/services/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/services/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/services/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts b/x-pack/solutions/observability/plugins/infra/server/routes/services/lib/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/services/lib/utils.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/constants.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_dataset_for_field.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_dataset_for_field.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_nodes.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_nodes.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/query_all_data.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/query_all_data.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts
rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.test.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/references.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/references.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/references.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.ts
rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/references.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/rules/index.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/rules/index.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/rule_data_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/rules/rule_data_client.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/rules_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/rules/rules_service.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/services/rules/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/services/rules/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/types.ts b/x-pack/solutions/observability/plugins/infra/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/types.ts
rename to x-pack/solutions/observability/plugins/infra/server/types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts b/x-pack/solutions/observability/plugins/infra/server/usage/usage_collector.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts
rename to x-pack/solutions/observability/plugins/infra/server/usage/usage_collector.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/README.md b/x-pack/solutions/observability/plugins/infra/server/utils/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/README.md
rename to x-pack/solutions/observability/plugins/infra/server/utils/README.md
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts b/x-pack/solutions/observability/plugins/infra/server/utils/calculate_metric_interval.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/calculate_metric_interval.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts b/x-pack/solutions/observability/plugins/infra/server/utils/elasticsearch_runtime_types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/elasticsearch_runtime_types.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts b/x-pack/solutions/observability/plugins/infra/server/utils/get_original_action_group.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/get_original_action_group.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts b/x-pack/solutions/observability/plugins/infra/server/utils/handle_route_errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/handle_route_errors.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts b/x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts b/x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/request_context.ts b/x-pack/solutions/observability/plugins/infra/server/utils/request_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/request_context.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/request_context.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts b/x-pack/solutions/observability/plugins/infra/server/utils/route_validation.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/route_validation.test.ts
diff --git a/x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts b/x-pack/solutions/observability/plugins/infra/server/utils/route_validation.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/route_validation.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/serialized_query.ts b/x-pack/solutions/observability/plugins/infra/server/utils/serialized_query.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/server/utils/serialized_query.ts
rename to x-pack/solutions/observability/plugins/infra/server/utils/serialized_query.ts
diff --git a/x-pack/plugins/observability_solution/infra/tsconfig.json b/x-pack/solutions/observability/plugins/infra/tsconfig.json
similarity index 97%
rename from x-pack/plugins/observability_solution/infra/tsconfig.json
rename to x-pack/solutions/observability/plugins/infra/tsconfig.json
index b02356720e7b0..3a8b68772fed1 100644
--- a/x-pack/plugins/observability_solution/infra/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/infra/tsconfig.json
@@ -1,10 +1,10 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
- "../../../../typings/**/*",
+ "../../../../../typings/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/__mocks__/package_icon.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/__mocks__/package_icon.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/main.js
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js
rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/main.js
diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/preview.js
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js
rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/preview.js
diff --git a/x-pack/plugins/observability_solution/logs_explorer/README.md b/x-pack/solutions/observability/plugins/logs_explorer/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/README.md
rename to x-pack/solutions/observability/plugins/logs_explorer/README.md
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/constants.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/constants.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/single_dataset_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/single_dataset_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.test.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.test.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/errors.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/errors.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/dataset.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/dataset.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/integration.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/integration.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/common.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_datasets.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_integrations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_integrations.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/display_options/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/display_options/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/latest.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/latest.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/latest.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/latest.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/plugin_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/plugin_config.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/ui_settings.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/ui_settings.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/common/ui_settings.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/common/ui_settings.ts
diff --git a/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js b/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js
new file mode 100644
index 0000000000000..4309e5ecd3d90
--- /dev/null
+++ b/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/solutions/observability/plugins/logs_explorer'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/logs_explorer',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/solutions/observability/plugins/logs_explorer/{common,public}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc b/x-pack/solutions/observability/plugins/logs_explorer/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc
rename to x-pack/solutions/observability/plugins/logs_explorer/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx
similarity index 94%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx
index 2ba31b3e94d86..471cad98fb132 100644
--- a/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx
+++ b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx
@@ -75,9 +75,8 @@ export const contentHeaderTooltipParagraph1 = (
id="xpack.logsExplorer.dataTable.header.content.tooltip.paragraph1"
defaultMessage="Displays the document's {logLevel} and {message} fields."
values={{
- // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n
logLevel: log.level ,
- // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n
+
message: message ,
}}
/>
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/constants.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/constants.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/utils.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/utils.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/logs_explorer.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/logs_explorer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/logs_explorer.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/logs_explorer.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_data_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_data_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_data_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_data_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_ui_settings_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_ui_settings_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_ui_settings_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_ui_settings_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_url_state_storage.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_url_state_storage.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_url_state_storage.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_url_state_storage.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/lazy_create_controller.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/lazy_create_controller.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/lazy_create_controller.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/lazy_create_controller.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/provider.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/provider.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/provider.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/provider.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/public_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/public_state.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_control_column.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_control_column.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_control_column.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_control_column.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_filters.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_filters.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_selector.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_selector.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_selector.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_selector.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_search_bar.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_search_bar.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_search_bar.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_search_bar.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_unified_histogram.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_unified_histogram.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_unified_histogram.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_unified_histogram.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/logs_explorer_profile.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/logs_explorer_profile.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_control_panels.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_control_panels.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_source_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_source_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_views.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_views.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_datasets.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_datasets.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_esql.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_esql.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_integrations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_integrations.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_intersection_ref.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_intersection_ref.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/plugin.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.mock.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.mock.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/comparator_by_field.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/comparator_by_field.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/get_data_view_test_subj.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/get_data_view_test_subj.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/proxies.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/proxies.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx
rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/use_kibana.tsx
diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/server/index.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/server/index.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/logs_explorer/server/types.ts
rename to x-pack/solutions/observability/plugins/logs_explorer/server/types.ts
diff --git a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json b/x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json
similarity index 93%
rename from x-pack/plugins/observability_solution/logs_explorer/tsconfig.json
rename to x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json
index b4376d2463c5c..a4ddeaf6e4b91 100644
--- a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json
@@ -1,10 +1,10 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
- "../../../typings/**/*",
+ "../../../../typings/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
diff --git a/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts b/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts
index 2df754edbe7cb..81677c70e0a18 100644
--- a/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts
+++ b/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts
@@ -10,7 +10,7 @@ import { chain } from 'fp-ts/Either';
import { pipe } from 'fp-ts/pipeable';
import * as r from 'io-ts';
-// Copied from x-pack/plugins/observability_solution/infra/public/utils/datemath.ts
+// Copied from x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts
export function isValidDatemath(value: string): boolean {
const parsedValue = dateMath.parse(value);
return !!(parsedValue && parsedValue.isValid());
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/main.js
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/main.js
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/preview.js
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/preview.js
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/README.md b/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md
similarity index 92%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/README.md
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/README.md
index 8f060d48b04f5..ea66ef1f9a100 100644
--- a/x-pack/plugins/observability_solution/observability_logs_explorer/README.md
+++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md
@@ -57,11 +57,11 @@ unset FLEET_PACKAGE_REGISTRY_PORT
#### Logs Explorer
```
-node scripts/type_check.js --project x-pack/plugins/observability_solution/logs_explorer/tsconfig.json
+node scripts/type_check.js --project x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json
```
#### Observability Logs Explorer
```
-node scripts/type_check.js --project x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json
+node scripts/type_check.js --project x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json
```
### Generating Data using Synthtrace
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/data_view_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/data_view_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/data_view_locator.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/data_view_locator.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/locators.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/locators.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/construct_locator_path.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/construct_locator_path.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/plugin_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/plugin_config.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/telemetry_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/telemetry_events.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/telemetry_events.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/translations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/translations.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/common.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/common.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/emotion.d.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/emotion.d.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/emotion.d.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/emotion.d.ts
diff --git a/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js
new file mode 100644
index 0000000000000..0477c875d19d4
--- /dev/null
+++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/solutions/observability/plugins/observability_logs_explorer'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_logs_explorer',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/solutions/observability/plugins/observability_logs_explorer/{common,public}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_logs_explorer/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_logs_explorer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/observability_logs_explorer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_logs_explorer.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/observability_logs_explorer.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/alerts_popover.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/alerts_popover.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/dataset_quality_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/dataset_quality_link.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/discover_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/discover_link.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/feedback_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/feedback_link.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/onboarding_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/onboarding_link.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/page_template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/page_template.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/plugin.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/main_route.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/main_route.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/not_found.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/not_found.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/not_found.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/not_found.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/breadcrumbs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/breadcrumbs.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/kbn_url_state_context.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/kbn_url_state_context.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/use_kibana.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/use_kibana.tsx
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/config.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json b/x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json
similarity index 94%
rename from x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json
rename to x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json
index 7b786ae5bc7ed..39db8187cfb28 100644
--- a/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json
@@ -1,10 +1,10 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
- "../../../typings/**/*",
+ "../../../../typings/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/README.md
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/README.md
rename to x-pack/solutions/observability/plugins/observability_onboarding/README.md
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/aws_firehose.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/aws_firehose.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/aws_firehose.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/aws_firehose.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/es_fields.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/es_fields.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/es_fields.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/es_fields.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/fetch_options.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/fetch_options.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/fetch_options.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/fetch_options.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/logs_flow_progress_step_id.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/logs_flow_progress_step_id.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/logs_flow_progress_step_id.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/logs_flow_progress_step_id.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/telemetry_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/telemetry_events.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/telemetry_events.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/common/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/common/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md
similarity index 59%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md
index 5270b499d2db1..2c35d48fb5207 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md
@@ -1,10 +1,10 @@
# Observability onboarding E2E tests
-Observability onboarding uses [FTR](../../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e`.
+Observability onboarding uses [FTR](../../../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e`.
## E2E Tests (Cypress)
-The E2E tests are located in [`x-pack/plugins/observability_solution/observability_onboarding/e2e`](./cypress/e2e).
+The E2E tests are located in [`x-pack/solutions/observability/plugins/observability_onboarding/e2e`](./cypress/e2e).
Tests run on buildkite PR pipeline are parallelized (2 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/observability_onboarding_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/observability_onboarding_cypress.yml) with the property `parallelism`.
@@ -20,21 +20,21 @@ Tests run on buildkite PR pipeline are parallelized (2 parallel jobs) and are or
### Start test server
```
-node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --server
+node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --server
```
### Run tests
Runs all tests in the terminal
```
-node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --runner
+node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --runner
```
### Open cypress dashboard
Opens cypress dashboard, there it's possible to select what test you want to run.
```
-node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --open
+node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --open
```
### Arguments
@@ -47,5 +47,5 @@ node x-pack/plugins/observability_solution/observability_onboarding/scripts/test
| --bail | stop tests after the first failure |
```
-node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js --runner --spec cypress/e2e/home.cy.ts --times 2
+node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js --runner --spec cypress/e2e/home.cy.ts --times 2
```
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress.config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress.config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress.config.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress.config.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/home.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/home.cy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/home.cy.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/home.cy.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/commands.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/commands.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/commands.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/commands.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/e2e.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/e2e.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/e2e.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/e2e.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/types.d.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/types.d.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/types.d.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/types.d.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress_test_runner.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress_test_runner.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress_test_runner.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress_test_runner.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_kibana.yml b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_kibana.yml
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_kibana.yml
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_kibana.yml
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_provider_context.d.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_provider_context.d.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_provider_context.d.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_provider_context.d.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/kibana.jsonc
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/.gitignore b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/.gitignore
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/.gitignore
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/.gitignore
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md
similarity index 72%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md
index f2952214127f4..bd5bee5fc2f72 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md
@@ -7,7 +7,7 @@ Playwright tests are only responsible for UI checks and do not automate onboardi
## Running The Tests Locally
1. Run ES and Kibana
-2. Create a `.env` file in the `./x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/` directory with the following content (adjust the values like Kibana URL according yo your local setup):
+2. Create a `.env` file in the `./x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/` directory with the following content (adjust the values like Kibana URL according yo your local setup):
```bash
KIBANA_BASE_URL = "http://localhost:5601/ftw"
ELASTICSEARCH_HOST = "http://localhost:9200"
@@ -19,7 +19,7 @@ ARTIFACTS_FOLDER = ./.playwright
3. Run the `playwright test`
```bash
# Assuming the working directory is the root of the Kibana repo
-npx playwright test -c ./x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts --project stateful --reporter list --headed
+npx playwright test -c ./x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts --project stateful --reporter list --headed
```
4. Once the test reaches one of the required manual steps, like executing auto-detect command snippet, do the step manually.
5. The test will proceed once the manual step is done.
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/assert_env.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/assert_env.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/assert_env.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/assert_env.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/helpers.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/helpers.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/helpers.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/helpers.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/logger.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/logger.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/logger.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/logger.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auth.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auth.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auth.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auth.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json
similarity index 81%
rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json
rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json
index a18951aeb8cf7..33051d690a6f7 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"include": ["**/*"],
"exclude": ["tmp", "target/**/*"],
"compilerOptions": {
@@ -8,7 +8,7 @@
"isolatedModules": false
},
"kbn_references": [
- { "path": "../../../test/tsconfig.json" },
+ { "path": "../../../../test/tsconfig.json" },
"@kbn/test",
"@kbn/dev-utils",
"@kbn/cypress-config",
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/jest.config.js b/x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js
similarity index 69%
rename from x-pack/plugins/observability_solution/observability_onboarding/jest.config.js
rename to x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js
index a559c70e939bb..f8fa5a37286a8 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/jest.config.js
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js
@@ -9,6 +9,6 @@ const path = require('path');
module.exports = {
preset: '@kbn/test',
- rootDir: path.resolve(__dirname, '../../../..'),
- roots: ['/x-pack/plugins/observability_solution/observability_onboarding'],
+ rootDir: path.resolve(__dirname, '../../../../..'),
+ roots: ['/x-pack/solutions/observability/plugins/observability_onboarding'],
};
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_onboarding/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/kibana.jsonc
rename to x-pack/solutions/observability/plugins/observability_onboarding/kibana.jsonc
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/demo_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/demo_icon.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/demo_icon.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/demo_icon.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/docs_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/docs_icon.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/docs_icon.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/docs_icon.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/footer.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/footer.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/footer.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/footer.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/forum_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/forum_icon.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/forum_icon.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/forum_icon.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/support_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/support_icon.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/support_icon.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/support_icon.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/background.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/background.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/background.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/background.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.test.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.test.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.test.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/header.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/header.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/header.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/header.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/observability_onboarding_flow.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/observability_onboarding_flow.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/observability_onboarding_flow.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/observability_onboarding_flow.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/lazy.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/lazy.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/lazy.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/lazy.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/auto_detect.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/auto_detect.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/auto_detect.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/auto_detect.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/custom_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/custom_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/custom_logs.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/custom_logs.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/firehose.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/firehose.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/firehose.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/firehose.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/kubernetes.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/kubernetes.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/kubernetes.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/kubernetes.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/landing.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/landing.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/landing.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/landing.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_kubernetes.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_kubernetes.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_kubernetes.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_kubernetes.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_logs.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_logs.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/template.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/template.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/template.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/template.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx
similarity index 97%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx
index 7824e8ddd59a2..7434141a76d35 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx
@@ -98,7 +98,7 @@ export function useOnboardingFlow() {
),
};
});
- }, [installedIntegrations.length]); // eslint-disable-line react-hooks/exhaustive-deps
+ }, [installedIntegrations.length]);
useInterval(
refetchProgress,
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx
similarity index 98%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx
index 51101ead8c339..004fe70efb02c 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx
@@ -71,7 +71,6 @@ export function InstallElasticAgent() {
return callApi('GET /internal/observability_onboarding/logs/setup/privileges');
}
// FIXME: Dario could not find a reasonable fix for getState()
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const { data: setup } = useFetcher((callApi) => {
@@ -105,7 +104,7 @@ export function InstallElasticAgent() {
}
},
// FIXME: Dario could not find a reasonable fix for getState()
- // eslint-disable-next-line react-hooks/exhaustive-deps
+
[monitoringRole?.hasPrivileges]
);
@@ -135,7 +134,6 @@ export function InstallElasticAgent() {
});
}
// FIXME: Dario could not find a reasonable fix for getState()
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const { apiKeyEncoded, onboardingId } = installShipperSetup ?? getState();
@@ -152,7 +150,7 @@ export function InstallElasticAgent() {
}
},
// FIXME: Dario could not find a reasonable fix for succesfullySavedOnboardingState
- // eslint-disable-next-line react-hooks/exhaustive-deps
+
[apiKeyEncoded, onboardingId, succesfullySavedOnboardingState]
);
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/back_button.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/back_button.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/back_button.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/back_button.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/header_action_menu.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/header_action_menu.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/header_action_menu.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/header_action_menu.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/logo_icon.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/logo_icon.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/logo_icon.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/logo_icon.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/test_wrapper.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/test_wrapper.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/test_wrapper.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/test_wrapper.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/use_custom_margin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/use_custom_margin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/use_custom_margin.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/use_custom_margin.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache_tomcat.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache_tomcat.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache_tomcat.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache_tomcat.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apple.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apple.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apple.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apple.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/auto_detect.sh b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/auto_detect.sh
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/auto_detect.sh
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/auto_detect.sh
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/charts_screen.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/charts_screen.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/charts_screen.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/charts_screen.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/docker.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/docker.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/docker.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/docker.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/dotnet.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/dotnet.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/dotnet.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/dotnet.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/firehose.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/firehose.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/firehose.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/firehose.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/haproxy.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/haproxy.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/haproxy.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/haproxy.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/integrations.conf b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/integrations.conf
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/integrations.conf
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/integrations.conf
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/java.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/java.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/java.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/java.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/javascript.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/javascript.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/javascript.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/javascript.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/kafka.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kafka.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/kafka.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kafka.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/kubernetes.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kubernetes.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/kubernetes.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kubernetes.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/linux.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/linux.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/linux.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/linux.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/mongodb.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mongodb.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/mongodb.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mongodb.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/mysql.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mysql.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/mysql.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mysql.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/nginx.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/nginx.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/nginx.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/nginx.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/opentelemetry.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/opentelemetry.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/opentelemetry.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/opentelemetry.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/postgresql.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/postgresql.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/postgresql.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/postgresql.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/rabbitmq.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/rabbitmq.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/rabbitmq.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/rabbitmq.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/redis.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/redis.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/redis.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/redis.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/ruby.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/ruby.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/ruby.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/ruby.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/standalone_agent_setup.sh b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/standalone_agent_setup.sh
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/system.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/system.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/system.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/system.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/waterfall_screen.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/waterfall_screen.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/waterfall_screen.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/waterfall_screen.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/create_wizard_context.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/create_wizard_context.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/create_wizard_context.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/create_wizard_context.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/nav_events.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/nav_events.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/nav_events.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/nav_events.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/path.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/path.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/path.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/path.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_fetcher.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_fetcher.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_fetcher.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_fetcher.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_install_integrations.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_install_integrations.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_install_integrations.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_install_integrations.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana_navigation.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana_navigation.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana_navigation.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana_navigation.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/apache.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apache.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/apache.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apache.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/apm.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apm.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/apm.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apm.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/aws.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/aws.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/aws.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/aws.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/azure.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/azure.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/azure.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/azure.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/gcp.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/gcp.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/gcp.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/gcp.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/kinesis.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kinesis.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/kinesis.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kinesis.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/kubernetes.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kubernetes.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/kubernetes.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kubernetes.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/logging.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/logging.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/logging.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/logging.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/nginx.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/nginx.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/nginx.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/nginx.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/opentelemetry.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/opentelemetry.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/opentelemetry.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/opentelemetry.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/system.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/system.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/system.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/system.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/universal_profiling.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/universal_profiling.svg
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/universal_profiling.svg
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/universal_profiling.svg
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/plugin.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/call_api.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/call_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/call_api.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/call_api.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/create_call_api.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/create_call_api.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/create_call_api.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/create_call_api.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/api.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/api.js
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/api.js
rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/api.js
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js
rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/jest.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/jest.js
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/jest.js
rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/jest.js
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/config.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/config.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/config.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_install_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_install_api_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_install_api_key.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_install_api_key.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/privileges.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/privileges.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/privileges.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/privileges.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_agent_version.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_agent_version.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_agent_version.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_agent_version.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_authentication_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_authentication_api_key.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_authentication_api_key.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_authentication_api_key.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_fallback_urls.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_fallback_urls.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_fallback_urls.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_fallback_urls.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/elastic_agent/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/elastic_agent/route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/elastic_agent/route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/elastic_agent/route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/firehose/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/firehose/route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/firehose/route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/firehose/route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/get_has_logs.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/get_has_logs.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.test.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.test.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.test.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/kubernetes/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/kubernetes/route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/kubernetes/route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/kubernetes/route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/logs/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/logs/route.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/logs/route.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/logs/route.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/saved_objects/observability_onboarding_status.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/saved_objects/observability_onboarding_status.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/services/es_legacy_config_service.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/services/es_legacy_config_service.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/services/es_legacy_config_service.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/services/es_legacy_config_service.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts
similarity index 100%
rename from x-pack/plugins/observability_solution/observability_onboarding/server/types.ts
rename to x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts
diff --git a/x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json b/x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json
similarity index 93%
rename from x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json
rename to x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json
index 3893e1d5c6b57..23526b5fdcb56 100644
--- a/x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json
@@ -1,12 +1,12 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
"common/**/*",
"public/**/*",
- "../../../../typings/**/*",
+ "../../../../../typings/**/*",
"public/**/*.json",
"server/**/*"
],
diff --git a/yarn.lock b/yarn.lock
index 58329763b0fb5..84be1ce3cd650 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5189,7 +5189,7 @@
version "0.0.0"
uid ""
-"@kbn/custom-icons@link:packages/kbn-custom-icons":
+"@kbn/custom-icons@link:src/platform/packages/shared/kbn-custom-icons":
version "0.0.0"
uid ""
@@ -5197,7 +5197,7 @@
version "0.0.0"
uid ""
-"@kbn/custom-integrations@link:packages/kbn-custom-integrations":
+"@kbn/custom-integrations@link:x-pack/solutions/observability/packages/kbn-custom-integrations":
version "0.0.0"
uid ""
@@ -5221,7 +5221,7 @@
version "0.0.0"
uid ""
-"@kbn/data-quality-plugin@link:x-pack/plugins/data_quality":
+"@kbn/data-quality-plugin@link:x-pack/platform/plugins/shared/data_quality":
version "0.0.0"
uid ""
@@ -5269,7 +5269,7 @@
version "0.0.0"
uid ""
-"@kbn/dataset-quality-plugin@link:x-pack/plugins/observability_solution/dataset_quality":
+"@kbn/dataset-quality-plugin@link:x-pack/platform/plugins/shared/dataset_quality":
version "0.0.0"
uid ""
@@ -5361,7 +5361,7 @@
version "0.0.0"
uid ""
-"@kbn/discover-contextual-components@link:packages/kbn-discover-contextual-components":
+"@kbn/discover-contextual-components@link:src/platform/packages/shared/kbn-discover-contextual-components":
version "0.0.0"
uid ""
@@ -5409,7 +5409,7 @@
version "0.0.0"
uid ""
-"@kbn/elastic-agent-utils@link:packages/kbn-elastic-agent-utils":
+"@kbn/elastic-agent-utils@link:src/platform/packages/shared/kbn-elastic-agent-utils":
version "0.0.0"
uid ""
@@ -5721,7 +5721,7 @@
version "0.0.0"
uid ""
-"@kbn/fields-metadata-plugin@link:x-pack/plugins/fields_metadata":
+"@kbn/fields-metadata-plugin@link:x-pack/platform/plugins/shared/fields_metadata":
version "0.0.0"
uid ""
@@ -5953,7 +5953,7 @@
version "0.0.0"
uid ""
-"@kbn/infra-plugin@link:x-pack/plugins/observability_solution/infra":
+"@kbn/infra-plugin@link:x-pack/solutions/observability/plugins/infra":
version "0.0.0"
uid ""
@@ -6157,15 +6157,15 @@
version "0.0.0"
uid ""
-"@kbn/logs-data-access-plugin@link:x-pack/plugins/observability_solution/logs_data_access":
+"@kbn/logs-data-access-plugin@link:x-pack/platform/plugins/shared/logs_data_access":
version "0.0.0"
uid ""
-"@kbn/logs-explorer-plugin@link:x-pack/plugins/observability_solution/logs_explorer":
+"@kbn/logs-explorer-plugin@link:x-pack/solutions/observability/plugins/logs_explorer":
version "0.0.0"
uid ""
-"@kbn/logs-shared-plugin@link:x-pack/plugins/observability_solution/logs_shared":
+"@kbn/logs-shared-plugin@link:x-pack/platform/plugins/shared/logs_shared":
version "0.0.0"
uid ""
@@ -6489,19 +6489,19 @@
version "0.0.0"
uid ""
-"@kbn/observability-logs-explorer-plugin@link:x-pack/plugins/observability_solution/observability_logs_explorer":
+"@kbn/observability-logs-explorer-plugin@link:x-pack/solutions/observability/plugins/observability_logs_explorer":
version "0.0.0"
uid ""
-"@kbn/observability-logs-overview@link:x-pack/packages/observability/logs_overview":
+"@kbn/observability-logs-overview@link:x-pack/platform/packages/shared/observability/logs_overview":
version "0.0.0"
uid ""
-"@kbn/observability-onboarding-e2e@link:x-pack/plugins/observability_solution/observability_onboarding/e2e":
+"@kbn/observability-onboarding-e2e@link:x-pack/solutions/observability/plugins/observability_onboarding/e2e":
version "0.0.0"
uid ""
-"@kbn/observability-onboarding-plugin@link:x-pack/plugins/observability_solution/observability_onboarding":
+"@kbn/observability-onboarding-plugin@link:x-pack/solutions/observability/plugins/observability_onboarding":
version "0.0.0"
uid ""
@@ -6665,7 +6665,7 @@
version "0.0.0"
uid ""
-"@kbn/react-hooks@link:packages/kbn-react-hooks":
+"@kbn/react-hooks@link:src/platform/packages/shared/kbn-react-hooks":
version "0.0.0"
uid ""
@@ -6833,7 +6833,7 @@
version "0.0.0"
uid ""
-"@kbn/router-utils@link:packages/kbn-router-utils":
+"@kbn/router-utils@link:src/platform/packages/shared/kbn-router-utils":
version "0.0.0"
uid ""
@@ -7681,7 +7681,7 @@
version "0.0.0"
uid ""
-"@kbn/timerange@link:packages/kbn-timerange":
+"@kbn/timerange@link:src/platform/packages/shared/kbn-timerange":
version "0.0.0"
uid ""
@@ -7953,7 +7953,7 @@
version "0.0.0"
uid ""
-"@kbn/xstate-utils@link:packages/kbn-xstate-utils":
+"@kbn/xstate-utils@link:src/platform/packages/shared/kbn-xstate-utils":
version "0.0.0"
uid ""
From b746c39ca04446301747c17cd845b1582db05396 Mon Sep 17 00:00:00 2001
From: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
Date: Thu, 19 Dec 2024 23:22:20 +0100
Subject: [PATCH 52/59] [Automatic Import] Fix UI validation for Integration
and Datastream name (#204943)
## Release Note
Fixes Integration and Datastream name validation
## Summary
https://github.com/elastic/kibana/pull/204409 implemented backend
validation for integration and datastream names and this PR fixes
allowing numbers on backend
Closes https://github.com/elastic/kibana/issues/204935
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
---
.../server/integration_builder/build_integration.test.ts | 6 ------
.../server/integration_builder/build_integration.ts | 6 +++---
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts
index 01d3976b9dd6b..294105a1621af 100644
--- a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts
+++ b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts
@@ -292,12 +292,6 @@ describe('isValidName', () => {
expect(isValidName('anotherValidName')).toBe(true);
});
- it('should return false for names with numbers', () => {
- expect(isValidName('invalid123')).toBe(false);
- expect(isValidName('123invalid')).toBe(false);
- expect(isValidName('invalid_123')).toBe(false);
- });
-
it('should return false for empty string', () => {
expect(isValidName('')).toBe(false);
});
diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts
index e63e7d0648da7..959f1ef093832 100644
--- a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts
+++ b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts
@@ -36,7 +36,7 @@ export async function buildPackage(integration: Integration): Promise {
if (!isValidName(integration.name)) {
throw new Error(
- `Invalid integration name: ${integration.name}, Should only contain letters and underscores`
+ `Invalid integration name: ${integration.name}, Should only contain letters, numbers and underscores`
);
}
@@ -49,7 +49,7 @@ export async function buildPackage(integration: Integration): Promise {
const dataStreamName = dataStream.name;
if (!isValidName(dataStreamName)) {
throw new Error(
- `Invalid datastream name: ${dataStreamName}, Should only contain letters and underscores`
+ `Invalid datastream name: ${dataStreamName}, Should only contain letters, numbers and underscores`
);
}
const specificDataStreamDir = joinPath(dataStreamsDir, dataStreamName);
@@ -77,7 +77,7 @@ export async function buildPackage(integration: Integration): Promise {
return zipBuffer;
}
export function isValidName(input: string): boolean {
- const regex = /^[a-zA-Z_]+$/;
+ const regex = /^[a-zA-Z0-9_]+$/;
return input.length > 0 && regex.test(input);
}
function createDirectories(
From 5b8ffd6d985b5e6e5597879fb2e0f6a17ed6d53c Mon Sep 17 00:00:00 2001
From: wajihaparvez
Date: Thu, 19 Dec 2024 18:50:43 -0600
Subject: [PATCH 53/59] [Docs] Update dashboard docs for hover actions
(#204844)
## Summary
Updated instructions and visuals for the new hover actions feature.
Also came across a mention of the Replace panel action and removed it
([#178596](https://github.com/elastic/kibana/pull/178596)).
Rel: [#182535](https://github.com/elastic/kibana/pull/182535) and
[#596](https://github.com/elastic/platform-docs-team/issues/596)
Closes: [#580](https://github.com/elastic/platform-docs-team/issues/580)
---
.../user/dashboard/create-dashboards.asciidoc | 21 +++----
.../dashboard/create-visualizations.asciidoc | 12 ++--
.../dashboard/dashboard-controls.asciidoc | 6 +-
.../images/dashboard-panel-maximized.png | Bin 349844 -> 48828 bytes
.../images/duplicate-panels-8.15.0.png | Bin 48224 -> 0 bytes
docs/user/dashboard/images/edit-link-icon.png | Bin 0 -> 4605 bytes
.../dashboard/images/edit-links-panel.png | Bin 0 -> 52059 bytes
.../images/edit-visualization-icon.png | Bin 0 -> 3602 bytes
docs/user/dashboard/images/move-control.png | Bin 0 -> 4436 bytes
.../images/settings-icon-hover-action.png | Bin 0 -> 4985 bytes
.../images/vertical-actions-menu.png | Bin 0 -> 3585 bytes
docs/user/dashboard/lens.asciidoc | 10 +--
docs/user/dashboard/links-panel.asciidoc | 8 +--
docs/user/dashboard/share-dashboards.asciidoc | 9 +--
...create-a-dashboard-of-lens-panels.asciidoc | 10 ++-
docs/user/dashboard/use-dashboards.asciidoc | 59 +++++++++---------
16 files changed, 62 insertions(+), 73 deletions(-)
delete mode 100644 docs/user/dashboard/images/duplicate-panels-8.15.0.png
create mode 100644 docs/user/dashboard/images/edit-link-icon.png
create mode 100644 docs/user/dashboard/images/edit-links-panel.png
create mode 100644 docs/user/dashboard/images/edit-visualization-icon.png
create mode 100644 docs/user/dashboard/images/move-control.png
create mode 100644 docs/user/dashboard/images/settings-icon-hover-action.png
create mode 100644 docs/user/dashboard/images/vertical-actions-menu.png
diff --git a/docs/user/dashboard/create-dashboards.asciidoc b/docs/user/dashboard/create-dashboards.asciidoc
index 8b0d5e5f524fd..2bc2825cd4fda 100644
--- a/docs/user/dashboard/create-dashboards.asciidoc
+++ b/docs/user/dashboard/create-dashboards.asciidoc
@@ -56,7 +56,7 @@ image::images/add_content_to_dashboard_8.15.0.png[Options to add content to your
.. Click *Apply*.
+
[role="screenshot"]
-image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt532d6c9ca72817d6/66f31b1f80b55f3a20e1a329/dashboard_settings_8.15.0.gif[Change and apply dashboard settings, width 30%]
+image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt4a6e9807f1fac9f8/6750ee9cef6d5a250c229e50/dashboard-settings-8.17.0.gif[Change and apply dashboard settings, width 30%]
. Click **Save** to save the dashboard.
@@ -74,14 +74,14 @@ TIP: When looking for a specific dashboard, you can filter them by tag or by cre
. Make sure that you are in **Edit** mode to be able to make changes to the dashboard. You can switch between **Edit** and **View** modes from the toolbar.
+
[role="screenshot"]
-image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/bltf75cdb828cef8b5a/66f5cfcfad4f59f38b73ba64/switch-to-view-mode-8.15.0.gif[Switch between Edit and View modes, width 30%]
+image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt619b284e92c2be27/6750f3a512a5eae780936fe3/switch-to-view-mode-8.17.0.gif[Switch between Edit and View modes, width 30%]
. Make the changes that you need to the dashboard:
** Adjust the dashboard's settings
** <>
** <>
[[save-dashboards]]
-. **Save** the dashboard. You can then leave the **Edit** mode and *Switch to view mode*.
+. **Save** the dashboard. You automatically switch to *View* mode upon saving.
NOTE: Managed dashboards can't be edited directly, but you can <> them and edit these duplicates.
@@ -98,7 +98,7 @@ NOTE: Once changes are saved, you can no longer revert them in one click, and in
+
[role="screenshot"]
-image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/bltcd3dbda9caf48a9b/66f4957fc9f9c71ce7533774/reset-dashboard-8.15.0.gif[Reset dashboard to revert unsaved changes, width 30%]
+image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blte0c08bede75b3874/6750f5566cdeea14b273b048/reset-dashboard-8.17.0.gif[Reset dashboard to revert unsaved changes, width 30%]
include::dashboard-controls.asciidoc[leveloffset=-1]
@@ -116,11 +116,11 @@ Compare the data in your panels side-by-side, organize panels by priority, resiz
In the toolbar, click *Edit*, then use the following options:
-* To move, click and hold the panel header, then drag to the new location.
+* To move, hover over the panel, click and hold image:images/move-control.png[The move control icon, width=4%], then drag to the new location.
* To resize, click the resize control, then drag to the new dimensions.
-* To maximize to full screen, open the panel menu, then click *More > Maximize*.
+* To maximize to full screen, open the panel menu and click *Maximize*.
+
TIP: If you <> a dashboard while viewing a full screen panel, the generated link will directly open the same panel in full screen mode.
@@ -138,10 +138,7 @@ Duplicated panels appear next to the original panel, and move the other panels t
. In the toolbar, click *Edit*.
-. Open the panel menu, then select *Duplicate*.
-+
-[role="screenshot"]
-image::images/duplicate-panels-8.15.0.png[Duplicate a panel, width=50%]
+. Open the panel menu and select *Duplicate*.
[float]
[[copy-to-dashboard]]
@@ -149,12 +146,12 @@ image::images/duplicate-panels-8.15.0.png[Duplicate a panel, width=50%]
Copy panels from one dashboard to another dashboard.
-. Open the panel menu, then select *More > Copy to dashboard*.
+. Open the panel menu and select *Copy to dashboard*.
. On the *Copy to dashboard* window, select the dashboard, then click *Copy and go to dashboard*.
+
[role="screenshot"]
-image:https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt64206db263cf5514/66f49286833cffb09bebd18d/copy-to-dashboard-8.15.0.gif[Copy a panel to another dashboard, width 30%]
+image:https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt48304cb3cd1ee2e6/6753879eb7c4663812148d47/copy-to-dashboard-8.17.0.gif[Copy a panel to another dashboard, width 30%]
[[duplicate-dashboards]]
== Duplicate dashboards
diff --git a/docs/user/dashboard/create-visualizations.asciidoc b/docs/user/dashboard/create-visualizations.asciidoc
index f0cf95733a972..abe9a0ef45cfb 100644
--- a/docs/user/dashboard/create-visualizations.asciidoc
+++ b/docs/user/dashboard/create-visualizations.asciidoc
@@ -110,7 +110,7 @@ If you created the panel from the *Visualize Library*:
To add unsaved dashboard panels to the *Visualize Library*:
-. Open the panel menu, then select *More > Save to library*.
+. Open the panel menu and select *Save to library*.
. Enter the panel title, then click *Save*.
@@ -155,7 +155,7 @@ There are three types of *Discover* interactions you can add to dashboard panels
+
To enable panel interactions, configure <> in kibana.yml. If you are using 7.13.0 and earlier, panel interactions are enabled by default.
+
-To use panel interactions, open the panel menu, then click *Explore underlying data*.
+To use panel interactions, open the panel menu and click *Explore underlying data*.
* *Series data interactions* — Opens the series data in *Discover*.
+
@@ -165,7 +165,7 @@ To use series data interactions, click a data series in the panel.
* *Discover session interactions* — Opens <> data in *Discover*.
+
-To use saved Discover session interactions, open the panel menu, then click *More > View Discover session*.
+To use saved Discover session interactions, open the panel menu and click *View Discover session*.
[[edit-panels]]
=== Edit panels
@@ -178,15 +178,13 @@ To make changes to the panel, use the panel menu options.
* *Edit visualization* — Opens the editor so you can make changes to the panel.
+
-To make changes without changing the original version, open the panel menu, then click *More > Unlink from library*.
+To make changes without changing the original version, open the panel menu and click *Unlink from library*.
* *Convert to Lens* — Opens *TSVB* and aggregation-based visualizations in *Lens*.
* *Settings* — Opens the *Settings* window to change the *title*, *description*, and *time range*.
-* *More > Replace panel* — Opens the *Visualize Library* so you can select a new panel to replace the existing panel.
-
-* *More > Delete from dashboard* — Removes the panel from the dashboard.
+* *Remove* — Removes the panel from the dashboard.
+
If you want to use the panel later, make sure that you save the panel to the *Visualize Library*.
diff --git a/docs/user/dashboard/dashboard-controls.asciidoc b/docs/user/dashboard/dashboard-controls.asciidoc
index 1db623f7cea96..629bcfbdff36e 100644
--- a/docs/user/dashboard/dashboard-controls.asciidoc
+++ b/docs/user/dashboard/dashboard-controls.asciidoc
@@ -23,7 +23,7 @@ image::images/dashboard_controlsRangeSlider_8.3.0.png[Range slider control for t
+
For example, you are using the *[Logs] Web Traffic* dashboard from the sample web logs data, and the global time filter is *Last 7 days*. When you add the time slider, you can click the previous and next buttons to advance the time range backward or forward, and click the play button to watch how the data changes over the last 7 days.
[role="screenshot"]
-image::images/dashboard_timeSliderControl_8.7.0.gif[Time slider control for the the Last 7 days]
+image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt672f3aaadf9ea5a6/6750dd6c2452f972af0a88b4/dashboard_timeslidercontrol_8.17.0.gif[Time slider control for the the Last 7 days]
[float]
[[create-and-add-options-list-and-range-slider-controls]]
@@ -54,10 +54,10 @@ TIP: Range sliders are for Number type fields only.
. Specify the additional settings:
-* For option lists:
+* For Options lists:
** Define whether users can select multiple values to filter with the control, or only one.
-** For option list controls on _string_ and _IP address_ type fields, you can define how the control's embedded search should behave:
+** For Options list controls on _string_ and _IP address_ type fields, you can define how the control's embedded search should behave:
*** **Prefix**: Show options that _start with_ the entered value.
*** **Contains**: Show options that _contain_ the entered value. This setting option is only available for _string_ type fields. Results can take longer to show with this option.
diff --git a/docs/user/dashboard/images/dashboard-panel-maximized.png b/docs/user/dashboard/images/dashboard-panel-maximized.png
index 26d0dc448c990ac30231cd4b2d97786a89567c55..1be941430b913f28e669fb4864f2220adb33054a 100644
GIT binary patch
literal 48828
zcmcG0by!r}_cyJe2#AV+gmlR$DGh>jN{N)x-QCDVP&!AtyQF)tkdi?<1{kCV7?2hQ
znD>nLet-9Sh2Q(fecspS!8zybv-e(Wuf6yBtk~zZx~d#85fu>@78bFByv!3UEWB_m
zEF6)`1i+K9+-wHm2ix_D+#{??=p6)bV`BbP!9qm^ivzg6jD;O$jfIDK1^A-^{($Q7
zudprwzt@33^=xb`T;LZQQ=X0UpEvQsvvL1(jUxh-V@YXBD<}ZJnx-!1<_@k_j&6F_
zBh`V5S1mpa()iLZJIRAReB3z#I2my&c?Mc-?bwW&E>||Fk1x?rQ2{?c`?d
z=s=HY_l1e0yPFsT1E!<@`S&NC=3dr+_vGOE7h3>>AWRA90r!2-|FjKM6~#OiR=4&t
zx6_lcwg-j>=tG=e@PX*B_s^C5-Q$1NeEN6I2M+}9|992@D*C;uwyU{|w4*)Hr{lA9d&vE|s6c}i6B2m!)2u+;m-KMTA7M3KIf{c`w7xu=?rJx(5
zr|-AvoI+zv6G)toOAgXj%YLuaFB
zMGU@Ep$~n#%3B*-JzdSWEDj+F)5wi9L0(6363>GG)U0D)L4hR=#VtHiNi6Jt{uj){
zsSf#SBt#L7g>#uc=%4>R$G=RvO@jSf72uX_0S7O<_ooCFH{JO{ddbfn=buVuM_&0H
z+Isf&tFnTsYI0=cRiS`%(XsF8Y;piixl-8%%`VsJ=s?<~T5(NH??9*6;E(?FK_RRF
zRgxn_P9)(|m3iMWH#zvdU=V0>a?&HP@i5pW2hypGW_#%MBb!O5oQsNzL0oH9e0wCi
z-d5{C%h&2E&Se>+_pc87LH^3Bs&R>lH%jzsEg(|4R;?sIj&B_WDy0Jq=4wj9ySk3W
zvWvw&iRBl++=#)#F}lUp?N7gWgO^4q|3i*ld(J9NC_aWUdJg>F6rHpW(g#I~Nxe^+
zUCc#<`8p!Li^pb>!pJ1Cf>%kMHnFvvFUiP-4JrZ^vfttpxzJsvq^}w7ebcOQ=NhJ!
z>^;16$vA@7d;H=Zp(x3KM|QskLQZlE+a$o5Bs^0*uK>fYGf`7J$sfuxIYME#g|yOV
zK2!rz3?8C*CrB`SRnU8>i6k)~a1aO6;zRtVOE-#Gx*lOhRPB8~K>g+1)mE)%kr=to
zDZX#!Z7Nk}242MqetP|zH38Qzk(=w%cc8Gab8AqJA)Inp!8~m5;RNRIhMUbWZ~i4p
zgUh7!F2OQ4|Lf6Th4jhzkCy4*EL~Zi`up|2uHI)z4i(Z26`GSzR{Lf}X7LO(4oBs^
zn%vigpB8HM*4=}7B5PM@#hbGD9MroSK*_xr*-{WAK<>7q_u)KrM^$e@;N;AkZpmW4
z2l9_PIUuSQ%mR2eZf^hHz@`}^hF|jVPT!!d
zd7|czV)?O78@G0G