diff --git a/src/cli/serve/serve.js b/src/cli/serve/serve.js index 649901df3fbf..9321adf653eb 100644 --- a/src/cli/serve/serve.js +++ b/src/cli/serve/serve.js @@ -232,7 +232,7 @@ export default function (program) { // links in other documentation sources, like "View this tutorial [here](http://localhost:5601/app/tutorial/xyz)". // We can tell users they only have to run with `yarn start --run-examples` to get those // local links to work. Similar to what we do for "View in Console" links in our - // elastic.co links. + // opensearch.co links. basePath: opts.runExamples ? false : !!opts.basePath, optimize: !!opts.optimize, disableOptimizer: !opts.optimizer, diff --git a/src/cli_plugin/install/settings.js b/src/cli_plugin/install/settings.js index e97aec0a3534..d23819e0c506 100644 --- a/src/cli_plugin/install/settings.js +++ b/src/cli_plugin/install/settings.js @@ -26,7 +26,7 @@ import { fromRoot } from '../../core/server/utils'; function generateUrls({ version, plugin }) { return [ plugin, - `https://artifacts.elastic.co/downloads/kibana-plugins/${plugin}/${plugin}-${version}.zip`, + `https://artifacts.opensearch.co/downloads/kibana-plugins/${plugin}/${plugin}-${version}.zip`, ]; } diff --git a/src/cli_plugin/install/settings.test.js b/src/cli_plugin/install/settings.test.js index 8e243293bc1b..728880110603 100644 --- a/src/cli_plugin/install/settings.test.js +++ b/src/cli_plugin/install/settings.test.js @@ -61,7 +61,7 @@ describe('parse function', function () { "timeout": 0, "urls": Array [ "plugin name", - "https://artifacts.elastic.co/downloads/kibana-plugins/plugin name/plugin name-1234.zip", + "https://artifacts.opensearch.co/downloads/kibana-plugins/plugin name/plugin name-1234.zip", ], "version": 1234, "workingPath": /plugins/.plugin.installing, @@ -88,7 +88,7 @@ describe('parse function', function () { "timeout": 0, "urls": Array [ "plugin name", - "https://artifacts.elastic.co/downloads/kibana-plugins/plugin name/plugin name-1234.zip", + "https://artifacts.opensearch.co/downloads/kibana-plugins/plugin name/plugin name-1234.zip", ], "version": 1234, "workingPath": /plugins/.plugin.installing, diff --git a/src/core/TESTING.md b/src/core/TESTING.md index 7c1c6f20fef8..09299ede8815 100644 --- a/src/core/TESTING.md +++ b/src/core/TESTING.md @@ -10,9 +10,9 @@ This document outlines best practices and patterns for testing OpenSearch Dashbo - [Example](#example) - [Strategies for specific Core APIs](#strategies-for-specific-core-apis) - [HTTP Routes](#http-routes) - - [Preconditions](#preconditions) + - [Preconditions](#preconditions) - [Unit testing](#unit-testing) - - [Example](#example-1) + - [Example](#example-1) - [Integration tests](#integration-tests) - [Functional Test Runner](#functional-test-runner) - [Example](#example-2) @@ -34,15 +34,17 @@ This document outlines best practices and patterns for testing OpenSearch Dashbo ## Strategy In general, we recommend three tiers of tests: -- Unit tests: small, fast, exhaustive, make heavy use of mocks for external dependencies + +- Unit tests: small, fast, exhaustive, make heavy use of mocks for external dependencies - Integration tests: higher-level tests that verify interactions between systems (eg. HTTP APIs, OpenSearch API calls, calling other plugin contracts). - End-to-end tests (e2e): tests that verify user-facing behavior through the browser -These tiers should roughly follow the traditional ["testing pyramid"](https://martinfowler.com/articles/practical-test-pyramid.html), where there are more exhaustive testing at the unit level, fewer at the integration level, and very few at the functional level. +These tiers should roughly follow the traditional ["testing pyramid"](https://martinfowler.com/articles/practical-test-pyramid.html), where there are more exhaustive testing at the unit level, fewer at the integration level, and very few at the functional level. ## New concerns in the OpenSearch Dashboards Platform The OpenSearch Dashboards Platform introduces new concepts that legacy plugins did not have concern themselves with. Namely: + - **Lifecycles**: plugins now have explicit lifecycle methods that must interop with Core APIs and other plugins. - **Shared runtime**: plugins now all run in the same process at the same time. On the frontend, this is different behavior than the legacy plugins. Developers should take care not to break other plugins when interacting with their enviornment (Node.js or Browser). - **Single page application**: OpenSearch Dashboards's frontend is now a single-page application where all plugins are running, but only one application is mounted at a time. Plugins need to handle mounting and unmounting, cleanup, and avoid overriding global browser behaviors in this shared space. @@ -74,31 +76,33 @@ test('my test', async () => { // Assert that client was called with expected arguments expect(opensearchClient.callAsCurrentUser).toHaveBeenCalledWith(/** expected args */); // Expect that unit under test returns expected value based on client's response - expect(result).toEqual(/** expected return value */) + expect(result).toEqual(/** expected return value */); }); ``` ## Strategies for specific Core APIs ### HTTP Routes + The HTTP API interface is another public contract of OpenSearch Dashboards, although not every OpenSearch Dashboards endpoint is for external use. When evaluating the required level of test coverage for an HTTP resource, make your judgment based on whether an endpoint is considered to be public or private. Public API is expected to have a higher level of test coverage. Public API tests should cover the **observable behavior** of the system, therefore they should be close to the real user interactions as much as possible, ideally by using HTTP requests to communicate with the OpenSearch Dashboards server as a real user would do. ##### Preconditions + We are going to add tests for `myPlugin` plugin that allows to format user-provided text, store and retrieve it later. -The plugin has *thin* route controllers isolating all the network layer dependencies and delegating all the logic to the plugin model. +The plugin has _thin_ route controllers isolating all the network layer dependencies and delegating all the logic to the plugin model. ```typescript class TextFormatter { public static async format(text: string, sanitizer: Deps['sanitizer']) { // sanitizer.sanitize throws MisformedTextError when passed text contains HTML markup - const sanitizedText = await sanitizer.sanitize(text); + const sanitizedText = await sanitizer.sanitize(text); return sanitizedText; } public static async save(text: string, savedObjectsClient: SavedObjectsClient) { const { id } = await savedObjectsClient.update('myPlugin-type', 'myPlugin', { - userText: text + userText: text, }); return { id }; } @@ -121,9 +125,9 @@ router.get( try { const formattedText = await TextFormatter.format(request.query.text, deps.sanitizer); return response.ok({ body: formattedText }); - } catch(error) { + } catch (error) { if (error instanceof MisformedTextError) { - return response.badRequest({ body: error.message }) + return response.badRequest({ body: error.message }); } throw e; @@ -143,9 +147,9 @@ router.post( try { const { id } = await TextFormatter.save(request.query.text, context.core.savedObjects.client); return response.ok({ body: { id } }); - } catch(error) { + } catch (error) { if (SavedObjectsErrorHelpers.isConflictError(error)) { - return response.conflict({ body: error.message }) + return response.conflict({ body: error.message }); } throw e; } @@ -163,13 +167,16 @@ router.get( }, async (context, request, response) => { try { - const { text } = await TextFormatter.getById(request.params.id, context.core.savedObjects.client); + const { text } = await TextFormatter.getById( + request.params.id, + context.core.savedObjects.client + ); return response.ok({ - body: text + body: text, }); - } catch(error) { + } catch (error) { if (SavedObjectsErrorHelpers.isNotFoundError(error)) { - return response.notFound() + return response.notFound(); } throw e; } @@ -178,24 +185,30 @@ router.get( ``` #### Unit testing -Unit tests provide the simplest and fastest way to test the logic in your route controllers and plugin models. + +Unit tests provide the simplest and fastest way to test the logic in your route controllers and plugin models. Use them whenever adding an integration test is hard and slow due to complex setup or the number of logic permutations. Since all external core and plugin dependencies are mocked, you don't have the guarantee that the whole system works as expected. Pros: + - fast - easier to debug Cons: + - doesn't test against real dependencies - doesn't cover integration with other plugins ###### Example + You can leverage existing unit-test infrastructure for this. You should add `*.test.ts` file and use dependencies mocks to cover the functionality with a broader test suit that covers: + - input permutations - input edge cases - expected exception - interaction with dependencies + ```typescript // src/plugins/my_plugin/server/formatter.test.ts describe('TextFormatter', () => { @@ -223,37 +236,47 @@ describe('TextFormatter', () => { ``` #### Integration tests -Depending on the number of external dependencies, you can consider implementing several high-level integration tests. -They would work as a set of [smoke tests](https://en.wikipedia.org/wiki/Smoke_testing_(software)) for the most important functionality. + +Depending on the number of external dependencies, you can consider implementing several high-level integration tests. +They would work as a set of [smoke tests]() for the most important functionality. Main subjects for tests should be: + - authenticated / unauthenticated access to an endpoint. - endpoint validation (params, query, body). - main business logic. - dependencies on other plugins. ##### Functional Test Runner -If your plugin relies on the opensearch server to store data and supports additional configuration, you can leverage the Functional Test Runner(FTR) to implement integration tests. + +If your plugin relies on the opensearch server to store data and supports additional configuration, you can leverage the Functional Test Runner(FTR) to implement integration tests. FTR bootstraps an opensearch and a OpenSearch Dashboards instance and runs the test suite against it. Pros: + - runs the whole Elastic stack - tests cross-plugin integration - emulates a real user interaction with the stack - allows adjusting config values Cons: + - slow start - hard to debug - brittle tests ###### Example + You can reuse existing [api_integration](/test/api_integration/config.js) setup by registering a test file within a [test loader](/test/api_integration/apis/index.js). More about the existing FTR setup in the [contribution guide](/CONTRIBUTING.md#running-specific-opensearch-dashboards-tests) The tests cover: + - authenticated / non-authenticated user access (when applicable) + ```typescript // TODO after https://github.com/elastic/opensearch-dashboards/pull/53208/ ``` + - request validation + ```typescript // test/api_integration/apis/my_plugin/something.ts export default function({ getService }: FtrProviderContext) { @@ -271,7 +294,9 @@ export default function({ getService }: FtrProviderContext) { }); }); ``` + - the main logic of the plugin + ```typescript export default function({ getService }: FtrProviderContext) { const supertest = getService('supertest'); @@ -307,20 +332,25 @@ export default function({ getService }: FtrProviderContext) { ``` ##### TestUtils + It can be utilized if your plugin doesn't interact with the opensearch server or mocks the own methods doing so. Runs tests against real OpenSearch Dashboards server instance. Pros: + - runs the real OpenSearch Dashboards instance - tests cross-plugin integration - emulates a real user interaction with the HTTP resources Cons: + - faster than FTR because it doesn't run opensearch instance, but still slow - hard to debug - doesn't cover OpenSearch Dashboards CLI logic ###### Example + To have access to OpenSearch Dashboards TestUtils, you should create `integration_tests` folder and import `test_utils` within a test file: + ```typescript // src/plugins/my_plugin/server/integration_tests/formatter.test.ts import * as osdTestServer from 'src/core/test_helpers/osd_server'; @@ -362,13 +392,15 @@ describe('myPlugin', () => { }); }); ``` -Sometimes we want to test a route controller logic and don't rely on the internal logic of the platform or a third-party plugin. + +Sometimes we want to test a route controller logic and don't rely on the internal logic of the platform or a third-party plugin. Then we can apply a hybrid approach and mock the necessary method of `TextFormatter` model to test how `MisformedTextError` handled in the route handler without calling `sanitizer` dependency directly. + ```typescript jest.mock('../path/to/model'); import { TextFormatter } from '../path/to/model'; -import { MisformedTextError } from '../path/to/sanitizer' +import { MisformedTextError } from '../path/to/sanitizer'; describe('myPlugin', () => { describe('GET /myPlugin/formatter', () => { @@ -394,9 +426,10 @@ describe('myPlugin', () => { ### Applications -OpenSearch Dashboards Platform applications have less control over the page than legacy applications did. It is important that your app is built to handle it's co-habitance with other plugins in the browser. Applications are mounted and unmounted from the DOM as the user navigates between them, without full-page refreshes, as a single-page application (SPA). +OpenSearch Dashboards Platform applications have less control over the page than legacy applications did. It is important that your app is built to handle it's co-habitance with other plugins in the browser. Applications are mounted and unmounted from the DOM as the user navigates between them, without full-page refreshes, as a single-page application (SPA). These long-lived sessions make cleanup more important than before. It's entirely possible a user has a single browsing session open for weeks at a time, without ever doing a full-page refresh. Common things that need to be cleaned up (and tested!) when your application is unmounted: + - Subscriptions and polling (eg. `uiSettings.get$()`) - Any Core API calls that set state (eg. `core.chrome.setIsVisible`). - Open connections (eg. a Websocket) @@ -416,12 +449,12 @@ class Plugin { async mount(params) { const [{ renderApp }, [coreStart, startDeps]] = await Promise.all([ import('./application'), - core.getStartServices() + core.getStartServices(), ]); return renderApp(params, coreStart, startDeps); - } - }) + }, + }); } } ``` @@ -489,16 +522,13 @@ export const renderApp = ( // uiSettings subscription const uiSettingsClient = core.uiSettings.client; - const pollingSubscription = uiSettingClient.get$('mysetting1').subscribe(async mySetting1 => { + const pollingSubscription = uiSettingClient.get$('mysetting1').subscribe(async (mySetting1) => { const value = core.http.fetch(/** use `mySetting1` in request **/); // ... }); // Render app - ReactDOM.render( - , - element - ); + ReactDOM.render(, element); return () => { // Unmount UI @@ -512,8 +542,9 @@ export const renderApp = ( ``` In testing `renderApp` you should be verifying that: -1) Your application mounts and unmounts correctly -2) Cleanup logic is completed as expected + +1. Your application mounts and unmounts correctly +2. Cleanup logic is completed as expected ```typescript /** public/application.test.ts */ @@ -561,7 +592,7 @@ describe('renderApp', () => { // Verify stateful Core API was called on unmount unmount(); expect(core.chrome.setIsVisible).toHaveBeenCalledWith(true); - }) + }); }); ``` @@ -590,10 +621,7 @@ import { SavedObjectsClientContract } from 'opensearch-dashboards/server'; export const shortUrlLookup = { generateUrlId(url: string, savedObjectsClient: SavedObjectsClientContract) { - const id = crypto - .createHash('md5') - .update(url) - .digest('hex'); + const id = crypto.createHash('md5').update(url).digest('hex'); return savedObjectsClient .create( @@ -606,8 +634,8 @@ export const shortUrlLookup = { }, { id } ) - .then(doc => doc.id) - .catch(err => { + .then((doc) => doc.id) + .catch((err) => { if (savedObjectsClient.errors.isConflictError(err)) { return id; } else { @@ -616,7 +644,6 @@ export const shortUrlLookup = { }); }, }; - ``` ```typescript @@ -627,7 +654,7 @@ import { savedObjectsClientMock } from '../../../../../core/server/mocks'; describe('shortUrlLookup', () => { const ID = 'bf00ad16941fc51420f91a93428b27a0'; const TYPE = 'url'; - const URL = 'http://elastic.co'; + const URL = 'http://opensearch.co'; const mockSavedObjectsClient = savedObjectsClientMock.create(); @@ -741,7 +768,7 @@ describe('saved query service', () => { jest.resetAllMocks(); }); - describe('saveQuery', function() { + describe('saveQuery', function () { it('should create a saved object for the given attributes', async () => { // The public Saved Objects client returns instances of // SimpleSavedObject, so we create an instance to return from our mock. @@ -760,7 +787,7 @@ describe('saved query service', () => { expect(response).toBe(mockReturnValue); }); - it('should reject with an error when saved objects client errors', async done => { + it('should reject with an error when saved objects client errors', async (done) => { mockSavedObjectsClient.create.mockRejectedValue(new Error('timeout')); try { @@ -777,6 +804,7 @@ describe('saved query service', () => { ``` #### Integration Tests + To get the highest confidence in how your code behaves when using the Saved Objects client, you should write at least a few integration tests which loads data into and queries a real OpenSearch database. @@ -797,16 +825,16 @@ _How to test OpenSearch clients_ ## Plugin integrations In the new platform, all plugin's dependencies to other plugins are explicitly declared in their `opensearch_dashboards.json` -manifest. As for `core`, the dependencies `setup` and `start` contracts are injected in your plugin's respective +manifest. As for `core`, the dependencies `setup` and `start` contracts are injected in your plugin's respective `setup` and `start` phases. One of the upsides with testing is that every usage of the dependencies is explicit, -and that the plugin's contracts must be propagated to the parts of the code using them, meaning that isolating a +and that the plugin's contracts must be propagated to the parts of the code using them, meaning that isolating a specific logical component for unit testing is way easier than in legacy. The approach to test parts of a plugin's code that is relying on other plugins is quite similar to testing code using `core` APIs: it's expected to mock the dependency, and make it return the value the test is expecting. -Most plugins are defining mocks for their contracts. The convention is to expose them in a `mocks` file in -`my_plugin/server` and/or `my_plugin/public`. For example for the `data` plugin, the client-side mocks are located in +Most plugins are defining mocks for their contracts. The convention is to expose them in a `mocks` file in +`my_plugin/server` and/or `my_plugin/public`. For example for the `data` plugin, the client-side mocks are located in `src/plugins/data/public/mocks.ts`. When such mocks are present, it's strongly recommended to use them when testing against dependencies. Otherwise, one should create it's own mocked implementation of the dependency's contract (and should probably ping the plugin's owner to ask them to add proper contract mocks). @@ -814,8 +842,8 @@ contract (and should probably ping the plugin's owner to ask them to add proper ### Preconditions For these examples, we are going to see how we should test the `myPlugin` plugin. - -This plugin declares the `data` plugin as a `required` dependency and the `usageCollection` plugin as an `optional` + +This plugin declares the `data` plugin as a `required` dependency and the `usageCollection` plugin as an `optional` one. It also exposes a `getSpecialSuggestions` API in it's start contract, which relies on the `data` plugin to retrieve data. @@ -837,7 +865,8 @@ interface MyPluginStartDeps { data: DataPublicPluginStart; } -export class MyPlugin implements Plugin { +export class MyPlugin + implements Plugin { private suggestionsService = new SuggestionsService(); public setup(core: CoreSetup, { data, usageCollection }: MyPluginSetupDeps) { @@ -884,7 +913,7 @@ export const defaultSuggestions = [ export class SuggestionsService { public setup(data: DataPublicPluginSetup) { // register a suggestion provider to the `data` dependency plugin - data.autocomplete.addQuerySuggestionProvider('fr', async args => { + data.autocomplete.addQuerySuggestionProvider('fr', async (args) => { return suggestDependingOn(args); }); } @@ -901,7 +930,7 @@ export class SuggestionsService { if (!baseSuggestions || baseSuggestions.length === 0) { return defaultSuggestions; } - return baseSuggestions.filter(suggestion => suggestion.type !== 'conjunction'); + return baseSuggestions.filter((suggestion) => suggestion.type !== 'conjunction'); }, }; } @@ -915,8 +944,8 @@ A plugin should test expected usage and calls on it's dependency plugins' API. Some calls, such as 'registration' APIs exposed from dependency plugins, should be checked, to ensure both that they are actually executed, and performed with the correct parameters. -For our example plugin's `SuggestionsService`, we should assert that the suggestion provider is correctly -registered to the `data` plugin during the `setup` phase, and that `getSuggestions` calls +For our example plugin's `SuggestionsService`, we should assert that the suggestion provider is correctly +registered to the `data` plugin during the `setup` phase, and that `getSuggestions` calls `autocomplete.getQuerySuggestions` with the correct parameters. ```typescript @@ -976,7 +1005,7 @@ describe('SuggestionsService', () => { When testing parts of your plugin code that depends on the dependency plugin's data, the best approach is to mock the dependency to be able to get the behavior expected for the test. -In this example, we are going to mock the results of `autocomplete.getQuerySuggestions` to be able to test +In this example, we are going to mock the results of `autocomplete.getQuerySuggestions` to be able to test the service's `getSuggestions` method. ```typescript @@ -1043,12 +1072,12 @@ describe('Plugin', () => { data: dataPluginMock.createSetupContract(), // optional usageCollector dependency is not available }; - + const coreStart = coreMock.createStart(); const startDeps = { data: dataPluginMock.createStartContract(), }; - + expect(() => { plugin.setup(coreSetup, setupDeps); }).not.toThrow(); diff --git a/src/core/public/application/integration_tests/router.test.tsx b/src/core/public/application/integration_tests/router.test.tsx index d98213642226..502c87bab96c 100644 --- a/src/core/public/application/integration_tests/router.test.tsx +++ b/src/core/public/application/integration_tests/router.test.tsx @@ -107,7 +107,7 @@ describe('AppRouter', () => { expect(app1.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /app/app1 html: App 1
" @@ -119,7 +119,7 @@ describe('AppRouter', () => { expect(app1Unmount).toHaveBeenCalled(); expect(app2.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /app/app2 html:
App 2
" @@ -133,7 +133,7 @@ describe('AppRouter', () => { expect(standardApp.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /app/app1 html: App 1
" @@ -145,7 +145,7 @@ describe('AppRouter', () => { expect(standardAppUnmount).toHaveBeenCalled(); expect(chromelessApp.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /chromeless-a/path html:
Chromeless A
" @@ -157,7 +157,7 @@ describe('AppRouter', () => { expect(chromelessAppUnmount).toHaveBeenCalled(); expect(standardApp.mounter.mount).toHaveBeenCalledTimes(2); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /app/app1 html: App 1
" @@ -171,7 +171,7 @@ describe('AppRouter', () => { expect(chromelessAppA.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /chromeless-a/path html:
Chromeless A
" @@ -183,7 +183,7 @@ describe('AppRouter', () => { expect(chromelessAppAUnmount).toHaveBeenCalled(); expect(chromelessAppB.mounter.mount).toHaveBeenCalled(); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /chromeless-b/path html:
Chromeless B
" @@ -195,7 +195,7 @@ describe('AppRouter', () => { expect(chromelessAppBUnmount).toHaveBeenCalled(); expect(chromelessAppA.mounter.mount).toHaveBeenCalledTimes(2); expect(dom?.html()).toMatchInlineSnapshot(` - "
+ "
basename: /chromeless-a/path html:
Chromeless A
" diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index 805a804c8638..a591940752d5 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -198,7 +198,7 @@ export class ChromeService { defaultMessage="Support for Internet Explorer will be dropped in future versions of this software, please check {link}." values={{ link: ( - + @@ -951,10 +951,10 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` >
diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap index fbfae5573dad..390e4c5be5bb 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap @@ -2920,7 +2920,7 @@ exports[`Header renders 1`] = ` aria-label="Go to home page" data-test-subj="logo" href="/" - iconType="logoElastic" + iconType="heatmap" onClick={[Function]} >
diff --git a/src/core/public/chrome/ui/header/header_help_menu.tsx b/src/core/public/chrome/ui/header/header_help_menu.tsx index 7064cbc2289e..f4e3071b7671 100644 --- a/src/core/public/chrome/ui/header/header_help_menu.tsx +++ b/src/core/public/chrome/ui/header/header_help_menu.tsx @@ -65,7 +65,7 @@ export type ChromeHelpExtensionMenuDiscussLink = EuiButtonEmptyProps & { linkType: 'discuss'; /** * URL to discuss page. - * i.e. `https://discuss.elastic.co/c/${appName}` + * i.e. `https://discuss.opensearch.co/c/${appName}` */ href: string; }; diff --git a/src/core/public/chrome/ui/header/header_logo.tsx b/src/core/public/chrome/ui/header/header_logo.tsx index bfe51a49914d..3bc52c5ddd9c 100644 --- a/src/core/public/chrome/ui/header/header_logo.tsx +++ b/src/core/public/chrome/ui/header/header_logo.tsx @@ -99,7 +99,7 @@ export function HeaderLogo({ href, navigateToApp, ...observables }: Props) { return ( onClick(e, forceNavigation, navLinks, navigateToApp)} href={href} aria-label={i18n.translate('core.ui.chrome.headerGlobalNav.goHomePageIconAriaLabel', { diff --git a/src/core/public/doc_links/doc_links_service.test.ts b/src/core/public/doc_links/doc_links_service.test.ts index 7c4cb9341991..f14b03be2076 100644 --- a/src/core/public/doc_links/doc_links_service.test.ts +++ b/src/core/public/doc_links/doc_links_service.test.ts @@ -28,7 +28,7 @@ describe('DocLinksService#start()', () => { const api = service.start({ injectedMetadata }); expect(api.DOC_LINK_VERSION).toEqual('test-branch'); expect(api.links.opensearchDashboards).toEqual( - 'https://www.elastic.co/guide/en/kibana/test-branch/index.html' + 'https://www.opensearch.co/guide/en/kibana/test-branch/index.html' ); }); }); diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index 39ec623f4b54..b0186dc4614b 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -29,7 +29,8 @@ export class DocLinksService { public setup() {} public start({ injectedMetadata }: StartDeps): DocLinksStart { const DOC_LINK_VERSION = injectedMetadata.getOpenSearchDashboardsBranch(); - const OPENSEARCH_WEBSITE_URL = 'https://www.elastic.co/'; + //const OPENSEARCH_WEBSITE_URL = 'https://www.opensearch.co/'; + const OPENSEARCH_WEBSITE_URL = 'https://www.opensearch.com/'; const OPENSEARCH_DOCS = `${OPENSEARCH_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}/`; return deepFreeze({ diff --git a/src/core/server/core_app/assets/favicons/android-chrome-192x192.png b/src/core/server/core_app/assets/favicons/android-chrome-192x192.png deleted file mode 100644 index 18a86e5b95c4..000000000000 Binary files a/src/core/server/core_app/assets/favicons/android-chrome-192x192.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/android-chrome-256x256.png b/src/core/server/core_app/assets/favicons/android-chrome-256x256.png deleted file mode 100644 index 8238d772ce40..000000000000 Binary files a/src/core/server/core_app/assets/favicons/android-chrome-256x256.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/android-chrome-heatmap-192x192.png b/src/core/server/core_app/assets/favicons/android-chrome-heatmap-192x192.png new file mode 100644 index 000000000000..a206d01b0da6 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/android-chrome-heatmap-192x192.png differ diff --git a/src/core/server/core_app/assets/favicons/android-chrome-heatmap-256x256.png b/src/core/server/core_app/assets/favicons/android-chrome-heatmap-256x256.png new file mode 100644 index 000000000000..5a24764f343d Binary files /dev/null and b/src/core/server/core_app/assets/favicons/android-chrome-heatmap-256x256.png differ diff --git a/src/core/server/core_app/assets/favicons/apple-touch-icon-heatmap.png b/src/core/server/core_app/assets/favicons/apple-touch-icon-heatmap.png new file mode 100644 index 000000000000..6cbf3acc6420 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/apple-touch-icon-heatmap.png differ diff --git a/src/core/server/core_app/assets/favicons/apple-touch-icon.png b/src/core/server/core_app/assets/favicons/apple-touch-icon.png deleted file mode 100644 index 1ffeb0852a17..000000000000 Binary files a/src/core/server/core_app/assets/favicons/apple-touch-icon.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/browserconfig.xml b/src/core/server/core_app/assets/favicons/browserconfig-heatmap.xml similarity index 73% rename from src/core/server/core_app/assets/favicons/browserconfig.xml rename to src/core/server/core_app/assets/favicons/browserconfig-heatmap.xml index b3930d0f0471..b074e1320c92 100644 --- a/src/core/server/core_app/assets/favicons/browserconfig.xml +++ b/src/core/server/core_app/assets/favicons/browserconfig-heatmap.xml @@ -2,7 +2,7 @@ - + #da532c diff --git a/src/core/server/core_app/assets/favicons/favicon-16x16.png b/src/core/server/core_app/assets/favicons/favicon-16x16.png deleted file mode 100644 index 631f5b7c7d74..000000000000 Binary files a/src/core/server/core_app/assets/favicons/favicon-16x16.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/favicon-32x32.png b/src/core/server/core_app/assets/favicons/favicon-32x32.png deleted file mode 100644 index bf94dfa995f3..000000000000 Binary files a/src/core/server/core_app/assets/favicons/favicon-32x32.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/favicon-heatmap-16x16.png b/src/core/server/core_app/assets/favicons/favicon-heatmap-16x16.png new file mode 100644 index 000000000000..bf160fac8d33 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/favicon-heatmap-16x16.png differ diff --git a/src/core/server/core_app/assets/favicons/favicon-heatmap-32x32.png b/src/core/server/core_app/assets/favicons/favicon-heatmap-32x32.png new file mode 100644 index 000000000000..d28428c2861b Binary files /dev/null and b/src/core/server/core_app/assets/favicons/favicon-heatmap-32x32.png differ diff --git a/src/core/server/core_app/assets/favicons/favicon-heatmap.ico b/src/core/server/core_app/assets/favicons/favicon-heatmap.ico new file mode 100644 index 000000000000..ca77f3acd449 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/favicon-heatmap.ico differ diff --git a/src/core/server/core_app/assets/favicons/favicon.ico b/src/core/server/core_app/assets/favicons/favicon.ico deleted file mode 100644 index db30798a6cf3..000000000000 Binary files a/src/core/server/core_app/assets/favicons/favicon.ico and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/manifest.json b/src/core/server/core_app/assets/favicons/manifest.json index de65106f489b..85e3a4317fe7 100644 --- a/src/core/server/core_app/assets/favicons/manifest.json +++ b/src/core/server/core_app/assets/favicons/manifest.json @@ -3,12 +3,12 @@ "short_name": "", "icons": [ { - "src": "/android-chrome-192x192.png", + "src": "/android-chrome-heatmap-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/android-chrome-256x256.png", + "src": "/android-chrome-heatmap-256x256.png", "sizes": "256x256", "type": "image/png" } diff --git a/src/core/server/core_app/assets/favicons/mstile-150x150.png b/src/core/server/core_app/assets/favicons/mstile-150x150.png deleted file mode 100644 index 82769c1ef242..000000000000 Binary files a/src/core/server/core_app/assets/favicons/mstile-150x150.png and /dev/null differ diff --git a/src/core/server/core_app/assets/favicons/mstile-heatmap-150x150.png b/src/core/server/core_app/assets/favicons/mstile-heatmap-150x150.png new file mode 100644 index 000000000000..d4e69ae468f2 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/mstile-heatmap-150x150.png differ diff --git a/src/core/server/core_app/assets/favicons/safari-pinned-tab-heatmap.svg b/src/core/server/core_app/assets/favicons/safari-pinned-tab-heatmap.svg new file mode 100644 index 000000000000..b333d4ed0f53 --- /dev/null +++ b/src/core/server/core_app/assets/favicons/safari-pinned-tab-heatmap.svg @@ -0,0 +1,35 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + diff --git a/src/core/server/core_app/assets/favicons/safari-pinned-tab.svg b/src/core/server/core_app/assets/favicons/safari-pinned-tab.svg deleted file mode 100644 index 38a64142be0b..000000000000 --- a/src/core/server/core_app/assets/favicons/safari-pinned-tab.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Created by potrace 1.11, written by Peter Selinger 2001-2013 - - - - - - - - - - diff --git a/src/core/server/core_app/integration_tests/static_assets.test.ts b/src/core/server/core_app/integration_tests/static_assets.test.ts index d8f8fee169e0..2b9e81c50ad7 100644 --- a/src/core/server/core_app/integration_tests/static_assets.test.ts +++ b/src/core/server/core_app/integration_tests/static_assets.test.ts @@ -34,11 +34,11 @@ describe('Platform assets', function () { }); it('exposes static assets', async () => { - await osdTestServer.request.get(root, '/ui/favicons/favicon.ico').expect(200); + await osdTestServer.request.get(root, '/ui/favicons/favicon-heatmap.ico').expect(200); }); it('returns 404 if not found', async function () { - await osdTestServer.request.get(root, '/ui/favicons/not-a-favicon.ico').expect(404); + await osdTestServer.request.get(root, '/ui/favicons/not-a-favicon-heatmap.ico').expect(404); }); it('does not expose folder content', async function () { diff --git a/src/core/server/logging/README.md b/src/core/server/logging/README.md index 05fd92718266..42738679324b 100644 --- a/src/core/server/logging/README.md +++ b/src/core/server/logging/README.md @@ -1,4 +1,5 @@ # Logging + - [Loggers, Appenders and Layouts](#loggers-appenders-and-layouts) - [Logger hierarchy](#logger-hierarchy) - [Log level](#log-level) @@ -10,8 +11,8 @@ - [Logging config migration](#logging-config-migration) - [Log record format changes](#log-record-format-changes) -The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [OpenSearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#logging). -The main idea is to have consistent logging behaviour (configuration, log format etc.) across the entire OpenSearch Stack +The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [OpenSearch](https://www.opensearch.co/guide/en/elasticsearch/reference/current/settings.html#logging). +The main idea is to have consistent logging behaviour (configuration, log format etc.) across the entire OpenSearch Stack where possible. ## Loggers, Appenders and Layouts @@ -20,34 +21,33 @@ OpenSearch Dashboards logging system has three main components: _loggers_, _appe messages according to message type and level, and to control how these messages are formatted and where the final logs will be displayed or stored. -__Loggers__ define what logging settings should be applied at the particular context. - -__Appenders__ define where log messages are displayed (eg. stdout or console) and stored (eg. file on the disk). +**Loggers** define what logging settings should be applied at the particular context. -__Layouts__ define how log messages are formatted and what type of information they include. +**Appenders** define where log messages are displayed (eg. stdout or console) and stored (eg. file on the disk). +**Layouts** define how log messages are formatted and what type of information they include. ## Logger hierarchy -Every logger has its unique name or context that follows hierarchical naming rule. The logger is considered to be an +Every logger has its unique name or context that follows hierarchical naming rule. The logger is considered to be an ancestor of another logger if its name followed by a `.` is a prefix of the descendant logger name. For example logger with `a.b` context is an ancestor of logger with `a.b.c` context. All top-level loggers are descendants of special -logger with `root` context that resides at the top of the logger hierarchy. This logger always exists and +logger with `root` context that resides at the top of the logger hierarchy. This logger always exists and fully configured. Developer can configure _log level_ and _appenders_ that should be used within particular context. If logger configuration -specifies only _log level_ then _appenders_ configuration will be inherited from the ancestor logger. +specifies only _log level_ then _appenders_ configuration will be inherited from the ancestor logger. -__Note:__ in the current implementation log messages are only forwarded to appenders configured for a particular logger +**Note:** in the current implementation log messages are only forwarded to appenders configured for a particular logger context or to appenders of the closest ancestor if current logger doesn't have any appenders configured. That means that -we __don't support__ so called _appender additivity_ when log messages are forwarded to _every_ distinct appender within +we **don't support** so called _appender additivity_ when log messages are forwarded to _every_ distinct appender within ancestor chain including `root`. ## Log level Currently we support the following log levels: _all_, _fatal_, _error_, _warn_, _info_, _debug_, _trace_, _off_. Levels are ordered, so _all_ > _fatal_ > _error_ > _warn_ > _info_ > _debug_ > _trace_ > _off_. -A log record is being logged by the logger if its level is higher than or equal to the level of its logger. Otherwise, +A log record is being logged by the logger if its level is higher than or equal to the level of its logger. Otherwise, the log record is ignored. The _all_ and _off_ levels can be used only in configuration and are just handy shortcuts that allow developer to log every @@ -56,15 +56,16 @@ log record or disable logging entirely for the specific context. ## Layouts Every appender should know exactly how to format log messages before they are written to the console or file on the disk. -This behaviour is controlled by the layouts and configured through `appender.layout` configuration property for every +This behaviour is controlled by the layouts and configured through `appender.layout` configuration property for every custom appender (see examples in [Configuration](#configuration)). Currently we don't define any default layout for the custom appenders, so one should always make the choice explicitly. -There are two types of layout supported at the moment: `pattern` and `json`. +There are two types of layout supported at the moment: `pattern` and `json`. ### Pattern layout + With `pattern` layout it's possible to define a string pattern with special placeholders `%conversion_pattern` (see the table below) that -will be replaced with data from the actual log message. By default the following pattern is used: +will be replaced with data from the actual log message. By default the following pattern is used: `[%date][%level][%logger]%meta %message`. Also `highlight` option can be enabled for `pattern` layout so that some parts of the log message are highlighted with different colors that may be quite handy if log messages are forwarded to the terminal with color support. @@ -72,8 +73,10 @@ to the terminal with color support. and **doesn't implement** all `log4j2` capabilities. The conversions that are provided out of the box are: #### level + Outputs the [level](#log-level) of the logging event. Example of `%level` output: + ```bash TRACE DEBUG @@ -81,8 +84,10 @@ INFO ``` ##### logger + Outputs the name of the logger that published the logging event. Example of `%logger` output: + ```bash server server.http @@ -90,11 +95,14 @@ server.http.OpenSearchDashboards ``` #### message + Outputs the application supplied message associated with the logging event. #### meta + Outputs the entries of `meta` object data in **json** format, if one is present in the event. Example of `%meta` output: + ```bash // Meta{from: 'v7', to: 'v8'} '{"from":"v7","to":"v8"}' @@ -105,26 +113,29 @@ Example of `%meta` output: ``` ##### date + Outputs the date of the logging event. The date conversion specifier may be followed by a set of braces containing a name of predefined date format and canonical timezone name. Timezone name is expected to be one from [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) Example of `%date` output: -| Conversion pattern | Example | -| ---------------------------------------- | ---------------------------------------------------------------- | -| `%date` | `2012-02-01T14:30:22.011Z` uses `ISO8601` format by default | -| `%date{ISO8601}` | `2012-02-01T14:30:22.011Z` | -| `%date{ISO8601_TZ}` | `2012-02-01T09:30:22.011-05:00` `ISO8601` with timezone | -| `%date{ISO8601_TZ}{America/Los_Angeles}` | `2012-02-01T06:30:22.011-08:00` | -| `%date{ABSOLUTE}` | `09:30:22.011` | -| `%date{ABSOLUTE}{America/Los_Angeles}` | `06:30:22.011` | -| `%date{UNIX}` | `1328106622` | -| `%date{UNIX_MILLIS}` | `1328106622011` | +| Conversion pattern | Example | +| ---------------------------------------- | ----------------------------------------------------------- | +| `%date` | `2012-02-01T14:30:22.011Z` uses `ISO8601` format by default | +| `%date{ISO8601}` | `2012-02-01T14:30:22.011Z` | +| `%date{ISO8601_TZ}` | `2012-02-01T09:30:22.011-05:00` `ISO8601` with timezone | +| `%date{ISO8601_TZ}{America/Los_Angeles}` | `2012-02-01T06:30:22.011-08:00` | +| `%date{ABSOLUTE}` | `09:30:22.011` | +| `%date{ABSOLUTE}{America/Los_Angeles}` | `06:30:22.011` | +| `%date{UNIX}` | `1328106622` | +| `%date{UNIX_MILLIS}` | `1328106622011` | #### pid + Outputs the process ID. ### JSON layout -With `json` layout log messages will be formatted as JSON strings that include timestamp, log level, context, message + +With `json` layout log messages will be formatted as JSON strings that include timestamp, log level, context, message text and any other metadata that may be associated with the log message itself. ## Configuration @@ -154,7 +165,7 @@ logging: kind: console layout: kind: pattern - pattern: "[%date][%level] %message" + pattern: '[%date][%level] %message' json-file-appender: kind: file path: /var/log/opensearch-dashboards-json.log @@ -180,18 +191,17 @@ logging: Here is what we get with the config above: -| Context | Appenders | Level | -| ---------------- |:------------------------:| -----:| -| root | console, file | error | -| plugins | custom | warn | -| plugins.myPlugin | custom | info | -| server | console, file | fatal | -| optimize | console | error | -| telemetry | json-file-appender | all | - - -The `root` logger has a dedicated configuration node since this context is special and should always exist. By -default `root` is configured with `info` level and `default` appender that is also always available. This is the +| Context | Appenders | Level | +| ---------------- | :----------------: | ----: | +| root | console, file | error | +| plugins | custom | warn | +| plugins.myPlugin | custom | info | +| server | console, file | fatal | +| optimize | console | error | +| telemetry | json-file-appender | all | + +The `root` logger has a dedicated configuration node since this context is special and should always exist. By +default `root` is configured with `info` level and `default` appender that is also always available. This is the configuration that all custom loggers will use unless they're re-configured explicitly. For example to see _all_ log messages that fall back on the `root` logger configuration, just add one line to the configuration: @@ -208,8 +218,8 @@ logging.root.level: off ## Usage -Usage is very straightforward, one should just get a logger for a specific context and use it to log messages with -different log level. +Usage is very straightforward, one should just get a logger for a specific context and use it to log messages with +different log level. ```typescript const logger = opensearchDashboards.logger.get('server'); @@ -227,6 +237,7 @@ loggerWithNestedContext.debug('Message with `debug` log level.'); ``` And assuming logger for `server` context with `console` appender and `trace` level was used, console output will look like this: + ```bash [2017-07-25T18:54:41.639Z][TRACE][server] Message with `trace` log level. [2017-07-25T18:54:41.639Z][DEBUG][server] Message with `debug` log level. @@ -240,6 +251,7 @@ And assuming logger for `server` context with `console` appender and `trace` lev ``` The log will be less verbose with `warn` level for the `server` context: + ```bash [2017-07-25T18:54:41.639Z][WARN ][server] Message with `warn` log level. [2017-07-25T18:54:41.639Z][ERROR][server] Message with `error` log level. @@ -247,24 +259,28 @@ The log will be less verbose with `warn` level for the `server` context: ``` ### Logging config migration + Compatibility with the legacy logging system is assured until the end of the `v7` version. All log messages handled by `root` context are forwarded to the legacy logging service. If you re-write root appenders, make sure that it contains `default` appender to provide backward compatibility. **Note**: If you define an appender for a context, the log messages aren't handled by the `root` context anymore and not forwarded to the legacy logging service. - + #### logging.dest -By default logs in *stdout*. With new OpenSearch Dashboards logging you can use pre-existing `console` appender or + +By default logs in _stdout_. With new OpenSearch Dashboards logging you can use pre-existing `console` appender or define a custom one. + ```yaml logging: loggers: - context: plugins.myPlugin appenders: [console] ``` -Logs in a *file* if given file path. You should define a custom appender with `kind: file` -```yaml +Logs in a _file_ if given file path. You should define a custom appender with `kind: file` + +```yaml logging: appenders: file: @@ -275,14 +291,18 @@ logging: loggers: - context: plugins.myPlugin appenders: [file] -``` +``` + #### logging.json + Defines the format of log output. Logs in JSON if `true`. With new logging config you can adjust the output format with [layouts](#layouts). #### logging.quiet -Suppresses all logging output other than error messages. With new logging, config can be achieved + +Suppresses all logging output other than error messages. With new logging, config can be achieved with adjusting minimum required [logging level](#log-level). + ```yaml loggers: - context: plugins.myPlugin @@ -293,20 +313,26 @@ logging.root.level: error ``` #### logging.silent: + Suppresses all logging output. + ```yaml logging.root.level: off ``` #### logging.verbose: + Logs all events + ```yaml logging.root.level: all ``` #### logging.timezone + Set to the canonical timezone id to log events using that timezone. New logging config allows to [specify timezone](#date) for `layout: pattern`. + ```yaml logging: appenders: @@ -315,31 +341,33 @@ logging: layout: kind: pattern highlight: true - pattern: "[%level] [%date{ISO8601_TZ}{America/Los_Angeles}][%logger] %message" + pattern: '[%level] [%date{ISO8601_TZ}{America/Los_Angeles}][%logger] %message' ``` #### logging.events + Define a custom logger for a specific context. #### logging.filter + TBD ### Log record format changes -| Parameter | Platform log record in **pattern** format | Legacy Platform log record **text** format | -| --------------- | ------------------------------------------ | ------------------------------------------ | -| @timestamp | ISO8601 `2012-01-31T23:33:22.011Z` | Absolute `23:33:22.011` | -| context | `parent.child` | `['parent', 'child']` | -| level | `DEBUG` | `['debug']` | -| meta | stringified JSON object `{"to": "v8"}` | N/A | -| pid | can be configured as `%pid` | N/A | - -| Parameter | Platform log record in **json** format | Legacy Platform log record **json** format | -| --------------- | ------------------------------------------ | -------------------------------------------- | -| @timestamp | ISO8601_TZ `2012-01-31T23:33:22.011-05:00` | ISO8601 `2012-01-31T23:33:22.011Z` | -| context | `context: parent.child` | `tags: ['parent', 'child']` | -| level | `level: DEBUG` | `tags: ['debug']` | -| meta | separate property `"meta": {"to": "v8"}` | merged in log record `{... "to": "v8"}` | -| pid | `pid: 12345` | `pid: 12345` | -| type | N/A | `type: log` | -| error | `{ message, name, stack }` | `{ message, name, stack, code, signal }` | \ No newline at end of file +| Parameter | Platform log record in **pattern** format | Legacy Platform log record **text** format | +| ---------- | ----------------------------------------- | ------------------------------------------ | +| @timestamp | ISO8601 `2012-01-31T23:33:22.011Z` | Absolute `23:33:22.011` | +| context | `parent.child` | `['parent', 'child']` | +| level | `DEBUG` | `['debug']` | +| meta | stringified JSON object `{"to": "v8"}` | N/A | +| pid | can be configured as `%pid` | N/A | + +| Parameter | Platform log record in **json** format | Legacy Platform log record **json** format | +| ---------- | ------------------------------------------ | ------------------------------------------ | +| @timestamp | ISO8601_TZ `2012-01-31T23:33:22.011-05:00` | ISO8601 `2012-01-31T23:33:22.011Z` | +| context | `context: parent.child` | `tags: ['parent', 'child']` | +| level | `level: DEBUG` | `tags: ['debug']` | +| meta | separate property `"meta": {"to": "v8"}` | merged in log record `{... "to": "v8"}` | +| pid | `pid: 12345` | `pid: 12345` | +| type | N/A | `type: log` | +| error | `{ message, name, stack }` | `{ message, name, stack, code, signal }` | diff --git a/src/core/server/rendering/views/template.tsx b/src/core/server/rendering/views/template.tsx index 89a8cc1ce19e..e5ac530b0729 100644 --- a/src/core/server/rendering/views/template.tsx +++ b/src/core/server/rendering/views/template.tsx @@ -39,7 +39,7 @@ export const Template: FunctionComponent = ({ }, }) => { const logo = ( - + = ({ {/* Favicons (generated from http://realfavicongenerator.net/) */} - - + + diff --git a/src/core/server/saved_objects/mappings/types.ts b/src/core/server/saved_objects/mappings/types.ts index 7a7955ee745e..4e73881678c7 100644 --- a/src/core/server/saved_objects/mappings/types.ts +++ b/src/core/server/saved_objects/mappings/types.ts @@ -102,7 +102,7 @@ export interface SavedObjectsMappingProperties { /** * Describe a {@link SavedObjectsTypeMappingDefinition | saved object type mapping} field. * - * Please refer to {@link https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html | elasticsearch documentation} + * Please refer to {@link https://www.opensearch.co/guide/en/elasticsearch/reference/current/mapping-types.html | elasticsearch documentation} * For the mapping documentation * * @public diff --git a/src/core/server/saved_objects/migrations/README.md b/src/core/server/saved_objects/migrations/README.md index 44e804533583..5e7e59bdaf39 100644 --- a/src/core/server/saved_objects/migrations/README.md +++ b/src/core/server/saved_objects/migrations/README.md @@ -13,24 +13,24 @@ All of this happens prior to OpenSearch Dashboards serving any http requests. Here is the gist of what happens if an index migration is necessary: -* If `.opensearch_dashboards` (or whatever the OpenSearch Dashboards index is named) is not an alias, it will be converted to one: - * Reindex `.opensearch_dashboards` into `.opensearch_dashboards_1` - * Delete `.opensearch_dashboards` - * Create an alias `.opensearch_dashboards` that points to `.opensearch_dashboards_1` -* Create a `.opensearch_dashboards_2` index -* Copy all documents from `.opensearch_dashboards_1` into `.opensearch_dashboards_2`, running them through any applicable migrations -* Point the `.opensearch_dashboards` alias to `.opensearch_dashboards_2` +- If `.opensearch_dashboards` (or whatever the OpenSearch Dashboards index is named) is not an alias, it will be converted to one: + - Reindex `.opensearch_dashboards` into `.opensearch_dashboards_1` + - Delete `.opensearch_dashboards` + - Create an alias `.opensearch_dashboards` that points to `.opensearch_dashboards_1` +- Create a `.opensearch_dashboards_2` index +- Copy all documents from `.opensearch_dashboards_1` into `.opensearch_dashboards_2`, running them through any applicable migrations +- # Point the `.opensearch_dashboards` alias to `.opensearch_dashboards_2` ## Migrating OpenSearch Dashboards clusters If OpenSearch Dashboards is being run in a cluster, migrations will be coordinated so that they only run on one OpenSearch Dashboards instance at a time. This is done in a fairly rudimentary way. Let's say we have two OpenSearch Dashboards instances, opensearch-dashboards-1 and opensearch-dashboards-2. -* opensearch-dashboards-1 and opensearch-dashboards-2 both start simultaneously and detect that the index requires migration -* opensearch-dashboards-1 begins the migration and creates index `.opensearch_dashboards_4` -* opensearch-dashboards-2 tries to begin the migration, but fails with the error `.opensearch_dashboards_4 already exists` -* opensearch-dashboards-2 logs that it failed to create the migration index, and instead begins polling - * Every few seconds, opensearch-dashboards-2 instance checks the `.opensearch_dashboards` index to see if it is done migrating - * Once `.opensearch_dashboards` is determined to be up to date, the opensearch-dashboards-2 instance continues booting +- opensearch-dashboards-1 and opensearch-dashboards-2 both start simultaneously and detect that the index requires migration +- opensearch-dashboards-1 begins the migration and creates index `.opensearch_dashboards_4` +- opensearch-dashboards-2 tries to begin the migration, but fails with the error `.opensearch_dashboards_4 already exists` +- opensearch-dashboards-2 logs that it failed to create the migration index, and instead begins polling + - Every few seconds, opensearch-dashboards-2 instance checks the `.opensearch_dashboards` index to see if it is done migrating + - # Once `.opensearch_dashboards` is determined to be up to date, the opensearch-dashboards-2 instance continues booting In this example, if the `.opensearch_dashboards_4` index existed prior to OpenSearch Dashboards booting, the entire migration process will fail, as all OpenSearch Dashboards instances will assume another instance is migrating to the `.opensearch_dashboards_4` index. This problem is only fixable by deleting the `.opensearch_dashboards_4` index. @@ -98,16 +98,16 @@ If a plugin is disbled, all of its documents are retained in the OpenSearch Dash OpenSearch Dashboards index migrations expose a few config settings which might be tweaked: -* `migrations.scrollDuration` - The +- `migrations.scrollDuration` - The [scroll](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html#scroll-search-context) value used to read batches of documents from the source index. Defaults to - `15m`. -* `migrations.batchSize` - The number of documents to read / transform / write - at a time during index migrations -* `migrations.pollInterval` - How often, in milliseconds, secondary OpenSearchDashboards + `15m`. +- `migrations.batchSize` - The number of documents to read / transform / write + at a time during index migrations +- `migrations.pollInterval` - How often, in milliseconds, secondary OpenSearchDashboards instances will poll to see if the primary OpenSearch Dashboards instance has finished migrating the index. -* `migrations.skip` - Skip running migrations on startup (defaults to false). +- `migrations.skip` - Skip running migrations on startup (defaults to false). This should only be used for running integration tests without a running opensearch cluster. Note: even though migrations won't run on startup, individual docs will still be migrated when read from OpenSearch. @@ -191,8 +191,8 @@ Note, the migrationVersion property has been added, and it contains information The migrations source code is grouped into two folders: -* `core` - Contains index-agnostic, general migration logic, which could be reused for indices other than `.opensearch_dashboards` -* `opensearch-dashboards` - Contains a relatively light-weight wrapper around core, which provides `.opensearch_dashboards` index-specific logic +- `core` - Contains index-agnostic, general migration logic, which could be reused for indices other than `.opensearch_dashboards` +- `opensearch-dashboards` - Contains a relatively light-weight wrapper around core, which provides `.opensearch_dashboards` index-specific logic Generally, the code eschews classes in favor of functions and basic data structures. The publicly exported code is all class-based, however, in an attempt to conform to OpenSearch Dashboards norms. @@ -200,9 +200,9 @@ Generally, the code eschews classes in favor of functions and basic data structu There are three core entry points. -* index_migrator - Logic for migrating an index -* document_migrator - Logic for migrating an individual document, used by index_migrator, but also by the saved object client to migrate docs during document creation -* build_active_mappings - Logic to convert mapping properties into a full index mapping object, including the core properties required by any saved object index +- index_migrator - Logic for migrating an index +- document_migrator - Logic for migrating an individual document, used by index_migrator, but also by the saved object client to migrate docs during document creation +- build_active_mappings - Logic to convert mapping properties into a full index mapping object, including the core properties required by any saved object index ## Testing diff --git a/src/core/server/ui_settings/settings/date_formats.ts b/src/core/server/ui_settings/settings/date_formats.ts index ac8c058768ba..6b72904ac447 100644 --- a/src/core/server/ui_settings/settings/date_formats.ts +++ b/src/core/server/ui_settings/settings/date_formats.ts @@ -155,7 +155,7 @@ export const getDateFormatSettings = (): Record => { defaultMessage: 'Used for the {dateNanosLink} datatype of OpenSearch', values: { dateNanosLink: - '' + + '' + i18n.translate('core.ui_settings.params.dateNanosLinkTitle', { defaultMessage: 'date_nanos', }) + diff --git a/src/core/utils/default_app_categories.ts b/src/core/utils/default_app_categories.ts index 721d2c7dfaf5..126f985627c6 100644 --- a/src/core/utils/default_app_categories.ts +++ b/src/core/utils/default_app_categories.ts @@ -27,7 +27,7 @@ export const DEFAULT_APP_CATEGORIES: Record = Object.freeze label: i18n.translate('core.ui.opensearchDashboardsNavList.label', { defaultMessage: 'OpenSearch Dashboards', }), - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', order: 1000, }, enterpriseSearch: { diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index ad9b69b02416..203903d1f64e 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -40,14 +40,14 @@ export async function runDockerGenerator( ubi: boolean = false ) { // UBI var config - const baseOSImage = ubi ? 'docker.elastic.co/ubi8/ubi-minimal:latest' : 'centos:8'; + const baseOSImage = ubi ? 'docker.opensearch.co/ubi8/ubi-minimal:latest' : 'centos:8'; const ubiVersionTag = 'ubi8'; const ubiImageFlavor = ubi ? `-${ubiVersionTag}` : ''; // General docker var config const license = build.isOss() ? 'ASL 2.0' : 'Elastic License'; const imageFlavor = build.isOss() ? '-oss' : ''; - const imageTag = 'docker.elastic.co/kibana/kibana'; + const imageTag = 'docker.opensearch.co/kibana/kibana'; const version = config.getBuildVersion(); const artifactTarball = `kibana${imageFlavor}-${version}-linux-x86_64.tar.gz`; const artifactsDir = config.resolveFromTarget('.'); diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile index e0f064dbcf85..a631806c7dda 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile @@ -17,7 +17,7 @@ RUN {{packageManager}} install -y findutils tar gzip {{#usePublicArtifact}} RUN cd /opt && \ - curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/kibana/{{artifactTarball}} && \ + curl --retry 8 -s -L -O https://artifacts.opensearch.co/downloads/kibana/{{artifactTarball}} && \ cd - {{/usePublicArtifact}} @@ -100,25 +100,25 @@ LABEL org.label-schema.build-date="{{dockerBuildDate}}" \ org.label-schema.license="{{license}}" \ org.label-schema.name="Kibana" \ org.label-schema.schema-version="1.0" \ - org.label-schema.url="https://www.elastic.co/products/kibana" \ - org.label-schema.usage="https://www.elastic.co/guide/en/kibana/reference/index.html" \ + org.label-schema.url="https://www.opensearch.co/products/kibana" \ + org.label-schema.usage="https://www.opensearch.co/guide/en/kibana/reference/index.html" \ org.label-schema.vcs-ref="{{revision}}" \ org.label-schema.vcs-url="https://github.com/elastic/kibana" \ org.label-schema.vendor="Elastic" \ org.label-schema.version="{{version}}" \ org.opencontainers.image.created="{{dockerBuildDate}}" \ - org.opencontainers.image.documentation="https://www.elastic.co/guide/en/kibana/reference/index.html" \ + org.opencontainers.image.documentation="https://www.opensearch.co/guide/en/kibana/reference/index.html" \ org.opencontainers.image.licenses="{{license}}" \ org.opencontainers.image.revision="{{revision}}" \ org.opencontainers.image.source="https://github.com/elastic/kibana" \ org.opencontainers.image.title="Kibana" \ - org.opencontainers.image.url="https://www.elastic.co/products/kibana" \ + org.opencontainers.image.url="https://www.opensearch.co/products/kibana" \ org.opencontainers.image.vendor="Elastic" \ org.opencontainers.image.version="{{version}}" {{#ubi}} LABEL name="Kibana" \ - maintainer="infra@elastic.co" \ + maintainer="infra@opensearch.co" \ vendor="Elastic" \ version="{{version}}" \ release="1" \ diff --git a/src/dev/build/tasks/os_packages/run_fpm.ts b/src/dev/build/tasks/os_packages/run_fpm.ts index 85fd5b747064..d2cc9c163918 100644 --- a/src/dev/build/tasks/os_packages/run_fpm.ts +++ b/src/dev/build/tasks/os_packages/run_fpm.ts @@ -71,11 +71,11 @@ export async function runFpm( '--version', version, '--url', - 'https://www.elastic.co', + 'https://www.opensearch.co', '--vendor', 'Elasticsearch, Inc.', '--maintainer', - 'OpenSearch Dashboards Team ', + 'OpenSearch Dashboards Team ', '--license', pickLicense(), diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index f4938352f75e..6e487b0f5c34 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -130,18 +130,18 @@ export const REMOVE_EXTENSION = ['packages/osd-plugin-generator/template/**/*.ej */ export const TEMPORARILY_IGNORED_PATHS = [ 'src/fixtures/config_upgrade_from_4.0.0_to_4.0.1-snapshot.json', - 'src/core/server/core_app/assets/favicons/android-chrome-192x192.png', - 'src/core/server/core_app/assets/favicons/android-chrome-256x256.png', - 'src/core/server/core_app/assets/favicons/android-chrome-512x512.png', - 'src/core/server/core_app/assets/favicons/apple-touch-icon.png', - 'src/core/server/core_app/assets/favicons/favicon-16x16.png', - 'src/core/server/core_app/assets/favicons/favicon-32x32.png', + 'src/core/server/core_app/assets/favicons/android-chrome-heatmap-192x192.png', + 'src/core/server/core_app/assets/favicons/android-chrome-heatmap-256x256.png', + 'src/core/server/core_app/assets/favicons/android-chrome-heatmap-512x512.png', + 'src/core/server/core_app/assets/favicons/apple-touch-icon-heatmap.png', + 'src/core/server/core_app/assets/favicons/favicon-heatmap-16x16.png', + 'src/core/server/core_app/assets/favicons/favicon-heatmap-32x32.png', 'src/core/server/core_app/assets/favicons/mstile-70x70.png', 'src/core/server/core_app/assets/favicons/mstile-144x144.png', - 'src/core/server/core_app/assets/favicons/mstile-150x150.png', + 'src/core/server/core_app/assets/favicons/mstile-heatmap-150x150.png', 'src/core/server/core_app/assets/favicons/mstile-310x150.png', 'src/core/server/core_app/assets/favicons/mstile-310x310.png', - 'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg', + 'src/core/server/core_app/assets/favicons/safari-pinned-tab-heatmap.svg', 'test/functional/apps/management/exports/_import_objects-conflicts.json', 'packages/osd-ui-framework/doc_site/src/images/elastic-logo.svg', 'packages/osd-ui-framework/doc_site/src/images/hint-arrow.svg', diff --git a/src/legacy/server/logging/log_format_json.test.js b/src/legacy/server/logging/log_format_json.test.js index 067986f24297..c5fa0a176779 100644 --- a/src/legacy/server/logging/log_format_json.test.js +++ b/src/legacy/server/logging/log_format_json.test.js @@ -61,7 +61,7 @@ describe('OsdLoggerJsonFormat', () => { source: { remoteAddress: '127.0.0.1', userAgent: 'Test Thing', - referer: 'elastic.co', + referer: 'opensearch.co', }, }; const result = await createPromiseFromStreams([createListStream([event]), format]); diff --git a/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts b/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts index 0caed4dd64bf..eb0c91f222f5 100644 --- a/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts +++ b/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts @@ -467,7 +467,7 @@ export const createGoAgentInstructions = (apmServerUrl = '', secretToken = '') = textPre: i18n.translate('apmOss.tutorial.goClient.install.textPre', { defaultMessage: 'Install the APM agent packages for Go.', }), - commands: ['go get go.elastic.co/apm'], + commands: ['go get go.opensearch.co/apm'], }, { title: i18n.translate('apmOss.tutorial.goClient.configure.title', { @@ -526,7 +526,7 @@ by using the tracer API directly.', import ( "net/http" - "go.elastic.co/apm/module/apmhttp" + "go.opensearch.co/apm/module/apmhttp" ) func main() {curlyOpen} diff --git a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts index 35170228f55c..47999e8c3895 100644 --- a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts +++ b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts @@ -74,7 +74,7 @@ const createDownloadServerTitle = () => export const createDownloadServerOsx = () => ({ title: createDownloadServerTitle(), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf apm-server-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd apm-server-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -83,7 +83,7 @@ export const createDownloadServerOsx = () => ({ export const createDownloadServerDeb = () => ({ title: createDownloadServerTitle(), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-amd64.deb', + 'curl -L -O https://artifacts.opensearch.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-amd64.deb', 'sudo dpkg -i apm-server-{config.opensearchDashboards.version}-amd64.deb', ], textPost: i18n.translate('apmOss.tutorial.downloadServerTitle', { @@ -97,7 +97,7 @@ export const createDownloadServerDeb = () => ({ export const createDownloadServerRpm = () => ({ title: createDownloadServerTitle(), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-x86_64.rpm', + 'curl -L -O https://artifacts.opensearch.co/downloads/apm-server/apm-server-{config.opensearchDashboards.version}-x86_64.rpm', 'sudo rpm -vi apm-server-{config.opensearchDashboards.version}-x86_64.rpm', ], textPost: i18n.translate('apmOss.tutorial.downloadServerRpm', { @@ -124,7 +124,7 @@ directory to `APM-Server`.\n4. Open a PowerShell prompt as an Administrator \ **Run As Administrator**). If you are running Windows XP, you might need to download and install \ PowerShell.\n5. From the PowerShell prompt, run the following commands to install APM Server as a Windows service:', values: { - downloadPageLink: 'https://www.elastic.co/downloads/apm/apm-server', + downloadPageLink: 'https://www.opensearch.co/downloads/apm/apm-server', zipFileExtractFolder: '`C:\\Program Files`', apmServerDirectory: '`apm-server-{config.opensearchDashboards.version}-windows`', }, diff --git a/src/plugins/bfetch/docs/browser/reference.md b/src/plugins/bfetch/docs/browser/reference.md index 444b1aa08a98..6723d8b67c0b 100644 --- a/src/plugins/bfetch/docs/browser/reference.md +++ b/src/plugins/bfetch/docs/browser/reference.md @@ -38,7 +38,7 @@ Executes an HTTP request and expects that server streams back results using HTTP/1 `Transfer-Encoding: chunked`. ```ts -const { stream } = bfetch.fetchStreaming({ url: 'http://elastic.co' }); +const { stream } = bfetch.fetchStreaming({ url: 'http://opensearch.co' }); stream.subscribe(value => {}); ``` diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts index 27adc6dc8b54..6ae9fa86b79c 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts @@ -219,21 +219,21 @@ test('opens XHR request and sends specified body', async () => { expect(env.xhr.send).toHaveBeenCalledTimes(0); fetchStreaming({ - url: 'http://elastic.co', + url: 'http://opensearch.co', method: 'GET', body: 'foobar', }); expect(env.xhr.open).toHaveBeenCalledTimes(1); expect(env.xhr.send).toHaveBeenCalledTimes(1); - expect(env.xhr.open).toHaveBeenCalledWith('GET', 'http://elastic.co'); + expect(env.xhr.open).toHaveBeenCalledWith('GET', 'http://opensearch.co'); expect(env.xhr.send).toHaveBeenCalledWith('foobar'); }); test('uses POST request method by default', async () => { const env = setup(); fetchStreaming({ - url: 'http://elastic.co', + url: 'http://opensearch.co', }); - expect(env.xhr.open).toHaveBeenCalledWith('POST', 'http://elastic.co'); + expect(env.xhr.open).toHaveBeenCalledWith('POST', 'http://opensearch.co'); }); diff --git a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts index 3450055804cf..66e54ae5d971 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts @@ -28,7 +28,7 @@ const commonPipelineParams = { tag: '', }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/append-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/append-processor.html const appendProcessorDefinition = { append: { __template: { @@ -41,7 +41,7 @@ const appendProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/bytes-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/bytes-processor.html const bytesProcessorDefinition = { bytes: { __template: { @@ -56,7 +56,7 @@ const bytesProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest-circle-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/ingest-circle-processor.html const circleProcessorDefinition = { circle: { __template: { @@ -77,7 +77,7 @@ const circleProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/csv-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/csv-processor.html const csvProcessorDefinition = { csv: { __template: { @@ -99,7 +99,7 @@ const csvProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/convert-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/convert-processor.html const convertProcessorDefinition = { convert: { __template: { @@ -118,7 +118,7 @@ const convertProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/date-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/date-processor.html const dateProcessorDefinition = { date: { __template: { @@ -134,7 +134,7 @@ const dateProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/date-index-name-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/date-index-name-processor.html const dateIndexNameProcessorDefinition = { date_index_name: { __template: { @@ -153,7 +153,7 @@ const dateIndexNameProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/dissect-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/dissect-processor.html const dissectProcessorDefinition = { dissect: { __template: { @@ -170,7 +170,7 @@ const dissectProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/dot-expand-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/dot-expand-processor.html const dotExpanderProcessorDefinition = { dot_expander: { __template: { @@ -182,7 +182,7 @@ const dotExpanderProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/drop-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/drop-processor.html const dropProcessorDefinition = { drop: { __template: {}, @@ -190,7 +190,7 @@ const dropProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/fail-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/fail-processor.html const failProcessorDefinition = { fail: { __template: { @@ -201,7 +201,7 @@ const failProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/foreach-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/foreach-processor.html const foreachProcessorDefinition = { foreach: { __template: { @@ -216,7 +216,7 @@ const foreachProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/geoip-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/geoip-processor.html const geoipProcessorDefinition = { geoip: { __template: { @@ -235,7 +235,7 @@ const geoipProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/grok-processor.html const grokProcessorDefinition = { grok: { __template: { @@ -255,7 +255,7 @@ const grokProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/gsub-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/gsub-processor.html const gsubProcessorDefinition = { gsub: { __template: { @@ -270,7 +270,7 @@ const gsubProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/htmlstrip-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/htmlstrip-processor.html const htmlStripProcessorDefinition = { html_strip: { __template: { @@ -285,7 +285,7 @@ const htmlStripProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/inference-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/inference-processor.html const inferenceProcessorDefinition = { inference: { __template: { @@ -301,7 +301,7 @@ const inferenceProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/join-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/join-processor.html const joinProcessorDefinition = { join: { __template: { @@ -314,7 +314,7 @@ const joinProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/json-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/json-processor.html const jsonProcessorDefinition = { json: { __template: { @@ -329,7 +329,7 @@ const jsonProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/kv-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/kv-processor.html const kvProcessorDefinition = { kv: { __template: { @@ -349,7 +349,7 @@ const kvProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/lowercase-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/lowercase-processor.html const lowercaseProcessorDefinition = { lowercase: { __template: { @@ -363,7 +363,7 @@ const lowercaseProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/pipeline-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/pipeline-processor.html const pipelineProcessorDefinition = { pipeline: { __template: { @@ -374,7 +374,7 @@ const pipelineProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/remove-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/remove-processor.html const removeProcessorDefinition = { remove: { __template: { @@ -385,7 +385,7 @@ const removeProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/rename-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/rename-processor.html const renameProcessorDefinition = { rename: { __template: { @@ -401,7 +401,7 @@ const renameProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/script-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/script-processor.html const scriptProcessorDefinition = { script: { __template: {}, @@ -414,7 +414,7 @@ const scriptProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/set-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/set-processor.html const setProcessorDefinition = { set: { __template: { @@ -430,7 +430,7 @@ const setProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html const setSecurityUserProcessorDefinition = { set_security_user: { __template: { @@ -442,7 +442,7 @@ const setSecurityUserProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/split-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/split-processor.html const splitProcessorDefinition = { split: { __template: { @@ -458,7 +458,7 @@ const splitProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/sort-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/sort-processor.html const sortProcessorDefinition = { sort: { __template: { @@ -470,7 +470,7 @@ const sortProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/trim-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/trim-processor.html const trimProcessorDefinition = { trim: { __template: { @@ -484,7 +484,7 @@ const trimProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/uppercase-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/uppercase-processor.html const uppercaseProcessorDefinition = { uppercase: { __template: { @@ -498,7 +498,7 @@ const uppercaseProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/urldecode-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/urldecode-processor.html const urlDecodeProcessorDefinition = { urldecode: { __template: { @@ -513,7 +513,7 @@ const urlDecodeProcessorDefinition = { }, }; -// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/user-agent-processor.html +// Based on https://www.opensearch.co/guide/en/elasticsearch/reference/master/user-agent-processor.html const userAgentProcessorDefinition = { user_agent: { __template: { diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json index 2d3bd260372b..e32acb8dd00c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json @@ -24,6 +24,6 @@ "{indices}/_bulk", "{indices}/{type}/_bulk" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-bulk.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json index 40b0e5678264..6982988df059 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json @@ -22,6 +22,6 @@ "_cat/aliases", "_cat/aliases/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-alias.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json index f0c3eb889951..22f78da8326c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json @@ -29,6 +29,6 @@ "_cat/allocation", "_cat/allocation/{nodes}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-allocation.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json index 20d36cc717ed..1a20c94c9f49 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json @@ -14,6 +14,6 @@ "_cat/count", "_cat/count/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-count.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json index f7dfed741f6b..c34902cfd1eb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json @@ -28,6 +28,6 @@ "_cat/fielddata", "_cat/fielddata/{fields}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-fielddata.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json index 2b6905cc711e..df0cac0aca6f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json @@ -23,6 +23,6 @@ "patterns": [ "_cat/health" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-health.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json index f46c1721fdf3..f6e56bf920ac 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json @@ -10,6 +10,6 @@ "patterns": [ "_cat" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json index 200292669eac..e45acef4ea0e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json @@ -52,6 +52,6 @@ "_cat/indices", "_cat/indices/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-indices.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json index 6ae3e54d5c85..414d1eb81bf2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/master" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-master.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json index 191985c7bc6d..bf95209d2d33 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/nodeattrs" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json index 39d2210d892c..3f2a99cf6855 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json @@ -38,6 +38,6 @@ "patterns": [ "_cat/nodes" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-nodes.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json index 4b24db19a50d..d83a3649e361 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json @@ -24,6 +24,6 @@ "patterns": [ "_cat/pending_tasks" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json index 958992be8121..c11ec94b47ec 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/plugins" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-plugins.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json index 647dbce9e409..b96fe9fa7bd8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json @@ -39,6 +39,6 @@ "_cat/recovery", "_cat/recovery/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-recovery.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json index 6ce2f7c10c8c..9cb3dacd8646 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/repositories" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-repositories.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json index 746dfaf1aa9c..616dbb0ea6fe 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json @@ -27,6 +27,6 @@ "_cat/segments", "_cat/segments/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-segments.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json index 1af79e833177..77c3532fe081 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json @@ -38,6 +38,6 @@ "_cat/shards", "_cat/shards/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-shards.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json index fad1bd25dd64..8e4ff98d9b2d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json @@ -25,6 +25,6 @@ "_cat/snapshots", "_cat/snapshots/{repository}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json index 31c987a5893c..b91fb14c3817 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json @@ -26,6 +26,6 @@ "patterns": [ "_cat/tasks" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/tasks.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json index 2ff756838fac..f8a3f8f742a6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json @@ -16,6 +16,6 @@ "_cat/templates", "_cat/templates/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json index 5017a0390a2e..ffe3fd47fbfe 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json @@ -24,6 +24,6 @@ "_cat/thread_pool", "_cat/thread_pool/{thread_pool_patterns}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json index 7e6e6692f931..32b7e0c3e871 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json @@ -6,6 +6,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json index c62c58bac45b..e30375b42813 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/allocation/explain" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json index e935b8999e6d..40900fe139a5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json @@ -10,6 +10,6 @@ "patterns": [ "_component_template/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-component-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json index 249f582c3368..5a7a9fe1e52f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json @@ -12,6 +12,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json index 1758ea44d92c..7bd5bcd50b37 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json @@ -41,6 +41,6 @@ "_cluster/health", "_cluster/health/{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-health.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json index f6c6439483dc..cd23ea24708b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json @@ -10,6 +10,6 @@ "patterns": [ "_cluster/pending_tasks" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-pending.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json index 30598ad7dafe..55234e8b138e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json index 559f5ff1da52..4cbcaa3ca17f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json @@ -6,6 +6,6 @@ "patterns": [ "_remote/info" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json index 777df671f4d8..437bcb8955f2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json @@ -14,6 +14,6 @@ "patterns": [ "_cluster/reroute" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-reroute.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json index fb4a02c60317..e2de5ff4492a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json @@ -37,6 +37,6 @@ ], "indices": null }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-state.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json index be7187ec85e4..b2cc768543ad 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json @@ -11,6 +11,6 @@ "_cluster/stats", "_cluster/stats/nodes/{nodes}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json index bb623cee218e..09f95150b1b9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json @@ -34,6 +34,6 @@ "{indices}/_count", "{indices}/{type}/_count" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-count.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json index 8bbee143c299..141710eb55ff 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json @@ -24,6 +24,6 @@ "patterns": [ "{indices}/_create/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-index_.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json index 0852d8d18483..b7e34c1a2ddb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json @@ -25,6 +25,6 @@ "patterns": [ "{indices}/_doc/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-delete.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json index 53c7fa9879b2..06670e2c1945 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json @@ -57,6 +57,6 @@ "{indices}/_delete_by_query", "{indices}/{type}/_delete_by_query" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json index 129dcaeda04c..22648b3a91dc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_delete_by_query/{task_id}/_rethrottle" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json index 2db3e09cb9ec..f43b2d9c20af 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json @@ -10,6 +10,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json index 4b7b18b9fe1b..3f257c1d6036 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-get.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json index 9ffc4b55f303..b2d04f8df0f0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}/_source/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-get.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json index be01e462878d..6ae750dca4f0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json @@ -25,6 +25,6 @@ "{indices}/_explain/{id}", "{indices}/{type}/{id}/_explain" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-explain.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json index 4bf63d756678..8cd8c14da124 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json @@ -21,6 +21,6 @@ "_field_caps", "{indices}/_field_caps" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-field-caps.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json index a0b70545baff..227cbee45896 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-get.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json index 77fd5e8cd46e..e7ce049813ed 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json @@ -9,6 +9,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json index 420e03a1bdcf..935110ea4120 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json @@ -23,6 +23,6 @@ "{indices}/_source/{id}", "{indices}/{type}/{id}/_source" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-get.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json index 7b5551727d64..221286a36377 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json @@ -33,6 +33,6 @@ "{indices}/{type}", "{indices}/{type}/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-index_.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json index 6b7c7187ab14..3a77c74eafb5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json @@ -11,6 +11,6 @@ "_analyze", "{indices}/_analyze" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-analyze.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json index fc84d07df88a..8336bcd5a19b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json @@ -23,6 +23,6 @@ "_cache/clear", "{indices}/_cache/clear" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json index 8d5e76c0abcc..39f9826c4b6a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json @@ -12,6 +12,6 @@ "patterns": [ "{indices}/_clone/{target}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json index 1b58a27829bc..6ef47e69c11d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}/_close" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-open-close.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json index 1970f88b3095..b0629115b46a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json @@ -12,6 +12,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-create-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json index 084828108123..bd583adb4a43 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json @@ -19,6 +19,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json index d19ec2899393..95503b592102 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json @@ -11,6 +11,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-aliases.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json index 7e5772115d11..c599314169c7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json @@ -10,6 +10,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json index 09f6c7fd780f..bf0aee6f383c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-exists.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json index 4b93184ed52f..efc4641ad215 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json @@ -19,6 +19,6 @@ "_alias/{name}", "{indices}/_alias/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-aliases.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json index 89972447e81a..b75ff9e60567 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json @@ -11,6 +11,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json index 0b11356155b5..3f71f61eb68a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json @@ -18,6 +18,6 @@ "patterns": [ "{indices}/_mapping/{type}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-types-exists.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json index 63c86d10a986..2d05d1b624a5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json @@ -21,6 +21,6 @@ "_flush", "{indices}/_flush" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-flush.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json index 453140110512..86649dcfd589 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json @@ -18,6 +18,6 @@ "_flush/synced", "{indices}/_flush/synced" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json index b642d5f04a04..5eca94b676fb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json @@ -21,6 +21,6 @@ "_forcemerge", "{indices}/_forcemerge" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json index 6df796ed6c4c..7ba3d9aab2e3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-get-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json index 95bc74edc586..afc794471482 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json @@ -21,6 +21,6 @@ "{indices}/_alias/{name}", "{indices}/_alias" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-aliases.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json index 3efcc73a169d..ae19c7ec4671 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json @@ -23,6 +23,6 @@ "_mapping/{type}/field/{fields}", "{indices}/_mapping/{type}/field/{fields}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json index 15c8ac0052c0..83cd61047a62 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json @@ -23,6 +23,6 @@ "_mapping/{type}", "{indices}/_mapping/{type}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json index a6777f7a820a..4aa3143bf183 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json @@ -24,6 +24,6 @@ "{indices}/_settings/{name}", "_settings/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json index d5f52ec76b37..1d4263bece89 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json @@ -13,6 +13,6 @@ "_template", "_template/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json index 99ac95852308..4c64f90f8e38 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json @@ -18,6 +18,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-upgrade.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json index 636923873920..3d21cf8ebee3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}/_open" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-open-close.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json index a6e9091296b3..3877e35832d0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json @@ -12,6 +12,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-aliases.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json index ff8493509848..1a19fe6ca966 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json @@ -28,6 +28,6 @@ "{indices}/_mappings", "_mapping/{type}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json index a2508cd0fc81..a1f328c4e348 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json @@ -22,6 +22,6 @@ "_settings", "{indices}/_settings" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json index 8fb31277da44..41492a94e3c8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json @@ -14,6 +14,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-templates.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json index fc3eadb23bba..95e198002fde 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json @@ -11,6 +11,6 @@ "_recovery", "{indices}/_recovery" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-recovery.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json index 2906349d3fda..8f77171979eb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json @@ -19,6 +19,6 @@ "_refresh", "{indices}/_refresh" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-refresh.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json index 7fa76a687eb7..60552d2e6e53 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json @@ -14,6 +14,6 @@ "{alias}/_rollover", "{alias}/_rollover/{new_index}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json index b3c07150699a..ee3702049120 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json @@ -19,6 +19,6 @@ "_segments", "{indices}/_segments" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-segments.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json index c50f4cf50169..ea1fe63f6d3f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json @@ -19,6 +19,6 @@ "_shard_stores", "{indices}/_shard_stores" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json index 6fbdea0f1244..52c106c9a310 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json @@ -13,6 +13,6 @@ "patterns": [ "{indices}/_shrink/{target}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json index 68f2e338cd20..0fec5da6de83 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json @@ -13,6 +13,6 @@ "patterns": [ "{indices}/_split/{target}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-split-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json index 1fa32265c91e..ac55f4706bff 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json @@ -52,6 +52,6 @@ ], "indices": null }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json index 834115fe2cb1..fe001bd31e8a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json @@ -10,6 +10,6 @@ "patterns": [ "_aliases" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-aliases.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json index 484115bb9b26..78a730c0a886 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json @@ -20,6 +20,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/indices-upgrade.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json index 315aa13d4b4e..180aa717405a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json @@ -31,6 +31,6 @@ "_validate/query", "{indices}/_validate/query" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-validate.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json index 6ce0b496c3c3..d57b883bc099 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json index c56d3840b200..5a6e120f9b36 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json @@ -10,6 +10,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json index cffcbb1261f9..6de8f109e59f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json @@ -10,6 +10,6 @@ "_ingest/pipeline", "_ingest/pipeline/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json index 7c7011c1e757..fe295ea0302a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json @@ -6,6 +6,6 @@ "patterns": [ "_ingest/processor/grok" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json index 037c7bbfc3a3..f9fc2ec386a3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json @@ -10,6 +10,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json index ac9d94b3f7df..beaeaa982124 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json @@ -11,6 +11,6 @@ "_ingest/pipeline/_simulate", "_ingest/pipeline/{id}/_simulate" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json index f84b46a379cf..6b8bf1683f82 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json @@ -19,6 +19,6 @@ "{indices}/_mget", "{indices}/{type}/_mget" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json index 502d3e25686d..25bf4b382bfa 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json @@ -23,6 +23,6 @@ "{indices}/_msearch", "{indices}/{type}/_msearch" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-multi-search.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json index 40f4378d41f8..0541fc948946 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json @@ -21,6 +21,6 @@ "{indices}/_msearch/template", "{indices}/{type}/_msearch/template" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-multi-search.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json index f5c8cbe76bbc..adf061c8b2a2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json @@ -28,6 +28,6 @@ "{indices}/_mtermvectors", "{indices}/{type}/_mtermvectors" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json index b3cbbe80e0d0..5950eb798b4a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json @@ -19,6 +19,6 @@ "_nodes/hot_threads", "_nodes/{nodes}/hot_threads" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json index 6f35b9c6f6a6..36186aa1a194 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json @@ -27,6 +27,6 @@ "transport" ] }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json index ea3960ced4da..685d91f5d2ff 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json @@ -10,6 +10,6 @@ "_nodes/reload_secure_settings", "_nodes/{nodes}/reload_secure_settings" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json index e194a6d42c03..8a79d6be93cd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json @@ -59,6 +59,6 @@ "warmer" ] }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json index fbd55c82f68c..9fe0dfb7bf1b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json @@ -19,6 +19,6 @@ "rest_actions" ] }, - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json index ec43bbac179d..97f1e313881a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json index f61d5b2404d0..088b4eb9724a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json @@ -13,6 +13,6 @@ "_scripts/{id}", "_scripts/{id}/{context}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json index 4d73e58bd4c0..e3f370b47a23 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json @@ -23,6 +23,6 @@ "_rank_eval", "{indices}/_rank_eval" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json index 076b3a96ef2b..db5c52c03de7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json @@ -16,6 +16,6 @@ "patterns": [ "_reindex" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-reindex.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json index 35a5004a8008..56d09cf8fb5e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_reindex/{task_id}/_rethrottle" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-reindex.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json index e206140f9d16..bc31f6dec9e3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json @@ -8,6 +8,6 @@ "_render/template", "_render/template/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json index a565e43c71b3..f74e3f2c5472 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json @@ -7,6 +7,6 @@ "patterns": [ "_scripts/painless/_execute" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json index 4ce82a2c25e0..21bfa9a171cd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json @@ -12,6 +12,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index 21151dfd6143..cd91d1efb06c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -69,6 +69,6 @@ "{indices}/_search", "{indices}/{type}/_search" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-search.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json index b0819f8e066c..82b5c9251982 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json @@ -22,6 +22,6 @@ "_search_shards", "{indices}/_search_shards" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/search-shards.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json index f9081ddbf94e..a41a67fde4c7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json @@ -35,6 +35,6 @@ "{indices}/_search/template", "{indices}/{type}/_search/template" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-template.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json index eed3e597dc07..c0c06255afb8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/_cleanup" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json index 0d5691d36cf5..6f9d570a4768 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json index c9e11195e754..24efc8482a18 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json @@ -12,6 +12,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json index f3c4f0b2bd1c..e64b496650cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json @@ -9,6 +9,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json index 8a35810e69e2..4a642e292b80 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json index b37141728f6b..ccade2054387 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json index 4e8a2fa66bb6..454fcaa57ed5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json @@ -11,6 +11,6 @@ "_snapshot", "_snapshot/{repository}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json index 202f2a51e3b2..630ff156f51d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}/_restore" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json index 4b2fd6b85f3f..538f2d1aa1ed 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json @@ -12,6 +12,6 @@ "_snapshot/{repository}/_status", "_snapshot/{repository}/{snapshot}/_status" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json index 23bd2ace3580..7e334e88eb59 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/_verify" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json index 7a84c6acb53a..7dcf334426f5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json @@ -12,6 +12,6 @@ "_tasks/_cancel", "_tasks/{task_id}/_cancel" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/tasks.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json index 8fcec99275f8..224f92e62a66 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json @@ -10,6 +10,6 @@ "patterns": [ "_tasks/{task_id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/tasks.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json index 7218025e9cbf..875e494d82cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json @@ -19,6 +19,6 @@ "patterns": [ "_tasks" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/tasks.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json index 80373d903aad..895d3c9a39da 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json @@ -28,6 +28,6 @@ "{indices}/{type}/{id}/_termvectors", "{indices}/{type}/_termvectors" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json index 43945dfada35..439a863b5b1d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json @@ -23,6 +23,6 @@ "patterns": [ "{indices}/_update/{id}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-update.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json index 131118511cd6..9fced77bb1c9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json @@ -59,6 +59,6 @@ "{indices}/_update_by_query", "{indices}/{type}/_update_by_query" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json index 8c846a90bfb4..7bf6311788a7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_update_by_query/{task_id}/_rethrottle" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html" + "documentation": "https://www.opensearch.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html" } } diff --git a/src/plugins/dashboard/public/plugin.tsx b/src/plugins/dashboard/public/plugin.tsx index ce75b7ee6ec4..2ca61f32c5c4 100644 --- a/src/plugins/dashboard/public/plugin.tsx +++ b/src/plugins/dashboard/public/plugin.tsx @@ -301,7 +301,7 @@ export class DashboardPlugin id: DashboardConstants.DASHBOARDS_ID, title: 'Dashboard', order: 2500, - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', defaultPath: `#${DashboardConstants.LANDING_PAGE_PATH}`, updater$: this.appStateUpdater, category: DEFAULT_APP_CATEGORIES.opensearchDashboards, diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts index 62ddb114bd76..02290e5aa43a 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts @@ -28,7 +28,7 @@ function escapeRegExp(str: string) { return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string } -// See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters +// See https://www.opensearch.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters function escapeQueryString(str: string) { return str.replace(/[+-=&|> diff --git a/src/plugins/data/public/search/errors/timeout_error.test.tsx b/src/plugins/data/public/search/errors/timeout_error.test.tsx index 815cf3454a4f..842fe23ed23b 100644 --- a/src/plugins/data/public/search/errors/timeout_error.test.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.test.tsx @@ -38,7 +38,7 @@ describe('SearchTimeoutError', () => { expect(component.find('EuiButton').length).toBe(1); component.find('EuiButton').simulate('click'); expect(startMock.application.navigateToUrl).toHaveBeenCalledWith( - 'https://www.elastic.co/subscriptions' + 'https://www.opensearch.co/subscriptions' ); }); diff --git a/src/plugins/data/public/search/errors/timeout_error.tsx b/src/plugins/data/public/search/errors/timeout_error.tsx index 79a376636635..23bf56f3807b 100644 --- a/src/plugins/data/public/search/errors/timeout_error.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.tsx @@ -78,7 +78,7 @@ export class SearchTimeoutError extends OsdError { private onClick(application: ApplicationStart) { switch (this.mode) { case TimeoutErrorMode.UPGRADE: - application.navigateToUrl('https://www.elastic.co/subscriptions'); + application.navigateToUrl('https://www.opensearch.co/subscriptions'); break; case TimeoutErrorMode.CHANGE: application.navigateToApp('management', { diff --git a/src/plugins/data/server/autocomplete/value_suggestions_route.ts b/src/plugins/data/server/autocomplete/value_suggestions_route.ts index fcff7e5d977d..3870b357a309 100644 --- a/src/plugins/data/server/autocomplete/value_suggestions_route.ts +++ b/src/plugins/data/server/autocomplete/value_suggestions_route.ts @@ -92,7 +92,7 @@ async function getBody( ) { const isFieldObject = (f: any): f is IFieldType => Boolean(f && f.name); - // https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html#_standard_operators + // https://www.opensearch.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html#_standard_operators const getEscapedQuery = (q: string = '') => q.replace(/[.?+*|{}[\]()"\\#@&<>~]/g, (match) => `\\${match}`); diff --git a/src/plugins/data/server/ui_settings.ts b/src/plugins/data/server/ui_settings.ts index 8d01eb0eca5b..ebd0051d4571 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -93,7 +93,7 @@ export function getUiSettings(): Record> { 'data.advancedSettings.query.queryStringOptionsText', values: { optionsLink: - '' + + '' + i18n.translate('data.advancedSettings.query.queryStringOptions.optionsLinkText', { defaultMessage: 'Options', }) + @@ -152,7 +152,7 @@ export function getUiSettings(): Record> { 'data.advancedSettings.sortOptionsText', values: { optionsLink: - '' + + '' + i18n.translate('data.advancedSettings.sortOptions.optionsLinkText', { defaultMessage: 'Options', }) + @@ -234,7 +234,7 @@ export function getUiSettings(): Record> { setRequestReferenceSetting: `${UI_SETTINGS.COURIER_SET_REQUEST_PREFERENCE}`, customSettingValue: '"custom"', requestPreferenceLink: - '' + + '' + i18n.translate( 'data.advancedSettings.courier.customRequestPreference.requestPreferenceLinkText', { @@ -258,7 +258,7 @@ export function getUiSettings(): Record> { 'Controls the {maxRequestsLink} setting used for _msearch requests sent by OpenSearch Dashboards. ' + 'Set to 0 to disable this config and use the Elasticsearch default.', values: { - maxRequestsLink: `max_concurrent_shard_requests`, }, }), @@ -288,7 +288,7 @@ export function getUiSettings(): Record> { }, [UI_SETTINGS.SEARCH_INCLUDE_FROZEN]: { name: 'Search in frozen indices', - description: `Will include frozen indices in results if enabled. Searching through frozen indices might increase the search time.`, value: false, @@ -637,7 +637,7 @@ export function getUiSettings(): Record> { 'data.advancedSettings.timepicker.quickRanges.acceptedFormatsLinkText', values: { acceptedFormatsLink: - `` + i18n.translate('data.advancedSettings.timepicker.quickRanges.acceptedFormatsLinkText', { defaultMessage: 'accepted formats', diff --git a/src/plugins/dev_tools/public/plugin.ts b/src/plugins/dev_tools/public/plugin.ts index 7d2c91df5ecf..3426cccc08b8 100644 --- a/src/plugins/dev_tools/public/plugin.ts +++ b/src/plugins/dev_tools/public/plugin.ts @@ -60,7 +60,7 @@ export class DevToolsPlugin implements Plugin { defaultMessage: 'Dev Tools', }), updater$: this.appStateUpdater, - euiIconType: 'logoElastic', + euiIconType: 'heatmap', order: 9010, category: DEFAULT_APP_CATEGORIES.management, mount: async (params: AppMountParameters) => { diff --git a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts index d03a29ac9e1d..051561a0b604 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts @@ -24,7 +24,7 @@ import { /** * Returns `OpenSearchQuerySort` which is used to sort records in the OpenSearch query - * https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html + * https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-request-sort.html * @param timeField * @param tieBreakerField * @param sortDir diff --git a/src/plugins/discover/public/application/components/doc/doc.tsx b/src/plugins/discover/public/application/components/doc/doc.tsx index 2b3c6a17236e..1510709e2a65 100644 --- a/src/plugins/discover/public/application/components/doc/doc.tsx +++ b/src/plugins/discover/public/application/components/doc/doc.tsx @@ -101,7 +101,7 @@ export function Doc(props: DocProps) { values={{ indexName: props.index }} />{' '} { const computedFields = indexPattern.getComputedFields(); diff --git a/src/plugins/discover/public/plugin.ts b/src/plugins/discover/public/plugin.ts index d33922f11746..c4f841b3536b 100644 --- a/src/plugins/discover/public/plugin.ts +++ b/src/plugins/discover/public/plugin.ts @@ -244,7 +244,7 @@ export class DiscoverPlugin title: 'Discover', updater$: this.appStateUpdater.asObservable(), order: 1000, - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', defaultPath: '#/', category: DEFAULT_APP_CATEGORIES.opensearchDashboards, mount: async (params: AppMountParameters) => { diff --git a/src/plugins/expressions/README.md b/src/plugins/expressions/README.md index 63b34d49896f..6591e70157d8 100644 --- a/src/plugins/expressions/README.md +++ b/src/plugins/expressions/README.md @@ -1,17 +1,17 @@ # `expressions` plugin -This plugin provides methods which will parse & execute an *expression pipeline* +This plugin provides methods which will parse & execute an _expression pipeline_ string for you, as well as a series of registries for advanced users who might want to incorporate their own functions, types, and renderers into the service for use in their own application. -Expression pipeline is a chain of functions that *pipe* its output to the +Expression pipeline is a chain of functions that _pipe_ its output to the input of the next function. Functions can be configured using arguments provided by the user. The final output of the expression pipeline can be rendered using -one of the *renderers* registered in `expressions` plugin. +one of the _renderers_ registered in `expressions` plugin. Expressions power visualizations in Dashboard and Lens, as well as, every -*element* in Canvas is backed by an expression. +_element_ in Canvas is backed by an expression. Below is an example of one Canvas element that fetches data using `opensearchsql` function, pipes it further to `math` and `metric` functions, and final `render` function @@ -32,4 +32,4 @@ filters ![image](https://user-images.githubusercontent.com/9773803/74162514-3250a880-4c21-11ea-9e68-86f66862a183.png) -[See Canvas documentation about expressions](https://www.elastic.co/guide/en/kibana/current/canvas-function-arguments.html). +[See Canvas documentation about expressions](https://www.opensearch.co/guide/en/kibana/current/canvas-function-arguments.html). diff --git a/src/plugins/home/README.md b/src/plugins/home/README.md index e5c3bc088a72..04fd78eaef15 100644 --- a/src/plugins/home/README.md +++ b/src/plugins/home/README.md @@ -1,4 +1,5 @@ # home plugin + Moves the legacy `ui/registry/feature_catalogue` module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls. ## Feature catalogue (public service) @@ -14,7 +15,7 @@ UI capabilities for feature controls. import { npSetup } from 'ui/new_platform'; npSetup.plugins.home.featureCatalogue.register(/* same details here */); -// For new plugins: first add 'home` to the list of `optionalPlugins` +// For new plugins: first add 'home` to the list of `optionalPlugins` // in your opensearch_dashboards.json file. Then access the plugin directly in `setup`: class MyPlugin { @@ -33,22 +34,25 @@ Note that the old module supported providing a Angular DI function to receive An Replaces the sample data mixin putting functions on the global `server` object. ### What happens when a user installs a sample data set? -1) OpenSearch Dashboards deletes existing OpenSearch indicies for the sample data set if they exist from previous installs. -2) OpenSearch Dashboards creates OpenSearch indicies with the provided field mappings. -3) OpenSearch Dashboards uses bulk insert to ingest the new-line delimited json into the OpenSearch index. OpenSearch Dashboards migrates timestamps provided in new-line delimited json to the current time frame for any date field defined in `timeFields` -4) OpenSearch Dashboards will install all saved objects for sample data set. This will override any saved objects previouslly installed for sample data set. + +1. OpenSearch Dashboards deletes existing OpenSearch indicies for the sample data set if they exist from previous installs. +2. OpenSearch Dashboards creates OpenSearch indicies with the provided field mappings. +3. OpenSearch Dashboards uses bulk insert to ingest the new-line delimited json into the OpenSearch index. OpenSearch Dashboards migrates timestamps provided in new-line delimited json to the current time frame for any date field defined in `timeFields` +4. OpenSearch Dashboards will install all saved objects for sample data set. This will override any saved objects previouslly installed for sample data set. OpenSearch index names are prefixed with `opensearch_dashboards_sample_data_`. For more details see [createIndexName](/src/plugins/home/server/services/sample_data/lib/create_index_name.js) Sample data sets typically provide data that spans 5 weeks from the past and 5 weeks into the future so users see data relative to `now` for a few weeks after installing sample data sets. ### Adding new sample data sets + Use [existing sample data sets](/src/plugins/home/server/services/sample_data/data_sets) as examples. To avoid bloating the OpenSearch Dashboards distribution, keep data set size to a minimum. Follow the steps below to add new Sample data sets to OpenSearch Dashboards. -1) Create new-line delimited json containing sample data. -2) Create file with OpenSearch field mappings for sample data indices. -3) Create OpenSearch Dashboards saved objects for sample data including index-patterns, visualizations, and dashboards. The best way to extract the saved objects is from the OpenSearch Dashboards management -> saved objects [export UI](https://www.elastic.co/guide/en/kibana/current/managing-saved-objects.html#_export) -4) Define sample data spec conforming to [Data Set Schema](/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts). -5) Register sample data by calling `plguins.home.sampleData.registerSampleDataset(yourSpecProvider)` in your `setup` method where `yourSpecProvider` is a function that returns an object containing your sample data spec from step 4. + +1. Create new-line delimited json containing sample data. +2. Create file with OpenSearch field mappings for sample data indices. +3. Create OpenSearch Dashboards saved objects for sample data including index-patterns, visualizations, and dashboards. The best way to extract the saved objects is from the OpenSearch Dashboards management -> saved objects [export UI](https://www.opensearch.co/guide/en/kibana/current/managing-saved-objects.html#_export) +4. Define sample data spec conforming to [Data Set Schema](/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts). +5. Register sample data by calling `plguins.home.sampleData.registerSampleDataset(yourSpecProvider)` in your `setup` method where `yourSpecProvider` is a function that returns an object containing your sample data spec from step 4. diff --git a/src/plugins/home/public/application/components/__snapshots__/home.test.js.snap b/src/plugins/home/public/application/components/__snapshots__/home.test.js.snap index e9b0494105e1..2f01504ca172 100644 --- a/src/plugins/home/public/application/components/__snapshots__/home.test.js.snap +++ b/src/plugins/home/public/application/components/__snapshots__/home.test.js.snap @@ -255,7 +255,7 @@ exports[`home directories should render solutions in the "solution section" 1`] "appDescriptions": Array [ "Analyze data in dashboards", ], - "icon": "logoKibana", + "icon": "inputOutput", "id": "kibana", "order": 1, "path": "kibana_landing_page", diff --git a/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap b/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap index 1484ce6b1a81..5b83e8314172 100644 --- a/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap +++ b/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap @@ -42,7 +42,7 @@ exports[`should render popover when appLinks is not empty 1`] = ` "href": "rootapp/myAppPath", "icon": , "name": "myAppLabel", "onClick": [Function], diff --git a/src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap b/src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap index e091453ce99c..ebee6be84496 100644 --- a/src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap +++ b/src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap @@ -19,7 +19,7 @@ exports[`should render a Welcome screen with no telemetry disclaimer 1`] = ` > { title: 'OpenSearch Dashboards', subtitle: 'Visualize & analyze', appDescriptions: ['Analyze data in dashboards'], - icon: 'logoKibana', + icon: 'inputOutput', path: 'opensearch_dashboards_landing_page', order: 1, }; diff --git a/src/plugins/home/public/application/components/sample_data_view_data_button.test.js b/src/plugins/home/public/application/components/sample_data_view_data_button.test.js index 4ae8383bd234..4743d8dd96ff 100644 --- a/src/plugins/home/public/application/components/sample_data_view_data_button.test.js +++ b/src/plugins/home/public/application/components/sample_data_view_data_button.test.js @@ -45,7 +45,7 @@ test('should render popover when appLinks is not empty', () => { { path: 'app/myAppPath', label: 'myAppLabel', - icon: 'logoKibana', + icon: 'inputOutput', }, ]; diff --git a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap index 726d3dda4e9c..b2d1d164bd40 100644 --- a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap +++ b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap @@ -24,7 +24,7 @@ exports[`SolutionPanel renders the solution panel for the given solution 1`] = ` grow={1} > diff --git a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_title.test.tsx.snap b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_title.test.tsx.snap index ed03fb12c794..4037ce64e869 100644 --- a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_title.test.tsx.snap +++ b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_title.test.tsx.snap @@ -11,7 +11,7 @@ exports[`SolutionTitle renders the title section of the solution panel 1`] = ` diff --git a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap index 4052ffca9e56..4352ec764c34 100644 --- a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap +++ b/src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap @@ -57,7 +57,7 @@ exports[`SolutionsSection renders a single solution 1`] = ` "appDescriptions": Array [ "Analyze data in dashboards", ], - "icon": "logoKibana", + "icon": "inputOutput", "id": "kibana", "order": 1, "path": "kibana_landing_page", @@ -259,7 +259,7 @@ exports[`SolutionsSection renders multiple solutions in two columns with Kibana "appDescriptions": Array [ "Analyze data in dashboards", ], - "icon": "logoKibana", + "icon": "inputOutput", "id": "kibana", "order": 1, "path": "kibana_landing_page", diff --git a/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx b/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx index 16efbb38fde7..e71b54eb6819 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx @@ -27,7 +27,7 @@ const solutionEntry = { subtitle: 'Visualize & analyze', description: 'Explore and analyze your data', appDescriptions: ['Analyze data in dashboards'], - icon: 'logoKibana', + icon: 'inputOutput', path: 'opensearch_dashboards_landing_page', order: 1, }; diff --git a/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx b/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx index 26c65840e425..a5197d7cb9e7 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx @@ -26,7 +26,7 @@ const solutionEntry = { title: 'OpenSearch Dashboards', subtitle: 'Visualize & analyze', descriptions: ['Analyze data in dashboards'], - icon: 'logoKibana', + icon: 'inputOutput', path: 'opensearch_dashboards_landing_page', order: 1, }; diff --git a/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx b/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx index b606cacf91b2..8158c56777d1 100644 --- a/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx @@ -27,7 +27,7 @@ const solutionEntry1 = { title: 'OpenSearch Dashboards', subtitle: 'Visualize & analyze', appDescriptions: ['Analyze data in dashboards'], - icon: 'logoKibana', + icon: 'inputOutput', path: 'opensearch_dashboards_landing_page', order: 1, }; diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap b/src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap index 35b4b72985c1..c0d016f88164 100644 --- a/src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap +++ b/src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap @@ -56,7 +56,7 @@ exports[`props iconType 1`] = ` { ); expect(component).toMatchSnapshot(); // eslint-disable-line diff --git a/src/plugins/home/public/application/components/welcome.tsx b/src/plugins/home/public/application/components/welcome.tsx index 39a3b5afa188..16a5a33b9e1b 100644 --- a/src/plugins/home/public/application/components/welcome.tsx +++ b/src/plugins/home/public/application/components/welcome.tsx @@ -135,7 +135,7 @@ export class Welcome extends React.Component {
- +

diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts index 62ecfcb18e38..ab67890d4b71 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts @@ -78,7 +78,8 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[eCommerce] Markdown', }), visState: - '{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + //'{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + '{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts index bb44cb2ce912..11ccfd054176 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts @@ -264,7 +264,8 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[Flights] Markdown Instructions', }), visState: - '{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + //'{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + '{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts index 73f7a25e56a0..ecdb650c7217 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts @@ -250,7 +250,8 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[Logs] Markdown Instructions', }), visState: - '{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + //'{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.co/guide/en/kibana/current/index.html)."},"aggs":[]}', + '{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts index 7acf27ec0aa4..c805f33c3f56 100644 --- a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts @@ -37,7 +37,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf auditbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd auditbeat-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -53,13 +53,13 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-amd64.deb', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-amd64.deb', 'sudo dpkg -i auditbeat-{config.opensearchDashboards.version}-amd64.deb', ], textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.elastic.co/downloads/beats/auditbeat', + linkUrl: 'https://www.opensearch.co/downloads/beats/auditbeat', }, }), }, @@ -74,13 +74,13 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-x86_64.rpm', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/auditbeat/auditbeat-{config.opensearchDashboards.version}-x86_64.rpm', 'sudo rpm -vi auditbeat-{config.opensearchDashboards.version}-x86_64.rpm', ], textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.elastic.co/downloads/beats/auditbeat', + linkUrl: 'https://www.opensearch.co/downloads/beats/auditbeat', }, }), }, @@ -102,7 +102,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ values: { folderPath: '`C:\\Program Files`', guideLinkUrl: '{config.docs.beats.auditbeat}/auditbeat-installation-configuration.html', - auditbeatLinkUrl: 'https://www.elastic.co/downloads/beats/auditbeat', + auditbeatLinkUrl: 'https://www.opensearch.co/downloads/beats/auditbeat', directoryName: 'auditbeat-{config.opensearchDashboards.version}-windows', }, } diff --git a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts index caef902285d1..7d50eb878aab 100644 --- a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts @@ -37,7 +37,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf filebeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd filebeat-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -53,13 +53,13 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-amd64.deb', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-amd64.deb', 'sudo dpkg -i filebeat-{config.opensearchDashboards.version}-amd64.deb', ], textPost: i18n.translate('home.tutorials.common.filebeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.elastic.co/downloads/beats/filebeat', + linkUrl: 'https://www.opensearch.co/downloads/beats/filebeat', }, }), }, @@ -74,13 +74,13 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-x86_64.rpm', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/filebeat/filebeat-{config.opensearchDashboards.version}-x86_64.rpm', 'sudo rpm -vi filebeat-{config.opensearchDashboards.version}-x86_64.rpm', ], textPost: i18n.translate('home.tutorials.common.filebeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.elastic.co/downloads/beats/filebeat', + linkUrl: 'https://www.opensearch.co/downloads/beats/filebeat', }, }), }, @@ -100,7 +100,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ values: { folderPath: '`C:\\Program Files`', guideLinkUrl: '{config.docs.beats.filebeat}/filebeat-installation-configuration.html', - filebeatLinkUrl: 'https://www.elastic.co/downloads/beats/filebeat', + filebeatLinkUrl: 'https://www.opensearch.co/downloads/beats/filebeat', directoryName: 'filebeat-{config.opensearchDashboards.version}-windows', }, }), diff --git a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts index 158fec1c2579..4e73bb23e64b 100644 --- a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts @@ -37,7 +37,7 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/functionbeat/functionbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/functionbeat/functionbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf functionbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd functionbeat-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -56,7 +56,7 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ } ), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/functionbeat/functionbeat-{config.opensearchDashboards.version}-linux-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/functionbeat/functionbeat-{config.opensearchDashboards.version}-linux-x86_64.tar.gz', 'tar xzvf functionbeat-{config.opensearchDashboards.version}-linux-x86_64.tar.gz', 'cd functionbeat-{config.opensearchDashboards.version}-linux-x86_64/', ], @@ -81,7 +81,7 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', functionbeatLink: '{config.docs.beats.functionbeat}/functionbeat-installation-configuration.html', - elasticLink: 'https://www.elastic.co/downloads/beats/functionbeat', + elasticLink: 'https://www.opensearch.co/downloads/beats/functionbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts index c75ba84fdea9..440e8bb6a143 100644 --- a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts @@ -35,7 +35,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ values: { link: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html' }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf heartbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd heartbeat-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -49,12 +49,12 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ values: { link: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html' }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-amd64.deb', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-amd64.deb', 'sudo dpkg -i heartbeat-{config.opensearchDashboards.version}-amd64.deb', ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.elastic.co/downloads/beats/heartbeat' }, + values: { link: 'https://www.opensearch.co/downloads/beats/heartbeat' }, }), }, RPM: { @@ -66,12 +66,12 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ values: { link: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html' }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-x86_64.rpm', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/heartbeat/heartbeat-{config.opensearchDashboards.version}-x86_64.rpm', 'sudo rpm -vi heartbeat-{config.opensearchDashboards.version}-x86_64.rpm', ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.elastic.co/downloads/beats/heartbeat' }, + values: { link: 'https://www.opensearch.co/downloads/beats/heartbeat' }, }), }, WINDOWS: { @@ -94,7 +94,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', heartbeatLink: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html', - elasticLink: 'https://www.elastic.co/downloads/beats/heartbeat', + elasticLink: 'https://www.opensearch.co/downloads/beats/heartbeat', }, } ), @@ -421,7 +421,7 @@ export function heartbeatEnableInstructionsCloud() { const defaultCommands = [ 'heartbeat.monitors:', '- type: http', - ' urls: ["http://elastic.co"]', + ' urls: ["http://opensearch.co"]', ' schedule: "@every 10s"', ]; const defaultTextPost = i18n.translate( diff --git a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts index 3f5e38a0f489..b4d63b621d7d 100644 --- a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts @@ -54,7 +54,7 @@ export const createLogstashInstructions = () => ({ } ), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.tar.gz', 'tar xzvf logstash-{config.opensearchDashboards.version}.tar.gz', ], }, @@ -96,7 +96,7 @@ export const createLogstashInstructions = () => ({ logstashLink: '{config.docs.base_url}guide/en/logstash/current/getting-started-with-logstash.html', elasticLink: - 'https://artifacts.elastic.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.zip', + 'https://artifacts.opensearch.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.zip', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index 730cc5c42084..9f769e829be7 100644 --- a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts @@ -37,7 +37,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'tar xzvf metricbeat-{config.opensearchDashboards.version}-darwin-x86_64.tar.gz', 'cd metricbeat-{config.opensearchDashboards.version}-darwin-x86_64/', ], @@ -53,12 +53,12 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-amd64.deb', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-amd64.deb', 'sudo dpkg -i metricbeat-{config.opensearchDashboards.version}-amd64.deb', ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.elastic.co/downloads/beats/metricbeat' }, + values: { link: 'https://www.opensearch.co/downloads/beats/metricbeat' }, }), }, RPM: { @@ -72,12 +72,12 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ }, }), commands: [ - 'curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-x86_64.rpm', + 'curl -L -O https://artifacts.opensearch.co/downloads/beats/metricbeat/metricbeat-{config.opensearchDashboards.version}-x86_64.rpm', 'sudo rpm -vi metricbeat-{config.opensearchDashboards.version}-x86_64.rpm', ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.elastic.co/downloads/beats/metricbeat' }, + values: { link: 'https://www.opensearch.co/downloads/beats/metricbeat' }, }), }, WINDOWS: { @@ -100,7 +100,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', metricbeatLink: '{config.docs.beats.metricbeat}/metricbeat-installation-configuration.html', - elasticLink: 'https://www.elastic.co/downloads/beats/metricbeat', + elasticLink: 'https://www.opensearch.co/downloads/beats/metricbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts b/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts index 37ae2160a6a0..9271361bf351 100644 --- a/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts @@ -35,7 +35,7 @@ To create a cluster, in Elastic Cloud console:\n\ 4. Wait until deployment creation completes\n\ 5. Go to the new Cloud OpenSearch Dashboards instance and follow the OpenSearch Dashboards Home instructions', values: { - link: 'https://www.elastic.co/cloud/as-a-service/signup?blade=kib', + link: 'https://www.opensearch.co/cloud/as-a-service/signup?blade=kib', }, }), }); diff --git a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts index 21b6a324331d..978a02d1397e 100644 --- a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts @@ -46,7 +46,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', winlogbeatLink: '{config.docs.beats.winlogbeat}/winlogbeat-installation-configuration.html', - elasticLink: 'https://www.elastic.co/downloads/beats/winlogbeat', + elasticLink: 'https://www.opensearch.co/downloads/beats/winlogbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts index 33e099df5f17..156f3977d683 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts @@ -49,7 +49,7 @@ export function opensearchDashboardsLogsSpecProvider(context: TutorialContext): learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-opensearch-dashboards.html', }, }), - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', artifacts: { dashboards: [], application: { diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts index 24410541a7a8..d7ab9ce8dab6 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts @@ -54,7 +54,7 @@ export function opensearchDashboardsMetricsSpecProvider(context: TutorialContext '{config.docs.beats.metricbeat}/metricbeat-module-opensearch-dashboards.html', }, }), - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', artifacts: { application: { label: i18n.translate( diff --git a/src/plugins/home/server/tutorials/opensearch_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_logs/index.ts index be176a991072..4947355672c2 100644 --- a/src/plugins/home/server/tutorials/opensearch_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_logs/index.ts @@ -51,7 +51,7 @@ export function opensearchLogsSpecProvider(context: TutorialContext): TutorialSc learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-opensearch.html', }, }), - euiIconType: 'logoElasticsearch', + euiIconType: 'heatmap', artifacts: { application: { label: i18n.translate('home.tutorials.opensearchLogs.artifacts.application.label', { diff --git a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts index fbede6fbd68a..260b2dbacb2c 100644 --- a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts @@ -50,7 +50,7 @@ export function opensearchMetricsSpecProvider(context: TutorialContext): Tutoria learnMoreLink: '{config.docs.beats.metricbeat}/metricbeat-module-opensearch.html', }, }), - euiIconType: 'logoElasticsearch', + euiIconType: 'heatmapsearch', artifacts: { application: { label: i18n.translate('home.tutorials.opensearchMetrics.artifacts.application.label', { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts index 3b3895cbb9ad..20ec47ae2df9 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts @@ -32,7 +32,7 @@ export async function ensureMinimumTime( ) { let returnValue; - // https://kibana-ci.elastic.co/job/elastic+kibana+6.x+multijob-intake/128/console + // https://kibana-ci.opensearch.co/job/elastic+kibana+6.x+multijob-intake/128/console // We're having periodic failures around the timing here. I'm not exactly sure // why it's not consistent but I'm going to add some buffer space here to // prevent these random failures diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx index d59ce30bd400..73a82901ffbd 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx @@ -218,7 +218,7 @@ export const EditIndexPattern = withRouter( values={{ indexPatternTitle: {indexPattern.title} }} />{' '} diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap index 5671ee173c8b..71ac90db176c 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap @@ -21,7 +21,7 @@ exports[`CallOuts should render normally 1`] = ` Object { "deprecatedLangsInUse": "php", "link": { const component = shallow( ); @@ -36,7 +36,7 @@ describe('CallOuts', () => { test('should render without any call outs', () => { const component = shallow( - + ); expect(component).toMatchSnapshot(); diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url_template_flyout.test.tsx.snap b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url_template_flyout.test.tsx.snap index 14e5012e9a55..48c00e63ece8 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url_template_flyout.test.tsx.snap +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url_template_flyout.test.tsx.snap @@ -97,8 +97,8 @@ exports[`UrlTemplateFlyout should render normally 1`] = ` "template": "http://company.net/groups?id={{value}}", }, Object { - "input": "/images/favicon.ico", - "output": "http://www.site.com/images/favicon.ico", + "input": "/images/favicon-heatmap.ico", + "output": "http://www.site.com/images/favicon-heatmap.ico", "template": "http://www.site.com{{rawValue}}", }, ] diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx index 9b34ca249f60..3c43df592b66 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx @@ -89,9 +89,9 @@ export const UrlTemplateFlyout = ({ isVisible = false, onClose = () => {} }) => output: 'http://company.net/groups?id=users%2Fadmin', }, { - input: '/images/favicon.ico', + input: '/images/favicon-heatmap.ico', template: 'http://www.site.com{{rawValue}}', - output: 'http://www.site.com/images/favicon.ico', + output: 'http://www.site.com/images/favicon-heatmap.ico', }, ]} columns={[ diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap index 645694371f90..7ae25f454760 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap @@ -132,7 +132,7 @@ exports[`EmptyState should render normally 1`] = ` Object { "description": ~]/g, (match) => `\\${match}`); } diff --git a/src/plugins/management/public/plugin.ts b/src/plugins/management/public/plugin.ts index 125cc0916286..939867ff30fd 100644 --- a/src/plugins/management/public/plugin.ts +++ b/src/plugins/management/public/plugin.ts @@ -78,7 +78,7 @@ export class ManagementPlugin implements Plugin default distribution diff --git a/src/plugins/maps_legacy/public/map/grid_dimensions.js b/src/plugins/maps_legacy/public/map/grid_dimensions.js index 0f84e972104b..1e1406ec33d5 100644 --- a/src/plugins/maps_legacy/public/map/grid_dimensions.js +++ b/src/plugins/maps_legacy/public/map/grid_dimensions.js @@ -18,7 +18,7 @@ */ // geohash precision mapping of geohash grid cell dimensions (width x height, in meters) at equator. -// https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html#_cell_dimensions_at_the_equator +// https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html#_cell_dimensions_at_the_equator const gridAtEquator = { 1: [5009400, 4992600], 2: [1252300, 624100], diff --git a/src/plugins/maps_legacy/public/map/map_messages.js b/src/plugins/maps_legacy/public/map/map_messages.js index fce56a786e0a..cba3c71bcde5 100644 --- a/src/plugins/maps_legacy/public/map/map_messages.js +++ b/src/plugins/maps_legacy/public/map/map_messages.js @@ -48,19 +48,19 @@ export const createZoomWarningMsg = (function () { { wms } or { configSettings} for more information." values={{ defaultDistribution: ( - + {`default distribution `} ), ems: ( - + {`OpenSearch Maps Service`} ), wms: ( {`Custom WMS Configuration`} @@ -68,7 +68,7 @@ export const createZoomWarningMsg = (function () { configSettings: ( {`Custom TMS Using Config Settings`} diff --git a/src/plugins/maps_legacy/public/map/service_settings.test.js b/src/plugins/maps_legacy/public/map/service_settings.test.js index 5636812c4bec..428137602a4f 100644 --- a/src/plugins/maps_legacy/public/map/service_settings.test.js +++ b/src/plugins/maps_legacy/public/map/service_settings.test.js @@ -95,7 +95,7 @@ describe('service_settings (FKA tile_map test)', function () { expect(attrs.url.includes('{y}')).toEqual(true); expect(attrs.url.includes('{z}')).toEqual(true); expect(attrs.attribution).toEqual( - 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>' + 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>' ); const urlObject = url.parse(attrs.url, true); @@ -176,7 +176,7 @@ describe('service_settings (FKA tile_map test)', function () { minZoom: 0, maxZoom: 10, attribution: - 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>', + 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>', subdomains: [], }, ]; @@ -293,7 +293,7 @@ describe('service_settings (FKA tile_map test)', function () { it('should load manifest (individual props)', async () => { const expected = { attribution: - 'Made with NaturalEarth | OpenSearch Maps Service', + 'Made with NaturalEarth | OpenSearch Maps Service', format: 'geojson', fields: [ { type: 'id', name: 'iso2', description: 'ISO 3166-1 alpha-2 code' }, diff --git a/src/plugins/maps_legacy/server/ui_settings.ts b/src/plugins/maps_legacy/server/ui_settings.ts index 95261fd19264..58277c81ba14 100644 --- a/src/plugins/maps_legacy/server/ui_settings.ts +++ b/src/plugins/maps_legacy/server/ui_settings.ts @@ -38,7 +38,7 @@ export function getUiSettings(): Record> { 'maps_legacy.advancedSettings.visualization.tileMap.maxPrecision.cellDimensionsLinkText', values: { cellDimensionsLink: - `` + i18n.translate( 'maps_legacy.advancedSettings.visualization.tileMap.maxPrecision.cellDimensionsLinkText', diff --git a/src/plugins/opensearch_dashboards_overview/common/index.ts b/src/plugins/opensearch_dashboards_overview/common/index.ts index 03f305541cec..f98fe88e5f3c 100644 --- a/src/plugins/opensearch_dashboards_overview/common/index.ts +++ b/src/plugins/opensearch_dashboards_overview/common/index.ts @@ -20,4 +20,4 @@ export const PLUGIN_ID = 'opensearchDashboardsOverview'; export const PLUGIN_NAME = 'Overview'; export const PLUGIN_PATH = `/app/opensearch_dashboards_overview`; -export const PLUGIN_ICON = 'logoKibana'; +export const PLUGIN_ICON = 'inputOutput'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap b/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap index 028bf085c8c0..9b6405034e23 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap @@ -71,7 +71,7 @@ exports[`Overview render 1`] = ` } } hideToolbar={false} - iconType="logoKibana" + iconType="inputOutput" title={ @@ -491,7 +491,7 @@ exports[`Overview without features 1`] = ` } } hideToolbar={false} - iconType="logoKibana" + iconType="inputOutput" title={ @@ -911,7 +911,7 @@ exports[`Overview without solutions 1`] = ` } } hideToolbar={false} - iconType="logoKibana" + iconType="inputOutput" title={ = ({ newsFetchResult, solutions, features }) => = ({ newsFetchResult, solutions, features }) =>
diff --git a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx index 2fab0eb082e7..781f417716fe 100644 --- a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx +++ b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx @@ -70,7 +70,7 @@ class ExitFullScreenButtonUi extends PureComponent { > - +
diff --git a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx index e1c13e2edf4d..522b2ac7a23f 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx @@ -49,7 +49,7 @@ export const typeToEuiIconMap: Partial> = { geo_point: { iconType: 'tokenGeo' }, geo_shape: { iconType: 'tokenGeo' }, ip: { iconType: 'tokenIP' }, - // is a plugin's data type https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-murmur3-usage.html + // is a plugin's data type https://www.opensearch.co/guide/en/elasticsearch/plugins/current/mapper-murmur3-usage.html murmur3: { iconType: 'tokenFile' }, number: { iconType: 'tokenNumber' }, _source: { iconType: 'editorCodeBlock', color: 'gray' }, diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx index 2fc0c6359fcc..9741834f181b 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx @@ -55,7 +55,7 @@ test('should add `noreferrer` and `nooopener` to unknown links in new tabs', () test('should only add `nooopener` to known links in new tabs', () => { const component = shallow( - + ); expect(component.render().find('a').prop('rel')).toBe('noopener'); }); diff --git a/src/plugins/security_oss/public/insecure_cluster_service/components/default_alert.tsx b/src/plugins/security_oss/public/insecure_cluster_service/components/default_alert.tsx index dee6b59c837e..3f596683e4ad 100644 --- a/src/plugins/security_oss/public/insecure_cluster_service/components/default_alert.tsx +++ b/src/plugins/security_oss/public/insecure_cluster_service/components/default_alert.tsx @@ -31,67 +31,67 @@ import { MountPoint } from 'opensearch-dashboards/public'; import React, { useState } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; -export const defaultAlertTitle = i18n.translate('security.checkup.insecureClusterTitle', { - defaultMessage: 'Your data is not secure', -}); +//export const defaultAlertTitle = i18n.translate('security.checkup.insecureClusterTitle', { +// defaultMessage: 'Your data is not secure', +//}); -export const defaultAlertText: (onDismiss: (persist: boolean) => void) => MountPoint = ( - onDismiss -) => (e) => { - const AlertText = () => { - const [persist, setPersist] = useState(false); +//export const defaultAlertText: (onDismiss: (persist: boolean) => void) => MountPoint = ( +// onDismiss +//) => (e) => { + // const AlertText = () => { + // const [persist, setPersist] = useState(false); - return ( - -
- - - - - setPersist(changeEvent.target.checked)} - label={i18n.translate('security.checkup.dontShowAgain', { - defaultMessage: `Don't show again`, - })} - /> - - - - - {i18n.translate('security.checkup.learnMoreButtonText', { - defaultMessage: `Learn more`, - })} - - - - onDismiss(persist)} - data-test-subj="defaultDismissAlertButton" - > - {i18n.translate('security.checkup.dismissButtonText', { - defaultMessage: `Dismiss`, - })} - - - -
-
- ); - }; + // return ( + // + //
+ // + // + // + // + // setPersist(changeEvent.target.checked)} + // label={i18n.translate('security.checkup.dontShowAgain', { + // defaultMessage: `Don't show again`, + // })} + // /> + // + // + // + // + // {i18n.translate('security.checkup.learnMoreButtonText', { + // defaultMessage: `Learn more`, +// })} + // + // + // +// onDismiss(persist)} + // data-test-subj="defaultDismissAlertButton" + // > + // {i18n.translate('security.checkup.dismissButtonText', { + // defaultMessage: `Dismiss`, + // })} + // + // + // + //
+ //
+ // ); + // }; - render(, e); + // render(, e); - return () => unmountComponentAtNode(e); -}; +// return () => unmountComponentAtNode(e); +//s}; diff --git a/src/plugins/telemetry/public/components/__snapshots__/opt_in_message.test.tsx.snap b/src/plugins/telemetry/public/components/__snapshots__/opt_in_message.test.tsx.snap index 4c151e44cbfe..149460faa8c0 100644 --- a/src/plugins/telemetry/public/components/__snapshots__/opt_in_message.test.tsx.snap +++ b/src/plugins/telemetry/public/components/__snapshots__/opt_in_message.test.tsx.snap @@ -8,7 +8,7 @@ exports[`OptInMessage renders as expected 1`] = ` values={ Object { "privacyStatementLink": diff --git a/src/plugins/telemetry/public/components/__snapshots__/opted_in_notice_banner.test.tsx.snap b/src/plugins/telemetry/public/components/__snapshots__/opted_in_notice_banner.test.tsx.snap index 62998da73d6f..1cb0c2d19466 100644 --- a/src/plugins/telemetry/public/components/__snapshots__/opted_in_notice_banner.test.tsx.snap +++ b/src/plugins/telemetry/public/components/__snapshots__/opted_in_notice_banner.test.tsx.snap @@ -20,7 +20,7 @@ exports[`OptInDetailsComponent renders as expected 1`] = ` /> , "privacyStatementLink":
- - -
@@ -42,17 +39,18 @@

