diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.ts b/.buildkite/scripts/steps/storybooks/build_and_upload.ts index 19fed0e78885f..4ea59b4a8298d 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.ts +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.ts @@ -25,7 +25,7 @@ const STORYBOOKS = [ 'dashboard_enhanced', 'dashboard', 'data', - 'log_explorer', + 'logs_explorer', 'embeddable', 'expression_error', 'expression_image', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e3229902f1570..3b78380feda8b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -499,9 +499,9 @@ packages/kbn-lint-ts-projects-cli @elastic/kibana-operations x-pack/plugins/lists @elastic/security-detection-engine examples/locator_examples @elastic/appex-sharedux examples/locator_explorer @elastic/appex-sharedux -x-pack/plugins/log_explorer @elastic/obs-ux-logs-team packages/kbn-logging @elastic/kibana-core packages/kbn-logging-mocks @elastic/kibana-core +x-pack/plugins/observability_solution/logs_explorer @elastic/obs-ux-logs-team x-pack/plugins/logs_shared @elastic/obs-ux-logs-team x-pack/plugins/logstash @elastic/logstash packages/kbn-managed-content-badge @elastic/kibana-visualizations @@ -571,7 +571,7 @@ x-pack/packages/observability/alert_details @elastic/obs-ux-management-team x-pack/packages/observability/alerting_test_data @elastic/obs-ux-management-team x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops x-pack/packages/observability/get_padded_alert_time_range_util @elastic/obs-ux-management-team -x-pack/plugins/observability_log_explorer @elastic/obs-ux-logs-team +x-pack/plugins/observability_solution/observability_logs_explorer @elastic/obs-ux-logs-team x-pack/plugins/observability_onboarding @elastic/obs-ux-logs-team x-pack/plugins/observability @elastic/obs-ux-management-team x-pack/plugins/observability_shared @elastic/observability-ui @@ -1534,6 +1534,7 @@ x-pack/plugins/security_solution/common/api/entity_analytics @elastic/security-e /x-pack/plugins/security_solution/**/*.scss @elastic/security-design /x-pack/plugins/security_solution_ess/**/*.scss @elastic/security-design /x-pack/plugins/security_solution_serverless/**/*.scss @elastic/security-design +/x-pack/plugins/observability_solution/logs_explorer/**/*.scss @elastic/observability-design # Logstash #CC# /x-pack/plugins/logstash/ @elastic/logstash diff --git a/config/serverless.es.yml b/config/serverless.es.yml index 0588988d1a8b5..61f7b26c00f3f 100644 --- a/config/serverless.es.yml +++ b/config/serverless.es.yml @@ -5,7 +5,7 @@ xpack.apm.enabled: false xpack.cloudSecurityPosture.enabled: false xpack.infra.enabled: false -xpack.observabilityLogExplorer.enabled: false +xpack.observabilityLogsExplorer.enabled: false xpack.observability.enabled: false xpack.securitySolution.enabled: false xpack.serverless.observability.enabled: false diff --git a/config/serverless.security.yml b/config/serverless.security.yml index 23ac7ecfdf967..4c3a7be637964 100644 --- a/config/serverless.security.yml +++ b/config/serverless.security.yml @@ -4,7 +4,7 @@ enterpriseSearch.enabled: false xpack.apm.enabled: false xpack.infra.enabled: false -xpack.observabilityLogExplorer.enabled: false +xpack.observabilityLogsExplorer.enabled: false xpack.observability.enabled: false ## Cloud settings diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7f37f5471a27f..fe9a0d40f5d23 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -647,7 +647,7 @@ the infrastructure monitoring use-case within Kibana. using the CURL scripts in the scripts folder. -|{kib-repo}blob/{branch}/x-pack/plugins/log_explorer/README.md[logExplorer] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/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 Log Explorer app builds upon. @@ -692,8 +692,8 @@ Elastic. |This document gives an overview of the features of the Observability AI Assistant at the time of writing, and how to use them. At a high level, the Observability AI Assistant offers contextual insights, and a chat functionality that we enrich with function calling, allowing the LLM to hook into the user's data. We also allow the LLM to store things it considers new information as embeddings into Elasticsearch, and query this knowledge base when it decides it needs more information, using ELSER. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_log_explorer/README.md[observabilityLogExplorer] -|This plugin provides an app based on the LogExplorer component from the log_explorer plugin, but adds observability-specific affordances. +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_logs_explorer/README.md[observabilityLogsExplorer] +|This plugin provides an app based on the LogExplorer component from the logs_explorer plugin, but adds observability-specific affordances. |{kib-repo}blob/{branch}/x-pack/plugins/observability_onboarding/README.md[observabilityOnboarding] diff --git a/package.json b/package.json index 504fc2eb2a30e..18b61fabcc109 100644 --- a/package.json +++ b/package.json @@ -521,9 +521,9 @@ "@kbn/lists-plugin": "link:x-pack/plugins/lists", "@kbn/locator-examples-plugin": "link:examples/locator_examples", "@kbn/locator-explorer-plugin": "link:examples/locator_explorer", - "@kbn/log-explorer-plugin": "link:x-pack/plugins/log_explorer", "@kbn/logging": "link:packages/kbn-logging", "@kbn/logging-mocks": "link:packages/kbn-logging-mocks", + "@kbn/logs-explorer-plugin": "link:x-pack/plugins/observability_solution/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/plugins/logs_shared", "@kbn/logstash-plugin": "link:x-pack/plugins/logstash", "@kbn/managed-content-badge": "link:packages/kbn-managed-content-badge", @@ -588,7 +588,7 @@ "@kbn/observability-alerting-test-data": "link:x-pack/packages/observability/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/packages/observability/get_padded_alert_time_range_util", - "@kbn/observability-log-explorer-plugin": "link:x-pack/plugins/observability_log_explorer", + "@kbn/observability-logs-explorer-plugin": "link:x-pack/plugins/observability_solution/observability_logs_explorer", "@kbn/observability-onboarding-plugin": "link:x-pack/plugins/observability_onboarding", "@kbn/observability-plugin": "link:x-pack/plugins/observability", "@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_shared", diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index 0965c0c933bd2..7910a362f5274 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -90,7 +90,7 @@ pageLoadAssetSize: licensing: 29004 links: 44490 lists: 22900 - logExplorer: 50000 + logsExplorer: 50000 logsShared: 281060 logstash: 53548 management: 46112 @@ -105,7 +105,7 @@ pageLoadAssetSize: noDataPage: 5000 observability: 115443 observabilityAIAssistant: 25000 - observabilityLogExplorer: 46650 + observabilityLogsExplorer: 46650 observabilityOnboarding: 19573 observabilityShared: 72039 osquery: 107090 diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 97990be32aa89..c1e1a3e9f339a 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -45,7 +45,7 @@ export const storybookAliases = { infra: 'x-pack/plugins/infra/.storybook', kibana_react: 'src/plugins/kibana_react/.storybook', lists: 'x-pack/plugins/lists/.storybook', - log_explorer: 'x-pack/plugins/log_explorer/.storybook', + logs_explorer: 'x-pack/plugins/observability_solution/logs_explorer/.storybook', management: 'packages/kbn-management/storybook/config', observability: 'x-pack/plugins/observability/.storybook', observability_ai_assistant: 'x-pack/plugins/observability_ai_assistant/.storybook', diff --git a/test/plugin_functional/test_suites/core_plugins/rendering.ts b/test/plugin_functional/test_suites/core_plugins/rendering.ts index 96da31c99603a..0a924da955698 100644 --- a/test/plugin_functional/test_suites/core_plugins/rendering.ts +++ b/test/plugin_functional/test_suites/core_plugins/rendering.ts @@ -331,7 +331,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) { 'xpack.observability.unsafe.alertDetails.observability.enabled (boolean)', 'xpack.observability.unsafe.thresholdRule.enabled (any)', // conditional, is actually a boolean 'xpack.observability_onboarding.ui.enabled (boolean)', - 'xpack.observabilityLogExplorer.navigation.showAppLink (any)', // conditional, is actually a boolean + 'xpack.observabilityLogsExplorer.navigation.showAppLink (any)', // conditional, is actually a boolean ]; // We don't assert that actualExposedConfigKeys and expectedExposedConfigKeys are equal, because test failure messages with large // arrays are hard to grok. Instead, we take the difference between the two arrays and assert them separately, that way it's diff --git a/tsconfig.base.json b/tsconfig.base.json index 5760913365447..7a354cc514608 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -992,12 +992,12 @@ "@kbn/locator-examples-plugin/*": ["examples/locator_examples/*"], "@kbn/locator-explorer-plugin": ["examples/locator_explorer"], "@kbn/locator-explorer-plugin/*": ["examples/locator_explorer/*"], - "@kbn/log-explorer-plugin": ["x-pack/plugins/log_explorer"], - "@kbn/log-explorer-plugin/*": ["x-pack/plugins/log_explorer/*"], "@kbn/logging": ["packages/kbn-logging"], "@kbn/logging/*": ["packages/kbn-logging/*"], "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], + "@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/logs_shared"], "@kbn/logs-shared-plugin/*": ["x-pack/plugins/logs_shared/*"], "@kbn/logstash-plugin": ["x-pack/plugins/logstash"], @@ -1136,8 +1136,8 @@ "@kbn/observability-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/observability/*"], "@kbn/observability-get-padded-alert-time-range-util": ["x-pack/packages/observability/get_padded_alert_time_range_util"], "@kbn/observability-get-padded-alert-time-range-util/*": ["x-pack/packages/observability/get_padded_alert_time_range_util/*"], - "@kbn/observability-log-explorer-plugin": ["x-pack/plugins/observability_log_explorer"], - "@kbn/observability-log-explorer-plugin/*": ["x-pack/plugins/observability_log_explorer/*"], + "@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-onboarding-plugin": ["x-pack/plugins/observability_onboarding"], "@kbn/observability-onboarding-plugin/*": ["x-pack/plugins/observability_onboarding/*"], "@kbn/observability-plugin": ["x-pack/plugins/observability"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 3088e60b110f4..53068575a3623 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -40,7 +40,7 @@ "xpack.idxMgmt": "plugins/index_management", "xpack.indexLifecycleMgmt": "plugins/index_lifecycle_management", "xpack.infra": "plugins/infra", - "xpack.logExplorer": "plugins/log_explorer", + "xpack.logsExplorer": "plugins/observability_solution/logs_explorer", "xpack.logsShared": "plugins/logs_shared", "xpack.fleet": "plugins/fleet", "xpack.ingestPipelines": "plugins/ingest_pipelines", @@ -67,7 +67,7 @@ ], "xpack.monitoring": ["plugins/monitoring"], "xpack.observability": "plugins/observability", - "xpack.observabilityLogExplorer": "plugins/observability_log_explorer", + "xpack.observabilityLogsExplorer": "plugins/observability_solution/observability_logs_explorer", "xpack.observabilityShared": "plugins/observability_shared", "xpack.observability_onboarding": "plugins/observability_onboarding", "xpack.observabilityAiAssistant": "plugins/observability_ai_assistant", diff --git a/x-pack/plugins/log_explorer/jest.config.js b/x-pack/plugins/log_explorer/jest.config.js deleted file mode 100644 index fea1fd32ee5d9..0000000000000 --- a/x-pack/plugins/log_explorer/jest.config.js +++ /dev/null @@ -1,15 +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/log_explorer'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/log_explorer', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/log_explorer/{common,public}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/observability/kibana.jsonc b/x-pack/plugins/observability/kibana.jsonc index c7fdb22b5f792..27f1c9b3b8589 100644 --- a/x-pack/plugins/observability/kibana.jsonc +++ b/x-pack/plugins/observability/kibana.jsonc @@ -39,7 +39,7 @@ "visualizations", "dashboard", "expressions", - "logExplorer", + "logsExplorer", "licensing" ], "optionalPlugins": [ diff --git a/x-pack/plugins/log_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx similarity index 100% rename from x-pack/plugins/log_explorer/.storybook/__mocks__/package_icon.tsx rename to x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx diff --git a/x-pack/plugins/log_explorer/.storybook/main.js b/x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js similarity index 100% rename from x-pack/plugins/log_explorer/.storybook/main.js rename to x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js diff --git a/x-pack/plugins/log_explorer/.storybook/preview.js b/x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js similarity index 100% rename from x-pack/plugins/log_explorer/.storybook/preview.js rename to x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js diff --git a/x-pack/plugins/log_explorer/README.md b/x-pack/plugins/observability_solution/logs_explorer/README.md similarity index 96% rename from x-pack/plugins/log_explorer/README.md rename to x-pack/plugins/observability_solution/logs_explorer/README.md index bc504d0351804..1a46e08981984 100755 --- a/x-pack/plugins/log_explorer/README.md +++ b/x-pack/plugins/observability_solution/logs_explorer/README.md @@ -1,6 +1,6 @@ # Log Explorer -This plugin is home to the `` component and related types. It implements several of the underlying concepts that the [Observability Log Explorer app](../observability_log_explorer) builds upon. +This plugin is home to the `` component and related types. It implements several of the underlying concepts that the [Observability Log Explorer app](../observability_solution/observability_logs_explorer) builds upon. ## Developing the `` component @@ -13,7 +13,7 @@ The goal is for this component to be easy to consume by other Kibana plugins. Th - If the newly depended-upon code is not bound to the Kibana plugin life-cycle, it can be factored out into a package that both plugins depend on. - If it requires integration with the Kibana plugin life-cycle we can invert the direction of the dependency edge by offering a registration API. -We also want to make this plugin available for consumption in deployments without any observability apps. Any observability-specific concepts should therefore be implemented in the `observability_log_explorer` plugin instead. +We also want to make this plugin available for consumption in deployments without any observability apps. Any observability-specific concepts should therefore be implemented in the `observability_logs_explorer` plugin instead. While not fully realized yet, the dependency graph would roughly resemble the following: diff --git a/x-pack/plugins/log_explorer/common/constants.ts b/x-pack/plugins/observability_solution/logs_explorer/common/constants.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/constants.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/constants.ts diff --git a/x-pack/plugins/log_explorer/common/control_panels/available_control_panels.ts b/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/control_panels/available_control_panels.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts diff --git a/x-pack/plugins/log_explorer/common/control_panels/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/control_panels/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts diff --git a/x-pack/plugins/log_explorer/common/control_panels/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/control_panels/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/all_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/all_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/errors.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/errors.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/errors.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/errors.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/single_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/single_dataset_selection.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/single_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/single_dataset_selection.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts diff --git a/x-pack/plugins/log_explorer/common/dataset_selection/unresolved_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/dataset_selection/unresolved_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/errors.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/errors.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/models/dataset.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/models/dataset.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/models/integration.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/models/integration.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/v1/common.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/v1/common.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/v1/find_datasets.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/v1/find_datasets.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/v1/find_integrations.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/v1/find_integrations.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts diff --git a/x-pack/plugins/log_explorer/common/datasets/v1/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/datasets/v1/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts diff --git a/x-pack/plugins/log_explorer/common/display_options/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/display_options/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts diff --git a/x-pack/plugins/log_explorer/common/display_options/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/display_options/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts diff --git a/x-pack/plugins/log_explorer/common/document.ts b/x-pack/plugins/observability_solution/logs_explorer/common/document.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/document.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/document.ts diff --git a/x-pack/plugins/log_explorer/common/hashed_cache.ts b/x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/hashed_cache.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts diff --git a/x-pack/plugins/log_explorer/common/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/index.ts diff --git a/x-pack/plugins/log_explorer/common/latest.ts b/x-pack/plugins/observability_solution/logs_explorer/common/latest.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/latest.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/latest.ts diff --git a/x-pack/plugins/log_explorer/common/locators/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/locators/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts diff --git a/x-pack/plugins/log_explorer/common/locators/log_explorer/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/locators/log_explorer/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/index.ts diff --git a/x-pack/plugins/log_explorer/common/locators/log_explorer/log_explorer_locator.test.ts b/x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/log_explorer_locator.test.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/locators/log_explorer/log_explorer_locator.test.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/log_explorer_locator.test.ts diff --git a/x-pack/plugins/log_explorer/common/locators/log_explorer/log_explorer_locator.ts b/x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/log_explorer_locator.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/locators/log_explorer/log_explorer_locator.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/log_explorer_locator.ts diff --git a/x-pack/plugins/log_explorer/common/locators/log_explorer/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/locators/log_explorer/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/locators/log_explorer/types.ts diff --git a/x-pack/plugins/log_explorer/common/plugin_config.ts b/x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/plugin_config.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts diff --git a/x-pack/plugins/log_explorer/common/runtime_types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/log_explorer/common/runtime_types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/runtime_types.ts diff --git a/x-pack/plugins/observability_log_explorer/jest.config.js b/x-pack/plugins/observability_solution/logs_explorer/jest.config.js similarity index 65% rename from x-pack/plugins/observability_log_explorer/jest.config.js rename to x-pack/plugins/observability_solution/logs_explorer/jest.config.js index f258a72a9d0c6..474325ddb00f4 100644 --- a/x-pack/plugins/observability_log_explorer/jest.config.js +++ b/x-pack/plugins/observability_solution/logs_explorer/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/observability_log_explorer'], + rootDir: '../../../..', + roots: ['/x-pack/plugins/observability_solution/logs_explorer'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_log_explorer', + '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/logs_explorer', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability_log_explorer/{common,public}/**/*.{ts,tsx}', + '/x-pack/plugins/observability_solution/logs_explorer/{common,public}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/log_explorer/kibana.jsonc b/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc similarity index 89% rename from x-pack/plugins/log_explorer/kibana.jsonc rename to x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc index 9275751ca1898..7b17992562f3c 100644 --- a/x-pack/plugins/log_explorer/kibana.jsonc +++ b/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc @@ -1,15 +1,15 @@ { "type": "plugin", - "id": "@kbn/log-explorer-plugin", + "id": "@kbn/logs-explorer-plugin", "owner": "@elastic/obs-ux-logs-team", "description": "This plugin provides a LogExplorer component using the Discover customization framework, offering several affordances specifically designed for log consumption.", "plugin": { - "id": "logExplorer", + "id": "logsExplorer", "server": true, "browser": true, "configPath": [ "xpack", - "logExplorer" + "logsExplorer" ], "requiredPlugins": [ "controls", diff --git a/x-pack/plugins/log_explorer/public/components/common/copy_button.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/copy_button.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/copy_button.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/copy_button.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/filter_in_button.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/filter_in_button.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/filter_in_button.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/filter_in_button.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/filter_out_button.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/filter_out_button.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/filter_out_button.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/filter_out_button.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/hover_popover.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/hover_popover.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/hover_popover.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/hover_popover.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/log_level.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/log_level.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/log_level.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/log_level.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/popover_chip.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/popover_chip.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/common/popover_chip.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/popover_chip.tsx diff --git a/x-pack/plugins/log_explorer/public/components/common/translations.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.ts similarity index 57% rename from x-pack/plugins/log_explorer/public/components/common/translations.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.ts index c5e3165d95cae..168ea6e2995cb 100644 --- a/x-pack/plugins/log_explorer/public/components/common/translations.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.ts @@ -7,124 +7,130 @@ import { i18n } from '@kbn/i18n'; -export const flyoutContentLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.message', { +export const flyoutContentLabel = i18n.translate('xpack.logsExplorer.flyoutDetail.label.message', { defaultMessage: 'Content breakdown', }); -export const contentLabel = i18n.translate('xpack.logExplorer.dataTable.header.popover.content', { +export const contentLabel = i18n.translate('xpack.logsExplorer.dataTable.header.popover.content', { defaultMessage: 'Content', }); -export const resourceLabel = i18n.translate('xpack.logExplorer.dataTable.header.popover.resource', { - defaultMessage: 'Resource', -}); +export const resourceLabel = i18n.translate( + 'xpack.logsExplorer.dataTable.header.popover.resource', + { + defaultMessage: 'Resource', + } +); -export const flyoutServiceLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.service', { +export const flyoutServiceLabel = i18n.translate('xpack.logsExplorer.flyoutDetail.label.service', { defaultMessage: 'Service', }); -export const flyoutTraceLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.trace', { +export const flyoutTraceLabel = i18n.translate('xpack.logsExplorer.flyoutDetail.label.trace', { defaultMessage: 'Trace', }); -export const flyoutHostNameLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.hostName', { - defaultMessage: 'Host name', -}); +export const flyoutHostNameLabel = i18n.translate( + 'xpack.logsExplorer.flyoutDetail.label.hostName', + { + defaultMessage: 'Host name', + } +); export const serviceInfraAccordionTitle = i18n.translate( - 'xpack.logExplorer.flyoutDetail.accordion.title.serviceInfra', + 'xpack.logsExplorer.flyoutDetail.accordion.title.serviceInfra', { defaultMessage: 'Service & Infrastructure', } ); export const cloudAccordionTitle = i18n.translate( - 'xpack.logExplorer.flyoutDetail.accordion.title.cloud', + 'xpack.logsExplorer.flyoutDetail.accordion.title.cloud', { defaultMessage: 'Cloud', } ); export const otherAccordionTitle = i18n.translate( - 'xpack.logExplorer.flyoutDetail.accordion.title.other', + 'xpack.logsExplorer.flyoutDetail.accordion.title.other', { defaultMessage: 'Other', } ); export const flyoutOrchestratorClusterNameLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.orchestratorClusterName', + 'xpack.logsExplorer.flyoutDetail.label.orchestratorClusterName', { defaultMessage: 'Orchestrator cluster Name', } ); export const flyoutOrchestratorResourceIdLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.orchestratorResourceId', + 'xpack.logsExplorer.flyoutDetail.label.orchestratorResourceId', { defaultMessage: 'Orchestrator resource ID', } ); export const flyoutCloudProviderLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.cloudProvider', + 'xpack.logsExplorer.flyoutDetail.label.cloudProvider', { defaultMessage: 'Cloud provider', } ); export const flyoutCloudRegionLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.cloudRegion', + 'xpack.logsExplorer.flyoutDetail.label.cloudRegion', { defaultMessage: 'Cloud region', } ); export const flyoutCloudAvailabilityZoneLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.cloudAvailabilityZone', + 'xpack.logsExplorer.flyoutDetail.label.cloudAvailabilityZone', { defaultMessage: 'Cloud availability zone', } ); export const flyoutCloudProjectIdLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.cloudProjectId', + 'xpack.logsExplorer.flyoutDetail.label.cloudProjectId', { defaultMessage: 'Cloud project ID', } ); export const flyoutCloudInstanceIdLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.cloudInstanceId', + 'xpack.logsExplorer.flyoutDetail.label.cloudInstanceId', { defaultMessage: 'Cloud instance ID', } ); export const flyoutLogPathFileLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.logPathFile', + 'xpack.logsExplorer.flyoutDetail.label.logPathFile', { defaultMessage: 'Log path file', } ); export const flyoutNamespaceLabel = i18n.translate( - 'xpack.logExplorer.flyoutDetail.label.namespace', + 'xpack.logsExplorer.flyoutDetail.label.namespace', { defaultMessage: 'Namespace', } ); -export const flyoutDatasetLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.dataset', { +export const flyoutDatasetLabel = i18n.translate('xpack.logsExplorer.flyoutDetail.label.dataset', { defaultMessage: 'Dataset', }); -export const flyoutShipperLabel = i18n.translate('xpack.logExplorer.flyoutDetail.label.shipper', { +export const flyoutShipperLabel = i18n.translate('xpack.logsExplorer.flyoutDetail.label.shipper', { defaultMessage: 'Shipper', }); export const actionFilterForText = (text: string) => - i18n.translate('xpack.logExplorer.flyoutDetail.value.hover.filterFor', { + i18n.translate('xpack.logsExplorer.flyoutDetail.value.hover.filterFor', { defaultMessage: 'Filter for this {value}', values: { value: text, @@ -132,48 +138,48 @@ export const actionFilterForText = (text: string) => }); export const actionFilterOutText = (text: string) => - i18n.translate('xpack.logExplorer.flyoutDetail.value.hover.filterOut', { + i18n.translate('xpack.logsExplorer.flyoutDetail.value.hover.filterOut', { defaultMessage: 'Filter out this {value}', values: { value: text, }, }); -export const filterOutText = i18n.translate('xpack.logExplorer.popoverAction.filterOut', { +export const filterOutText = i18n.translate('xpack.logsExplorer.popoverAction.filterOut', { defaultMessage: 'Filter out', }); -export const filterForText = i18n.translate('xpack.logExplorer.popoverAction.filterFor', { +export const filterForText = i18n.translate('xpack.logsExplorer.popoverAction.filterFor', { defaultMessage: 'Filter for', }); export const flyoutHoverActionFilterForFieldPresentText = i18n.translate( - 'xpack.logExplorer.flyoutDetail.value.hover.filterForFieldPresent', + 'xpack.logsExplorer.flyoutDetail.value.hover.filterForFieldPresent', { defaultMessage: 'Filter for field present', } ); export const flyoutHoverActionToggleColumnText = i18n.translate( - 'xpack.logExplorer.flyoutDetail.value.hover.toggleColumn', + 'xpack.logsExplorer.flyoutDetail.value.hover.toggleColumn', { defaultMessage: 'Toggle column in table', } ); export const flyoutHoverActionCopyToClipboardText = i18n.translate( - 'xpack.logExplorer.flyoutDetail.value.hover.copyToClipboard', + 'xpack.logsExplorer.flyoutDetail.value.hover.copyToClipboard', { defaultMessage: 'Copy to clipboard', } ); -export const copyValueText = i18n.translate('xpack.logExplorer.popoverAction.copyValue', { +export const copyValueText = i18n.translate('xpack.logsExplorer.popoverAction.copyValue', { defaultMessage: 'Copy value', }); export const copyValueAriaText = (fieldName: string) => - i18n.translate('xpack.logExplorer.popoverAction.copyValueAriaText', { + i18n.translate('xpack.logsExplorer.popoverAction.copyValueAriaText', { defaultMessage: 'Copy value of {fieldName}', values: { fieldName, @@ -181,7 +187,7 @@ export const copyValueAriaText = (fieldName: string) => }); export const flyoutAccordionShowMoreText = (count: number) => - i18n.translate('xpack.logExplorer.flyoutDetail.section.showMore', { + i18n.translate('xpack.logsExplorer.flyoutDetail.section.showMore', { defaultMessage: '+ {hiddenCount} more', values: { hiddenCount: count, @@ -189,35 +195,35 @@ export const flyoutAccordionShowMoreText = (count: number) => }); export const openCellActionPopoverAriaText = i18n.translate( - 'xpack.logExplorer.popoverAction.openPopover', + 'xpack.logsExplorer.popoverAction.openPopover', { defaultMessage: 'Open popover', } ); export const closeCellActionPopoverText = i18n.translate( - 'xpack.logExplorer.popoverAction.closePopover', + 'xpack.logsExplorer.popoverAction.closePopover', { defaultMessage: 'Close popover', } ); export const contentHeaderTooltipParagraph1 = i18n.translate( - 'xpack.logExplorer.dataTable.header.content.tooltip.paragraph1', + 'xpack.logsExplorer.dataTable.header.content.tooltip.paragraph1', { defaultMessage: "Fields that provide information on the document's source, such as:", } ); export const contentHeaderTooltipParagraph2 = i18n.translate( - 'xpack.logExplorer.dataTable.header.content.tooltip.paragraph2', + 'xpack.logsExplorer.dataTable.header.content.tooltip.paragraph2', { defaultMessage: 'When the message field is empty, one of the following is displayed', } ); export const resourceHeaderTooltipParagraph = i18n.translate( - 'xpack.logExplorer.dataTable.header.resource.tooltip.paragraph', + 'xpack.logsExplorer.dataTable.header.resource.tooltip.paragraph', { defaultMessage: "Fields that provide information on the document's source, such as:", } diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/constants.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx similarity index 60% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/constants.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx index dd8a104744504..00ccc381e0038 100644 --- a/x-pack/plugins/log_explorer/public/components/dataset_selector/constants.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx @@ -17,78 +17,78 @@ export const DATA_VIEWS_TAB_ID = 'dataset-selector-data-views-tab'; export const DATA_VIEW_POPOVER_CONTENT_WIDTH = 400; -export const showAllLogsLabel = i18n.translate('xpack.logExplorer.datasetSelector.showAllLogs', { +export const showAllLogsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.showAllLogs', { defaultMessage: 'Show all logs', }); -export const integrationsLabel = i18n.translate('xpack.logExplorer.datasetSelector.integrations', { +export const integrationsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.integrations', { defaultMessage: 'Integrations', }); export const uncategorizedLabel = i18n.translate( - 'xpack.logExplorer.datasetSelector.uncategorized', + 'xpack.logsExplorer.datasetSelector.uncategorized', { defaultMessage: 'Uncategorized' } ); -export const dataViewsLabel = i18n.translate('xpack.logExplorer.datasetSelector.dataViews', { +export const dataViewsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.dataViews', { defaultMessage: 'Data Views', }); -export const openDiscoverLabel = i18n.translate('xpack.logExplorer.datasetSelector.openDiscover', { +export const openDiscoverLabel = i18n.translate('xpack.logsExplorer.datasetSelector.openDiscover', { defaultMessage: 'Opens in Discover', }); -export const sortOrdersLabel = i18n.translate('xpack.logExplorer.datasetSelector.sortOrders', { +export const sortOrdersLabel = i18n.translate('xpack.logsExplorer.datasetSelector.sortOrders', { defaultMessage: 'Sort directions', }); -export const noDatasetsLabel = i18n.translate('xpack.logExplorer.datasetSelector.noDatasets', { +export const noDatasetsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDatasets', { defaultMessage: 'No data streams found', }); export const noDatasetsDescriptionLabel = i18n.translate( - 'xpack.logExplorer.datasetSelector.noDatasetsDescription', + 'xpack.logsExplorer.datasetSelector.noDatasetsDescription', { defaultMessage: 'No datasets or search results found.', } ); -export const noDataViewsLabel = i18n.translate('xpack.logExplorer.datasetSelector.noDataViews', { +export const noDataViewsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDataViews', { defaultMessage: 'No data views found', }); export const noDataViewsDescriptionLabel = i18n.translate( - 'xpack.logExplorer.datasetSelector.noDataViewsDescription', + 'xpack.logsExplorer.datasetSelector.noDataViewsDescription', { defaultMessage: 'No data views or search results found.', } ); export const noIntegrationsLabel = i18n.translate( - 'xpack.logExplorer.datasetSelector.noIntegrations', + 'xpack.logsExplorer.datasetSelector.noIntegrations', { defaultMessage: 'No integrations found' } ); export const noIntegrationsDescriptionLabel = i18n.translate( - 'xpack.logExplorer.datasetSelector.noIntegrationsDescription', + 'xpack.logsExplorer.datasetSelector.noIntegrationsDescription', { defaultMessage: 'No integrations or search results found.', } ); -export const errorLabel = i18n.translate('xpack.logExplorer.datasetSelector.error', { +export const errorLabel = i18n.translate('xpack.logsExplorer.datasetSelector.error', { defaultMessage: 'error', }); -export const noDataRetryLabel = i18n.translate('xpack.logExplorer.datasetSelector.noDataRetry', { +export const noDataRetryLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDataRetry', { defaultMessage: 'Retry', }); -export const tryEsql = i18n.translate('xpack.logExplorer.datasetSelector.TryEsql', { +export const tryEsql = i18n.translate('xpack.logsExplorer.datasetSelector.TryEsql', { defaultMessage: 'Try ES|QL', }); -export const technicalPreview = i18n.translate('xpack.logExplorer.TechPreview', { +export const technicalPreview = i18n.translate('xpack.logsExplorer.TechPreview', { defaultMessage: 'Technical preview', }); diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/dataset_selector.stories.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.stories.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/dataset_selector.stories.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.stories.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/dataset_selector.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/dataset_selector.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/index.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/defaults.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/defaults.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/index.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/state_machine.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/state_machine.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/types.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/data_views_panel_title.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/data_views_panel_title.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/data_views_panel_title.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/data_views_panel_title.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/datasets_popover.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_popover.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/datasets_popover.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_popover.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/esql_selector.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/esql_selector.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/esql_selector.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/esql_selector.tsx diff --git a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/list_status.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx similarity index 97% rename from x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/list_status.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx index 3ea52197207ca..06bacb2f9710d 100644 --- a/x-pack/plugins/log_explorer/public/components/dataset_selector/sub_components/list_status.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx @@ -49,7 +49,7 @@ export const ListStatus = ({ titleSize="s" body={ { const closeButton = ( { registry.add({ id: 'doc_view_log_overview', - title: i18n.translate('xpack.logExplorer.flyoutDetail.docViews.overview', { + title: i18n.translate('xpack.logsExplorer.flyoutDetail.docViews.overview', { defaultMessage: 'Overview', }), order: 0, diff --git a/x-pack/plugins/log_explorer/public/customizations/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/customizations/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_control_panels.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_control_panels.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx diff --git a/x-pack/plugins/log_explorer/public/hooks/use_data_views.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_data_views.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx diff --git a/x-pack/plugins/log_explorer/public/hooks/use_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_dataset_selection.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_dataset_selection.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_datasets.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_datasets.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_discover_action.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_discover_action.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_discover_action.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_discover_action.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_doc_detail.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_doc_detail.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_doc_detail.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_doc_detail.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_esql.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_esql.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx diff --git a/x-pack/plugins/log_explorer/public/hooks/use_flyouot_column_width.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_flyouot_column_width.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_flyouot_column_width.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_flyouot_column_width.tsx diff --git a/x-pack/plugins/log_explorer/public/hooks/use_hover_actions.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_hover_actions.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_hover_actions.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_hover_actions.tsx diff --git a/x-pack/plugins/log_explorer/public/hooks/use_integrations.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_integrations.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_intersection_ref.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_intersection_ref.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts diff --git a/x-pack/plugins/log_explorer/public/hooks/use_virtual_column_services.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_virtual_column_services.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/hooks/use_virtual_column_services.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_virtual_column_services.tsx diff --git a/x-pack/plugins/log_explorer/public/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/index.ts diff --git a/x-pack/plugins/log_explorer/public/plugin.ts b/x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/plugin.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/datasets_client.mock.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/datasets_client.mock.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/datasets_client.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/datasets_client.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/datasets_service.mock.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/datasets_service.mock.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/datasets_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/datasets_service.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts diff --git a/x-pack/plugins/log_explorer/public/services/datasets/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/services/datasets/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/data_views/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/data_views/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/data_views/src/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/data_views/src/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/data_views/src/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/data_views/src/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/data_views/src/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/data_views/src/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/data_views/src/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/data_views/src/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/datasets/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/datasets/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/datasets/src/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/datasets/src/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/datasets/src/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/datasets/src/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/datasets/src/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/datasets/src/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/datasets/src/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/datasets/src/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/integrations/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/integrations/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/integrations/src/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/integrations/src/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/integrations/src/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/integrations/src/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/integrations/src/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/integrations/src/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/integrations/src/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/integrations/src/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/defaults.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/defaults.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/index.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/notifications.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/notifications.ts similarity index 72% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/notifications.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/notifications.ts index 1c2cd471b9f6e..f1c6240aaa40e 100644 --- a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/notifications.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/notifications.ts @@ -11,21 +11,21 @@ import { i18n } from '@kbn/i18n'; export const createDatasetSelectionRestoreFailedNotifier = (toasts: IToasts) => () => toasts.addWarning({ title: i18n.translate( - 'xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle', + 'xpack.logsExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle', { defaultMessage: "We couldn't restore your datasets selection." } ), text: i18n.translate( - 'xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage', + 'xpack.logsExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage', { defaultMessage: 'We switched to "All log datasets" as the default selection.' } ), }); export const createCreateDataViewFailedNotifier = (toasts: IToasts) => () => toasts.addWarning({ - title: i18n.translate('xpack.logExplorer.datasetSelection.createDataViewFailedToastTitle', { + title: i18n.translate('xpack.logsExplorer.datasetSelection.createDataViewFailedToastTitle', { defaultMessage: "We couldn't create a data view for your selection.", }), - text: i18n.translate('xpack.logExplorer.datasetSelection.createDataViewFailedToastMessage', { + text: i18n.translate('xpack.logsExplorer.datasetSelection.createDataViewFailedToastMessage', { defaultMessage: 'We switched to "All log datasets" as the default selection.', }), }); diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/control_panels.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/control_panels.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/control_panels.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/control_panels.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/data_view_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/data_view_service.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/data_view_service.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/data_view_service.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/discover_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/discover_service.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/discover_service.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/discover_service.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/selection_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/selection_service.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/selection_service.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/selection_service.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/timefilter_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/timefilter_service.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/services/timefilter_service.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/services/timefilter_service.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/state_machine.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/state_machine.ts diff --git a/x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/state_machines/log_explorer_controller/src/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/state_machines/log_explorer_controller/src/types.ts diff --git a/x-pack/plugins/log_explorer/public/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/types.ts diff --git a/x-pack/plugins/log_explorer/public/utils/comparator_by_field.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/comparator_by_field.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts diff --git a/x-pack/plugins/log_explorer/public/utils/convert_discover_app_state.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/convert_discover_app_state.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts diff --git a/x-pack/plugins/log_explorer/public/utils/dynamic.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/utils/dynamic.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/dynamic.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/dynamic.tsx diff --git a/x-pack/plugins/log_explorer/public/utils/get_data_view_test_subj.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/get_data_view_test_subj.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts diff --git a/x-pack/plugins/log_explorer/public/utils/parse_data_view_list_item.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/parse_data_view_list_item.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/parse_data_view_list_item.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/parse_data_view_list_item.ts diff --git a/x-pack/plugins/log_explorer/public/utils/proxies.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/proxies.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts diff --git a/x-pack/plugins/log_explorer/public/utils/resource.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/resource.ts similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/resource.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/resource.ts diff --git a/x-pack/plugins/log_explorer/public/utils/use_kibana.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/log_explorer/public/utils/use_kibana.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/log_explorer/server/index.ts b/x-pack/plugins/observability_solution/logs_explorer/server/index.ts similarity index 100% rename from x-pack/plugins/log_explorer/server/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/server/index.ts diff --git a/x-pack/plugins/log_explorer/server/plugin.ts b/x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts similarity index 100% rename from x-pack/plugins/log_explorer/server/plugin.ts rename to x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts diff --git a/x-pack/plugins/log_explorer/server/types.ts b/x-pack/plugins/observability_solution/logs_explorer/server/types.ts similarity index 100% rename from x-pack/plugins/log_explorer/server/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/server/types.ts diff --git a/x-pack/plugins/log_explorer/tsconfig.json b/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json similarity index 96% rename from x-pack/plugins/log_explorer/tsconfig.json rename to x-pack/plugins/observability_solution/logs_explorer/tsconfig.json index 69395d75f5b59..49ba47152f29b 100644 --- a/x-pack/plugins/log_explorer/tsconfig.json +++ b/x-pack/plugins/observability_solution/logs_explorer/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_log_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/.storybook/__mocks__/package_icon.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx diff --git a/x-pack/plugins/observability_log_explorer/.storybook/main.js b/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_log_explorer/.storybook/main.js rename to x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js diff --git a/x-pack/plugins/observability_log_explorer/.storybook/preview.js b/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_log_explorer/.storybook/preview.js rename to x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js diff --git a/x-pack/plugins/observability_log_explorer/README.md b/x-pack/plugins/observability_solution/observability_logs_explorer/README.md similarity index 86% rename from x-pack/plugins/observability_log_explorer/README.md rename to x-pack/plugins/observability_solution/observability_logs_explorer/README.md index 8e6f910f2da4e..ae3c50138ab46 100644 --- a/x-pack/plugins/observability_log_explorer/README.md +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/README.md @@ -1,6 +1,6 @@ # Observability Log Explorer -This plugin provides an app based on the `LogExplorer` component from the `log_explorer` plugin, but adds observability-specific affordances. +This plugin provides an app based on the `LogExplorer` component from the `logs_explorer` plugin, but adds observability-specific affordances. ## Testing @@ -41,11 +41,11 @@ yarn test:ftr:runner --config ./x-pack/test_serverless/functional/test_suites/ob #### Log Explorer ``` -node scripts/type_check.js --project x-pack/plugins/log_explorer/tsconfig.json +node scripts/type_check.js --project x-pack/plugins/observability_solution/logs_explorer/tsconfig.json ``` #### Observability Log Explorer ``` -node scripts/type_check.js --project x-pack/plugins/observability_log_explorer/tsconfig.json +node scripts/type_check.js --project x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json ``` ### Generating Data using Synthtrace @@ -67,5 +67,5 @@ node scripts/synthtrace logs_and_metrics.ts --clean [--live] The limit is done to protect us in case we add some dependency that heavily impacts the bundle size, so this is not to be intended as a fix, but as a conscious update after double-checking the bundle size increase and see if it can be reduced ``` -node scripts/build_kibana_platform_plugins --focus logExplorer --update-limits +node scripts/build_kibana_platform_plugins --focus logsExplorer --update-limits ``` \ No newline at end of file diff --git a/x-pack/plugins/observability_log_explorer/common/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/all_datasets/all_datasets_locator.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets/all_datasets_locator.ts similarity index 93% rename from x-pack/plugins/observability_log_explorer/common/locators/all_datasets/all_datasets_locator.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets/all_datasets_locator.ts index 41cf67546c78d..aec30d4b6762c 100644 --- a/x-pack/plugins/observability_log_explorer/common/locators/all_datasets/all_datasets_locator.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets/all_datasets_locator.ts @@ -6,7 +6,7 @@ */ import type { LocatorDefinition, LocatorPublic } from '@kbn/share-plugin/public'; -import { AllDatasetSelection } from '@kbn/log-explorer-plugin/common'; +import { AllDatasetSelection } from '@kbn/logs-explorer-plugin/common'; import { AllDatasetsLocatorParams, ALL_DATASETS_LOCATOR_ID, diff --git a/x-pack/plugins/observability_log_explorer/common/locators/all_datasets/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/all_datasets/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/locators.test.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/locators.test.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/single_dataset/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/single_dataset/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/single_dataset/single_dataset_locator.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset/single_dataset_locator.ts similarity index 95% rename from x-pack/plugins/observability_log_explorer/common/locators/single_dataset/single_dataset_locator.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset/single_dataset_locator.ts index 7f1ed847a9094..7e731e3aaf7a8 100644 --- a/x-pack/plugins/observability_log_explorer/common/locators/single_dataset/single_dataset_locator.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset/single_dataset_locator.ts @@ -6,7 +6,7 @@ */ import type { LocatorDefinition, LocatorPublic } from '@kbn/share-plugin/public'; -import { UnresolvedDatasetSelection } from '@kbn/log-explorer-plugin/common'; +import { UnresolvedDatasetSelection } from '@kbn/logs-explorer-plugin/common'; import type { IndexPattern } from '@kbn/io-ts-utils'; import { SingleDatasetLocatorParams, diff --git a/x-pack/plugins/observability_log_explorer/common/locators/types.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/types.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts diff --git a/x-pack/plugins/observability_log_explorer/common/locators/utils/construct_locator_path.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts similarity index 98% rename from x-pack/plugins/observability_log_explorer/common/locators/utils/construct_locator_path.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts index 57c5cb018a77d..664251374d88c 100644 --- a/x-pack/plugins/observability_log_explorer/common/locators/utils/construct_locator_path.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts @@ -15,7 +15,7 @@ import { AvailableControlPanels, availableControlsPanels, DatasetSelectionPlain, -} from '@kbn/log-explorer-plugin/common'; +} from '@kbn/logs-explorer-plugin/common'; import { OBSERVABILITY_LOG_EXPLORER_APP_ID } from '@kbn/deeplinks-observability'; import { OBSERVABILITY_LOG_EXPLORER_URL_STATE_KEY, urlSchemaV1 } from '../../url_schema'; import { deepCompactObject } from '../../utils/deep_compact_object'; diff --git a/x-pack/plugins/observability_log_explorer/common/locators/utils/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/locators/utils/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/plugin_config.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/plugin_config.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts diff --git a/x-pack/plugins/observability_log_explorer/common/translations.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts similarity index 74% rename from x-pack/plugins/observability_log_explorer/common/translations.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts index fb810311d134d..8bfe1c3eec000 100644 --- a/x-pack/plugins/observability_log_explorer/common/translations.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts @@ -7,48 +7,48 @@ import { i18n } from '@kbn/i18n'; -export const logExplorerAppTitle = i18n.translate('xpack.observabilityLogExplorer.appTitle', { +export const logExplorerAppTitle = i18n.translate('xpack.observabilityLogsExplorer.appTitle', { defaultMessage: 'Logs Explorer', }); -export const logsAppTitle = i18n.translate('xpack.observabilityLogExplorer.logsAppTitle', { +export const logsAppTitle = i18n.translate('xpack.observabilityLogsExplorer.logsAppTitle', { defaultMessage: 'Logs', }); export const observabilityAppTitle = i18n.translate( - 'xpack.observabilityLogExplorer.observabilityAppTitle', + 'xpack.observabilityLogsExplorer.observabilityAppTitle', { defaultMessage: 'Observability', } ); -export const betaBadgeTitle = i18n.translate('xpack.observabilityLogExplorer.betaBadgeTitle', { +export const betaBadgeTitle = i18n.translate('xpack.observabilityLogsExplorer.betaBadgeTitle', { defaultMessage: 'Beta', }); export const betaBadgeDescription = i18n.translate( - 'xpack.observabilityLogExplorer.betaBadgeDescription', + 'xpack.observabilityLogsExplorer.betaBadgeDescription', { defaultMessage: 'This application is in beta and therefore subject to change.', } ); export const discoverLinkTitle = i18n.translate( - 'xpack.observabilityLogExplorer.discoverLinkTitle', + 'xpack.observabilityLogsExplorer.discoverLinkTitle', { defaultMessage: 'Open in Discover', } ); export const onboardingLinkTitle = i18n.translate( - 'xpack.observabilityLogExplorer.onboardingLinkTitle', + 'xpack.observabilityLogsExplorer.onboardingLinkTitle', { defaultMessage: 'Add data', } ); export const feedbackLinkTitle = i18n.translate( - 'xpack.observabilityLogExplorer.feedbackLinkTitle', + 'xpack.observabilityLogsExplorer.feedbackLinkTitle', { defaultMessage: 'Give feedback', } diff --git a/x-pack/plugins/observability_log_explorer/common/url_schema/common.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/url_schema/common.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts diff --git a/x-pack/plugins/observability_log_explorer/common/url_schema/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/url_schema/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts diff --git a/x-pack/plugins/observability_log_explorer/common/url_schema/url_schema_v1.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts similarity index 98% rename from x-pack/plugins/observability_log_explorer/common/url_schema/url_schema_v1.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts index c4f611466a4f6..dbeb3ae1fd274 100644 --- a/x-pack/plugins/observability_log_explorer/common/url_schema/url_schema_v1.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { availableControlsPanels, datasetSelectionPlainRT } from '@kbn/log-explorer-plugin/common'; +import { availableControlsPanels, datasetSelectionPlainRT } from '@kbn/logs-explorer-plugin/common'; import * as rt from 'io-ts'; export const columnRT = rt.intersection([ diff --git a/x-pack/plugins/observability_log_explorer/common/utils/deep_compact_object.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/common/utils/deep_compact_object.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts 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 new file mode 100644 index 0000000000000..710181b10939f --- /dev/null +++ b/x-pack/plugins/observability_solution/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/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/observability_log_explorer/kibana.jsonc b/x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc similarity index 80% rename from x-pack/plugins/observability_log_explorer/kibana.jsonc rename to x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc index d3d96863ac37e..42d762820aaad 100644 --- a/x-pack/plugins/observability_log_explorer/kibana.jsonc +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc @@ -1,20 +1,20 @@ { "type": "plugin", - "id": "@kbn/observability-log-explorer-plugin", + "id": "@kbn/observability-logs-explorer-plugin", "owner": "@elastic/obs-ux-logs-team", "description": "This plugin exposes and registers observability log consumption features.", "plugin": { - "id": "observabilityLogExplorer", + "id": "observabilityLogsExplorer", "server": true, "browser": true, "configPath": [ "xpack", - "observabilityLogExplorer" + "observabilityLogsExplorer" ], "requiredPlugins": [ "data", "discover", - "logExplorer", + "logsExplorer", "logsShared", "observabilityAIAssistant", "observabilityShared", @@ -32,4 +32,4 @@ "common", ] } -} \ No newline at end of file +} diff --git a/x-pack/plugins/observability_log_explorer/public/applications/observability_log_explorer.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_log_explorer.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/applications/observability_log_explorer.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_log_explorer.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/components/discover_link.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx similarity index 96% rename from x-pack/plugins/observability_log_explorer/public/components/discover_link.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx index d2195124bc292..a9f50468a8db9 100644 --- a/x-pack/plugins/observability_log_explorer/public/components/discover_link.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx @@ -8,11 +8,11 @@ import { EuiHeaderLink } from '@elastic/eui'; import { DiscoverAppLocatorParams } from '@kbn/discover-plugin/common'; import { DiscoverStart } from '@kbn/discover-plugin/public'; -import { hydrateDatasetSelection } from '@kbn/log-explorer-plugin/common'; +import { hydrateDatasetSelection } from '@kbn/logs-explorer-plugin/common'; import { getDiscoverColumnsFromDisplayOptions, getDiscoverFiltersFromState, -} from '@kbn/log-explorer-plugin/public'; +} from '@kbn/logs-explorer-plugin/public'; import { getRouterLinkProps } from '@kbn/router-utils'; import { MatchedStateFromActor } from '@kbn/xstate-utils'; import { useActor } from '@xstate/react'; diff --git a/x-pack/plugins/observability_log_explorer/public/components/feedback_link.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/components/feedback_link.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/components/log_explorer_top_nav_menu.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/log_explorer_top_nav_menu.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/components/log_explorer_top_nav_menu.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/components/log_explorer_top_nav_menu.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/components/onboarding_link.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/components/onboarding_link.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/components/page_template.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/components/page_template.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts diff --git a/x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/flyout_content.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/flyout_content.tsx similarity index 97% rename from x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/flyout_content.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/flyout_content.tsx index 7983c6ed39433..3136595bdf993 100644 --- a/x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/flyout_content.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/flyout_content.tsx @@ -8,7 +8,7 @@ import { EuiFlexItem } from '@elastic/eui'; import { LogExplorerCustomizations, LogExplorerFlyoutContentProps, -} from '@kbn/log-explorer-plugin/public'; +} from '@kbn/logs-explorer-plugin/public'; import type { LogAIAssistantDocument } from '@kbn/logs-shared-plugin/public'; import React, { useMemo } from 'react'; import { useKibanaContextForPlugin } from '../utils/use_kibana'; diff --git a/x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/index.ts similarity index 89% rename from x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/index.ts index 02909efed0d81..4e96519efb949 100644 --- a/x-pack/plugins/observability_log_explorer/public/log_explorer_customizations/index.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/log_explorer_customizations/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { CreateLogExplorerController } from '@kbn/log-explorer-plugin/public'; +import { CreateLogExplorerController } from '@kbn/logs-explorer-plugin/public'; import { renderFlyoutContent } from './flyout_content'; export const createLogExplorerControllerWithCustomizations = diff --git a/x-pack/plugins/observability_log_explorer/public/plugin.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/plugin.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts diff --git a/x-pack/plugins/observability_log_explorer/public/routes/main/dataset_quality_route.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/dataset_quality_route.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/routes/main/dataset_quality_route.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/dataset_quality_route.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/routes/main/index.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/routes/main/index.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/routes/main/main_route.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx similarity index 89% rename from x-pack/plugins/observability_log_explorer/public/routes/main/main_route.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx index 333d79bc6dd3c..e8b93562915c4 100644 --- a/x-pack/plugins/observability_log_explorer/public/routes/main/main_route.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx @@ -9,7 +9,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import type { LogExplorerController, LogExplorerPluginStart, -} from '@kbn/log-explorer-plugin/public'; +} from '@kbn/logs-explorer-plugin/public'; import { useActor } from '@xstate/react'; import React, { useMemo } from 'react'; import { LogExplorerTopNavMenu } from '../../components/log_explorer_top_nav_menu'; @@ -27,7 +27,7 @@ import { useKibanaContextForPlugin } from '../../utils/use_kibana'; export const ObservabilityLogExplorerMainRoute = () => { const { services } = useKibanaContextForPlugin(); - const { logExplorer, serverless, chrome, notifications, appParams } = services; + const { logsExplorer, serverless, chrome, notifications, appParams } = services; const { history } = appParams; useBreadcrumbs(noBreadcrumbs, chrome, serverless); @@ -35,8 +35,8 @@ export const ObservabilityLogExplorerMainRoute = () => { const urlStateStorageContainer = useKbnUrlStateStorageFromRouterContext(); const createLogExplorerController = useMemo( - () => createLogExplorerControllerWithCustomizations(logExplorer.createLogExplorerController), - [logExplorer.createLogExplorerController] + () => createLogExplorerControllerWithCustomizations(logsExplorer.createLogExplorerController), + [logsExplorer.createLogExplorerController] ); return ( @@ -57,7 +57,7 @@ const ConnectedContent = React.memo(() => { const { services: { appParams: { history }, - logExplorer, + logsExplorer, }, } = useKibanaContextForPlugin(); @@ -68,7 +68,7 @@ const ConnectedContent = React.memo(() => { ); } else { @@ -82,7 +82,7 @@ const InitializingContent = React.memo(() => ( icon={} title={ } diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts similarity index 94% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts index 05e2b1ba03922..e3c5f85caaef3 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/controller_service.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { CreateLogExplorerController } from '@kbn/log-explorer-plugin/public'; +import type { CreateLogExplorerController } from '@kbn/logs-explorer-plugin/public'; import type { InvokeCreator } from 'xstate'; import type { ObservabilityLogExplorerContext, ObservabilityLogExplorerEvent } from './types'; diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/defaults.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/defaults.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/defaults.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/index.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx similarity index 88% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx index 050420de8875c..79ad5820ff277 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/notifications.tsx @@ -12,7 +12,7 @@ import React from 'react'; export const createRequestFeedbackNotifier = (toasts: IToasts) => () => { toasts.addInfo({ - title: i18n.translate('xpack.observabilityLogExplorer.feedbackToast.title', { + title: i18n.translate('xpack.observabilityLogsExplorer.feedbackToast.title', { defaultMessage: 'Tell us what you think!', }), text: mountReactNode(<>), diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/provider.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/provider.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/provider.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/provider.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts similarity index 98% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts index ecf77d069e08f..e17510c4d49a5 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/state_machine.ts @@ -7,7 +7,7 @@ import { IToasts } from '@kbn/core-notifications-browser'; import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; -import { CreateLogExplorerController } from '@kbn/log-explorer-plugin/public'; +import { CreateLogExplorerController } from '@kbn/logs-explorer-plugin/public'; import { actions, createMachine, InterpreterFrom } from 'xstate'; import { TimefilterContract } from '@kbn/data-plugin/public'; import { DEFAULT_CONTEXT } from './defaults'; diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/time_filter_service.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/time_filter_service.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/time_filter_service.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/time_filter_service.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/types.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/types.ts similarity index 97% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/types.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/types.ts index be039af61708f..d24d0e380613e 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/types.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/types.ts @@ -10,7 +10,7 @@ import { LogExplorerController, LogExplorerPublicState, LogExplorerPublicStateUpdate, -} from '@kbn/log-explorer-plugin/public'; +} from '@kbn/logs-explorer-plugin/public'; export type ObservabilityLogExplorerContext = ObservabilityLogExplorerTypeState['context']; diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts similarity index 95% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts index 353d55ea94324..916ea912c639a 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/url_schema_v1.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogExplorerPublicStateUpdate } from '@kbn/log-explorer-plugin/public'; +import { LogExplorerPublicStateUpdate } from '@kbn/logs-explorer-plugin/public'; import * as rt from 'io-ts'; import { deepCompactObject, urlSchemaV1 } from '../../../../common'; diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/observability_log_explorer/src/url_state_storage_service.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_log_explorer/src/url_state_storage_service.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/component.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/component.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/constants.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/constants.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/defaults.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/defaults.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/notifications.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx similarity index 86% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/notifications.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx index 64c5dcd157a3d..c5ac00986a185 100644 --- a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/notifications.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx @@ -16,13 +16,13 @@ import { FEEDBACK_TOAST_LIFETIME_MS } from './constants'; export const createRequestFeedbackNotifier = (toasts: IToasts) => () => { toasts.addInfo( { - title: i18n.translate('xpack.observabilityLogExplorer.feedbackToast.title', { + title: i18n.translate('xpack.observabilityLogsExplorer.feedbackToast.title', { defaultMessage: 'Tell us what you think!', }), text: mountReactNode( <>

- {i18n.translate('xpack.observabilityLogExplorer.feedbackToast.text', { + {i18n.translate('xpack.observabilityLogsExplorer.feedbackToast.text', { defaultMessage: 'Share with us your onboarding experience and help us improve it.', })}

@@ -36,7 +36,7 @@ export const createRequestFeedbackNotifier = (toasts: IToasts) => () => { target="_blank" color="primary" > - {i18n.translate('xpack.observabilityLogExplorer.feedbackToast.buttonText', { + {i18n.translate('xpack.observabilityLogsExplorer.feedbackToast.buttonText', { defaultMessage: 'Take a quick survey', })} diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/state_machine.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/state_machine.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts diff --git a/x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/types.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/state_machines/origin_interpreter/src/types.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts diff --git a/x-pack/plugins/observability_log_explorer/public/types.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts similarity index 94% rename from x-pack/plugins/observability_log_explorer/public/types.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts index a035d0af1a36d..5016a907ff570 100644 --- a/x-pack/plugins/observability_log_explorer/public/types.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts @@ -6,7 +6,7 @@ */ import { DataPublicPluginStart } from '@kbn/data-plugin/public'; -import { LogExplorerPluginStart } from '@kbn/log-explorer-plugin/public'; +import { LogExplorerPluginStart } from '@kbn/logs-explorer-plugin/public'; import { DiscoverSetup, DiscoverStart } from '@kbn/discover-plugin/public'; import { ObservabilitySharedPluginStart } from '@kbn/observability-shared-plugin/public'; import { ServerlessPluginStart } from '@kbn/serverless/public'; @@ -36,7 +36,7 @@ export interface ObservabilityLogExplorerSetupDeps { export interface ObservabilityLogExplorerStartDeps { data: DataPublicPluginStart; discover: DiscoverStart; - logExplorer: LogExplorerPluginStart; + logsExplorer: LogExplorerPluginStart; logsShared: LogsSharedClientStartExports; observabilityAIAssistant: ObservabilityAIAssistantPluginStart; observabilityShared: ObservabilitySharedPluginStart; diff --git a/x-pack/plugins/observability_log_explorer/public/utils/breadcrumbs.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/utils/breadcrumbs.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx diff --git a/x-pack/plugins/observability_log_explorer/public/utils/kbn_url_state_context.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/utils/kbn_url_state_context.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts diff --git a/x-pack/plugins/observability_log_explorer/public/utils/use_kibana.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_log_explorer/public/utils/use_kibana.tsx rename to x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/observability_log_explorer/server/config.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts similarity index 77% rename from x-pack/plugins/observability_log_explorer/server/config.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts index 9718345a72a25..f403a7c747ee4 100644 --- a/x-pack/plugins/observability_log_explorer/server/config.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts @@ -28,7 +28,17 @@ export const config: PluginConfigDescriptor = { deprecations: ({ renameFromRoot }) => [ renameFromRoot( 'xpack.discoverLogExplorer.featureFlags.deepLinkVisible', + 'xpack.observabilityLogsExplorer.navigation.showAppLink', + { level: 'warning' } + ), + renameFromRoot( 'xpack.observabilityLogExplorer.navigation.showAppLink', + 'xpack.observabilityLogsExplorer.navigation.showAppLink', + { level: 'warning' } + ), + renameFromRoot( + 'xpack.observabilityLogExplorer.enabled', + 'xpack.observabilityLogsExplorer.enabled', { level: 'warning' } ), ], diff --git a/x-pack/plugins/observability_log_explorer/server/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/server/index.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts diff --git a/x-pack/plugins/observability_log_explorer/server/plugin.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_log_explorer/server/plugin.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts diff --git a/x-pack/plugins/observability_log_explorer/tsconfig.json b/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json similarity index 92% rename from x-pack/plugins/observability_log_explorer/tsconfig.json rename to x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json index 67fb556143771..7192e3001a70b 100644 --- a/x-pack/plugins/observability_log_explorer/tsconfig.json +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -25,7 +25,7 @@ "@kbn/io-ts-utils", "@kbn/kibana-react-plugin", "@kbn/kibana-utils-plugin", - "@kbn/log-explorer-plugin", + "@kbn/logs-explorer-plugin", "@kbn/logs-shared-plugin", "@kbn/observability-shared-plugin", "@kbn/react-kibana-context-render", diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index c86d796052a9f..5eaceb182e5cd 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -22917,27 +22917,6 @@ "xpack.lists.exceptions.comboBoxCustomOptionText": "Sélectionnez un champ dans la liste. Si votre champ n'est pas disponible, créez un champ personnalisé.", "xpack.lists.exceptions.field.mappingConflict.description": "Ce champ est défini avec différents types dans les index suivants ou il n'est pas mappé, ce qui peut entraîner des résultats inattendus lors des requêtes.", "xpack.lists.exceptions.orDescription": "OR", - "xpack.logExplorer.datasetSelector.noDataError": "Une {error} s'est produite lors de l'obtention de vos données. Veuillez réessayer.", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastMessage": "La section par défaut a été modifiée en \"All log datasets\" (Tous les logs des ensembles de données)", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastTitle": "Nous n'avons pas pu créer de vue des données pour votre sélection.", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage": "La section par défaut a été modifiée en \"All log datasets\" (Tous les logs des ensembles de données)", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle": "Nous n'avons pu restaurer votre sélection d'ensembles de données.", - "xpack.logExplorer.datasetSelector.dataViews": "Vues de données", - "xpack.logExplorer.datasetSelector.error": "erreur", - "xpack.logExplorer.datasetSelector.integrations": "Intégrations", - "xpack.logExplorer.datasetSelector.noDataRetry": "Réessayer", - "xpack.logExplorer.datasetSelector.noDatasets": "Flux de données introuvable", - "xpack.logExplorer.datasetSelector.noDatasetsDescription": "Aucun ensemble de données ou résultat de recherche trouvé.", - "xpack.logExplorer.datasetSelector.noDataViews": "Aucune vue de données trouvée", - "xpack.logExplorer.datasetSelector.noDataViewsDescription": "Aucune vue de données ou résultat de recherche trouvé.", - "xpack.logExplorer.datasetSelector.noIntegrations": "Aucune intégration trouvée", - "xpack.logExplorer.datasetSelector.noIntegrationsDescription": "Aucune intégration ou résultat de recherche trouvé.", - "xpack.logExplorer.datasetSelector.openDiscover": "S'ouvre dans Discover", - "xpack.logExplorer.datasetSelector.showAllLogs": "Afficher tous les logs", - "xpack.logExplorer.datasetSelector.sortOrders": "Sens de tri", - "xpack.logExplorer.datasetSelector.TryEsql": "Essayer ES|QL", - "xpack.logExplorer.datasetSelector.uncategorized": "Non catégorisé", - "xpack.logExplorer.TechPreview": "Version d'évaluation technique", "xpack.logsShared.dataSearch.shardFailureErrorMessage": "Index {indexName} : {errorMessage}", "xpack.logsShared.logFlyout.flyoutSubTitle": "À partir de l'index {indexName}", "xpack.logsShared.logFlyout.flyoutTitle": "Détails de l'entrée de log {logEntryId}", @@ -42971,11 +42950,6 @@ "xpack.features.savedQueryManagementFeatureName": "Gestion des requêtes enregistrées", "xpack.features.savedQueryManagementTooltip": "Si \"All\" (Tout) est défini, les requêtes enregistrées peuvent être gérées grâce à Kibana dans toutes les applications compatibles. Si \"None\" est défini, les privilèges relatifs aux requêtes enregistrées sont fixés indépendamment pour chaque application.", "xpack.features.visualizeFeatureName": "Bibliothèque Visualize", - "xpack.observabilityLogExplorer.appTitle": "Explorateur de log", - "xpack.observabilityLogExplorer.betaBadgeDescription": "Il s'agit du stade bêta de l'application, qui est donc susceptible d'évoluer.", - "xpack.observabilityLogExplorer.betaBadgeTitle": "Bêta", - "xpack.observabilityLogExplorer.discoverLinkTitle": "Ouvrir dans Discover", - "xpack.observabilityLogExplorer.onboardingLinkTitle": "Ajouter des données", "xpack.painlessLab.apiReferenceButtonLabel": "Référence d'API", "xpack.painlessLab.context.defaultLabel": "Le résultat de script sera converti en chaîne", "xpack.painlessLab.context.filterLabel": "Utiliser le contexte d'une requête de script d'un filtre", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index de14665faed60..c0d8dd949344c 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -22933,27 +22933,6 @@ "xpack.lists.exceptions.comboBoxCustomOptionText": "リストからフィールドを選択してください。フィールドがない場合は、カスタムフィールドを作成してください。", "xpack.lists.exceptions.field.mappingConflict.description": "このフィールドは、次のインデックスで別の型として定義されているか、マッピングされていません。これにより、予期しないクエリ結果になる場合があります。", "xpack.lists.exceptions.orDescription": "OR", - "xpack.logExplorer.datasetSelector.noDataError": "データの取得中に{error}が発生しました。再試行してください。", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastMessage": "\"すべてのログデータセット\"をデフォルトの選択として切り替えました。", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastTitle": "選択されたデータビューを作成できませんでした。", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage": "\"すべてのログデータセット\"をデフォルトの選択として切り替えました。", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle": "データセットの選択を復元できませんでした。", - "xpack.logExplorer.datasetSelector.dataViews": "データビュー", - "xpack.logExplorer.datasetSelector.error": "エラー", - "xpack.logExplorer.datasetSelector.integrations": "統合", - "xpack.logExplorer.datasetSelector.noDataRetry": "再試行", - "xpack.logExplorer.datasetSelector.noDatasets": "データストリームが見つかりません", - "xpack.logExplorer.datasetSelector.noDatasetsDescription": "データセットまたは検索結果が見つかりません。", - "xpack.logExplorer.datasetSelector.noDataViews": "データビューが見つかりません", - "xpack.logExplorer.datasetSelector.noDataViewsDescription": "データビューまたは検索結果が見つかりません。", - "xpack.logExplorer.datasetSelector.noIntegrations": "統合が見つかりません", - "xpack.logExplorer.datasetSelector.noIntegrationsDescription": "統合または検索結果が見つかりません。", - "xpack.logExplorer.datasetSelector.openDiscover": "Discoverで開く", - "xpack.logExplorer.datasetSelector.showAllLogs": "すべてのログを表示", - "xpack.logExplorer.datasetSelector.sortOrders": "並べ替え方向", - "xpack.logExplorer.datasetSelector.TryEsql": "ES|QLを試す", - "xpack.logExplorer.datasetSelector.uncategorized": "未分類", - "xpack.logExplorer.TechPreview": "テクニカルプレビュー", "xpack.logsShared.dataSearch.shardFailureErrorMessage": "インデックス{indexName}:{errorMessage}", "xpack.logsShared.logFlyout.flyoutSubTitle": "インデックス{indexName}から", "xpack.logsShared.logFlyout.flyoutTitle": "ログエントリ{logEntryId}の詳細", @@ -42963,11 +42942,6 @@ "xpack.features.savedQueryManagementFeatureName": "保存されたクエリ管理", "xpack.features.savedQueryManagementTooltip": "[すべて]に設定すると、保存されたクエリは、クエリをサポートするすべてのアプリケーションのKibana全体で管理できます。[なし]に設定すると、保存されたクエリ権限は各アプリケーションで独自に決定されます。", "xpack.features.visualizeFeatureName": "Visualizeライブラリ", - "xpack.observabilityLogExplorer.appTitle": "ログエクスプローラー", - "xpack.observabilityLogExplorer.betaBadgeDescription": "このアプリケーションはベータ版であるため、変更される場合があります。", - "xpack.observabilityLogExplorer.betaBadgeTitle": "ベータ", - "xpack.observabilityLogExplorer.discoverLinkTitle": "Discoverで開く", - "xpack.observabilityLogExplorer.onboardingLinkTitle": "データの追加", "xpack.painlessLab.apiReferenceButtonLabel": "API リファレンス", "xpack.painlessLab.context.defaultLabel": "スクリプト結果は文字列に変換されます", "xpack.painlessLab.context.filterLabel": "フィルターのスクリプトクエリのコンテキストを使用する", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 790ef3dcfad4d..a893ee0a19dab 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -22919,27 +22919,6 @@ "xpack.lists.exceptions.comboBoxCustomOptionText": "从列表中选择字段。如果您的字段不可用,请创建定制字段。", "xpack.lists.exceptions.field.mappingConflict.description": "此字段在以下索引中定义为不同类型或未映射。这可能导致意外的查询结果。", "xpack.lists.exceptions.orDescription": "OR", - "xpack.logExplorer.datasetSelector.noDataError": "获取数据时出现{error}。请重试。", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastMessage": "我们已切换到“所有日志数据集”,将其作为默认选择。", - "xpack.logExplorer.datasetSelection.createDataViewFailedToastTitle": "无法为您选择的内容创建数据视图。", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage": "我们已切换到“所有日志数据集”,将其作为默认选择。", - "xpack.logExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle": "无法还原数据集选择。", - "xpack.logExplorer.datasetSelector.dataViews": "数据视图", - "xpack.logExplorer.datasetSelector.error": "错误", - "xpack.logExplorer.datasetSelector.integrations": "集成", - "xpack.logExplorer.datasetSelector.noDataRetry": "重试", - "xpack.logExplorer.datasetSelector.noDatasets": "找不到任何数据流", - "xpack.logExplorer.datasetSelector.noDatasetsDescription": "找不到数据集或搜索结果。", - "xpack.logExplorer.datasetSelector.noDataViews": "找不到数据视图", - "xpack.logExplorer.datasetSelector.noDataViewsDescription": "找不到数据视图或搜索结果。", - "xpack.logExplorer.datasetSelector.noIntegrations": "未找到集成", - "xpack.logExplorer.datasetSelector.noIntegrationsDescription": "找不到集成或搜索结果。", - "xpack.logExplorer.datasetSelector.openDiscover": "在 Discover 中打开", - "xpack.logExplorer.datasetSelector.showAllLogs": "显示所有日志", - "xpack.logExplorer.datasetSelector.sortOrders": "排序方向", - "xpack.logExplorer.datasetSelector.TryEsql": "尝试 ES|QL", - "xpack.logExplorer.datasetSelector.uncategorized": "未分类", - "xpack.logExplorer.TechPreview": "技术预览", "xpack.logsShared.dataSearch.shardFailureErrorMessage": "索引 {indexName}:{errorMessage}", "xpack.logsShared.logFlyout.flyoutSubTitle": "从索引 {indexName}", "xpack.logsShared.logFlyout.flyoutTitle": "日志条目 {logEntryId} 的详细信息", @@ -42943,11 +42922,6 @@ "xpack.features.savedQueryManagementFeatureName": "已保存查询管理", "xpack.features.savedQueryManagementTooltip": "如果设置为“全部”,可以在支持已保存查询的所有应用程序中管理整个 Kibana 中的已保存查询。如果设置为“无”,将由每个应用程序单独确定已保存查询权限。", "xpack.features.visualizeFeatureName": "Visualize 库", - "xpack.observabilityLogExplorer.appTitle": "日志浏览器", - "xpack.observabilityLogExplorer.betaBadgeDescription": "此应用程序为公测版,因此可能会进行更改。", - "xpack.observabilityLogExplorer.betaBadgeTitle": "公测版", - "xpack.observabilityLogExplorer.discoverLinkTitle": "在 Discover 中打开", - "xpack.observabilityLogExplorer.onboardingLinkTitle": "添加数据", "xpack.painlessLab.apiReferenceButtonLabel": "API 参考", "xpack.painlessLab.context.defaultLabel": "脚本结果将转换成字符串", "xpack.painlessLab.context.filterLabel": "使用筛选脚本查询的上下文", diff --git a/x-pack/test/functional/apps/observability_log_explorer/dataset_selection_state.ts b/x-pack/test/functional/apps/observability_log_explorer/dataset_selection_state.ts index 964ebc12b320b..d8083c4e1e2e1 100644 --- a/x-pack/test/functional/apps/observability_log_explorer/dataset_selection_state.ts +++ b/x-pack/test/functional/apps/observability_log_explorer/dataset_selection_state.ts @@ -6,7 +6,7 @@ */ import expect from '@kbn/expect'; import { decodeOrThrow, indexPatternRt } from '@kbn/io-ts-utils'; -import { DatasetSelectionPlain } from '@kbn/log-explorer-plugin/common'; +import { DatasetSelectionPlain } from '@kbn/logs-explorer-plugin/common'; import { FtrProviderContext } from './config'; const azureActivityDatasetSelection: DatasetSelectionPlain = { diff --git a/x-pack/test/functional/page_objects/observability_log_explorer.ts b/x-pack/test/functional/page_objects/observability_log_explorer.ts index 07cdf818a7ae0..d6746ccd9e015 100644 --- a/x-pack/test/functional/page_objects/observability_log_explorer.ts +++ b/x-pack/test/functional/page_objects/observability_log_explorer.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { OBSERVABILITY_LOG_EXPLORER_URL_STATE_KEY, urlSchemaV1, -} from '@kbn/observability-log-explorer-plugin/common'; +} from '@kbn/observability-logs-explorer-plugin/common'; import rison from '@kbn/rison'; import querystring from 'querystring'; import { WebElementWrapper } from '@kbn/ftr-common-functional-ui-services'; diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index a7642c3fce4e4..bfcc9c21bfe85 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -160,9 +160,9 @@ "@kbn/reporting-export-types-pdf-common", "@kbn/reporting-export-types-png-common", "@kbn/reporting-common", - "@kbn/observability-log-explorer-plugin", + "@kbn/observability-logs-explorer-plugin", "@kbn/io-ts-utils", - "@kbn/log-explorer-plugin", + "@kbn/logs-explorer-plugin", "@kbn/security-plugin-types-common", "@kbn/slo-schema", "@kbn/typed-react-router-config", diff --git a/x-pack/test_serverless/functional/test_suites/observability/observability_log_explorer/dataset_selection_state.ts b/x-pack/test_serverless/functional/test_suites/observability/observability_log_explorer/dataset_selection_state.ts index 36a2451f4115d..b6088ebb6a3d7 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/observability_log_explorer/dataset_selection_state.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/observability_log_explorer/dataset_selection_state.ts @@ -6,7 +6,7 @@ */ import expect from '@kbn/expect'; import { decodeOrThrow, indexPatternRt } from '@kbn/io-ts-utils'; -import { DatasetSelectionPlain } from '@kbn/log-explorer-plugin/common'; +import { DatasetSelectionPlain } from '@kbn/logs-explorer-plugin/common'; import { FtrProviderContext } from '../../../ftr_provider_context'; const azureActivityDatasetSelection: DatasetSelectionPlain = { diff --git a/x-pack/test_serverless/tsconfig.json b/x-pack/test_serverless/tsconfig.json index ec14515dd06aa..3194ecefca674 100644 --- a/x-pack/test_serverless/tsconfig.json +++ b/x-pack/test_serverless/tsconfig.json @@ -81,7 +81,7 @@ "@kbn/reporting-export-types-csv-common", "@kbn/mock-idp-utils", "@kbn/io-ts-utils", - "@kbn/log-explorer-plugin", + "@kbn/logs-explorer-plugin", "@kbn/index-management-plugin", "@kbn/transform-plugin", "@kbn/slo-schema", diff --git a/yarn.lock b/yarn.lock index 6a01fc486afe4..08257783bdad2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5048,15 +5048,15 @@ version "0.0.0" uid "" -"@kbn/log-explorer-plugin@link:x-pack/plugins/log_explorer": +"@kbn/logging-mocks@link:packages/kbn-logging-mocks": version "0.0.0" uid "" -"@kbn/logging-mocks@link:packages/kbn-logging-mocks": +"@kbn/logging@link:packages/kbn-logging": version "0.0.0" uid "" -"@kbn/logging@link:packages/kbn-logging": +"@kbn/logs-explorer-plugin@link:x-pack/plugins/observability_solution/logs_explorer": version "0.0.0" uid "" @@ -5336,7 +5336,7 @@ version "0.0.0" uid "" -"@kbn/observability-log-explorer-plugin@link:x-pack/plugins/observability_log_explorer": +"@kbn/observability-logs-explorer-plugin@link:x-pack/plugins/observability_solution/observability_logs_explorer": version "0.0.0" uid ""