+ them on the fly if you need to." + >

- @@ -62,7 +60,8 @@

+ }" + > - -

@@ -163,15 +162,18 @@

+ }" + >

- - -

-
+
)

@@ -271,39 +271,56 @@

+ i18n-values="{ html_strongAdd: '' + translations.strongAddText + '' }" + >

+ }" + > + }" + > + }" + > + }" + >
.opensearch(*), .opensearch(US)
.opensearch(*).color(#f66), .opensearch(US).bars(1)
- .opensearch(*).color(#f66).lines(fill=3), - .opensearch(US).bars(1).points(radius=3, weight=1) + .opensearch(*).color(#f66).lines(fill=3), .opensearch(US).bars(1).points(radius=3, + weight=1)
(.opensearch(*), .opensearch(GB)).points()

@@ -319,16 +336,13 @@

- - -

@@ -344,7 +358,8 @@

.opensearch(\'US\')' }">

+ }" + >

- - - -

@@ -418,18 +431,25 @@

- + null : function.name)" + osd-accessible-click + > -
.{{function.name}}() {{function.help}}
+
- +
- \ No newline at end of file + diff --git a/src/plugins/timeline/public/plugin.ts b/src/plugins/timeline/public/plugin.ts index 36aafd608d66..19443b716b99 100644 --- a/src/plugins/timeline/public/plugin.ts +++ b/src/plugins/timeline/public/plugin.ts @@ -104,7 +104,7 @@ export class TimelinePlugin implements Plugin { title: 'Timeline', order: 8000, defaultPath: '#/', - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', category: DEFAULT_APP_CATEGORIES.opensearchDashboards, navLinkStatus: visTypeTimeline.isUiEnabled === false ? AppNavLinkStatus.hidden : AppNavLinkStatus.default, diff --git a/src/plugins/usage_collection/server/routes/stats/README.md b/src/plugins/usage_collection/server/routes/stats/README.md index fee1c3863b2d..78803ae74a13 100644 --- a/src/plugins/usage_collection/server/routes/stats/README.md +++ b/src/plugins/usage_collection/server/routes/stats/README.md @@ -1,16 +1,16 @@ # `/api/stats` -This API returns the metrics for the OpenSearch Dashboards server and usage stats. It allows the [Metricbeat OpenSearch Dashboards module](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-kibana.html) to collect the [stats metricset](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-kibana-stats.html). +This API returns the metrics for the OpenSearch Dashboards server and usage stats. It allows the [Metricbeat OpenSearch Dashboards module](https://www.opensearch.co/guide/en/beats/metricbeat/current/metricbeat-module-kibana.html) to collect the [stats metricset](https://www.opensearch.co/guide/en/beats/metricbeat/current/metricbeat-metricset-kibana-stats.html). By default, it returns the simplest level of stats; consisting of the OpenSearch Dashboards server's ops metrics, version, status, and basic config like the server name, host, port, and locale. However, the information detailed above can be extended, with the combination of the following 3 query parameters: -| Query Parameter | Default value | Description | -|:----------------|:-------------:|:------------| -|`extended`|`false`|When `true`, it adds `clusterUuid` and `usage`. The latter contains the information reported by all the Usage Collectors registered in the OpenSearch Dashboards server. It may throw `503 Stats not ready` if any of the collectors is not fully initialized yet.| -|`legacy`|`false`|By default, when `extended=true`, the key names of the data in `usage` are transformed into API-friendlier `snake_case` format (i.e.: `clusterUuid` is transformed to `cluster_uuid`). When this parameter is `true`, the data is returned as-is.| -|`exclude_usage`|`false`|When `true`, and `extended=true`, it will report `clusterUuid` but no `usage`.| +| Query Parameter | Default value | Description | +| :-------------- | :-----------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `extended` | `false` | When `true`, it adds `clusterUuid` and `usage`. The latter contains the information reported by all the Usage Collectors registered in the OpenSearch Dashboards server. It may throw `503 Stats not ready` if any of the collectors is not fully initialized yet. | +| `legacy` | `false` | By default, when `extended=true`, the key names of the data in `usage` are transformed into API-friendlier `snake_case` format (i.e.: `clusterUuid` is transformed to `cluster_uuid`). When this parameter is `true`, the data is returned as-is. | +| `exclude_usage` | `false` | When `true`, and `extended=true`, it will report `clusterUuid` but no `usage`. | ## Known use cases diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js b/src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js index eb57947da64e..564a6570911e 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js @@ -98,7 +98,7 @@ export const SerialDiffAgg = (props) => { id="visTypeTimeseries.serialDiff.lagLabel" defaultMessage="Lag" description="'Lag' refers to the parameter name of the serial diff translation - https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-serialdiff-aggregation.html. + https://www.opensearch.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-serialdiff-aggregation.html. This should only be translated if there is a reasaonable word explaining what that parameter does." /> } diff --git a/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx b/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx index 8cc95022eec8..72f706f89585 100644 --- a/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx +++ b/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx @@ -41,7 +41,7 @@ function VegaHelpMenu() { const items = [ diff --git a/src/plugins/vis_type_vega/public/default.spec.hjson b/src/plugins/vis_type_vega/public/default.spec.hjson index 0eac36a2db7d..c40215e4076c 100644 --- a/src/plugins/vis_type_vega/public/default.spec.hjson +++ b/src/plugins/vis_type_vega/public/default.spec.hjson @@ -24,7 +24,7 @@ OpenSearch Dashboards has a special handling for the fields surrounded by "%". %timefield%: @timestamp /* -See .search() documentation for : https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search +See .search() documentation for : https://www.opensearch.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search */ // Which index to search diff --git a/src/plugins/visualize/public/plugin.ts b/src/plugins/visualize/public/plugin.ts index 5c66639f37ac..915e5ef291d3 100644 --- a/src/plugins/visualize/public/plugin.ts +++ b/src/plugins/visualize/public/plugin.ts @@ -141,7 +141,7 @@ export class VisualizePlugin id: 'visualize', title: 'Visualize', order: 8000, - euiIconType: 'logoKibana', + euiIconType: 'inputOutput', defaultPath: '#/', category: DEFAULT_APP_CATEGORIES.opensearchDashboards, updater$: this.appStateUpdater.asObservable(),