diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 0be8b6e99f96b..23e51e49b6951 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -35,12 +35,10 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D const KIBANA_SERVERLESS_APIS = `{$API_DOCS}doc/serverless/`; const FLEET_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/fleet/${DOC_LINK_VERSION}/`; const INTEGRATIONS_DEV_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/integrations-developer/current/`; - const PLUGIN_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/plugins/${DOC_LINK_VERSION}/`; const OBSERVABILITY_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/`; const SECURITY_SOLUTION_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/`; const ENTERPRISE_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/enterprise-search/${DOC_LINK_VERSION}/`; const ESRE_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/esre/${DOC_LINK_VERSION}/`; - const SEARCH_UI_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/search-ui/current/`; const SERVERLESS_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/serverless/current/`; const SEARCH_LABS_REPO = `${ELASTIC_GITHUB}elasticsearch-labs/`; const isServerless = buildFlavor === 'serverless'; @@ -84,8 +82,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D guide: `${ELASTIC_DOCS}explore-analyze/visualize/canvas`, }, cloud: { - beatsAndLogstashConfiguration: `${ELASTIC_WEBSITE_URL}guide/en/cloud/current/ec-cloud-id.html`, - indexManagement: `${ELASTIC_WEBSITE_URL}guide/en/cloud/current/ec-configure-index-management.html`, + beatsAndLogstashConfiguration: `${ELASTIC_DOCS}deploy-manage/deploy/elastic-cloud/find-cloud-id`, + indexManagement: `${ELASTIC_DOCS}manage-data/lifecycle/index-lifecycle-management/migrate-index-management`, }, console: { guide: `${ELASTIC_DOCS}explore-analyze/query-filter/tools/console`, @@ -231,43 +229,43 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D base: `${ELASTIC_WEBSITE_URL}guide/en/beats/winlogbeat/${DOC_LINK_VERSION}`, }, aggs: { - composite: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-composite-aggregation.html`, - composite_missing_bucket: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-composite-aggregation.html#_missing_bucket`, - date_histogram: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-datehistogram-aggregation.html`, - date_range: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-daterange-aggregation.html`, - date_format_pattern: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-daterange-aggregation.html#date-format-pattern`, - filter: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-filter-aggregation.html`, - filters: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-filters-aggregation.html`, - geohash_grid: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-geohashgrid-aggregation.html`, - histogram: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-histogram-aggregation.html`, - ip_range: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-iprange-aggregation.html`, - range: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-range-aggregation.html`, - significant_terms: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-significantterms-aggregation.html`, - terms: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-terms-aggregation.html`, - terms_doc_count_error: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-terms-aggregation.html#_per_bucket_document_count_error`, - rare_terms: `${ELASTICSEARCH_DOCS}search-aggregations-bucket-rare-terms-aggregation.html`, - avg: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-avg-aggregation.html`, - avg_bucket: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-avg-bucket-aggregation.html`, - max_bucket: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-max-bucket-aggregation.html`, - min_bucket: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-min-bucket-aggregation.html`, - sum_bucket: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-sum-bucket-aggregation.html`, - cardinality: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-cardinality-aggregation.html`, - count: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-valuecount-aggregation.html`, - cumulative_sum: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-sum-aggregation.html`, - derivative: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-derivative-aggregation.html`, - geo_bounds: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-geobounds-aggregation.html`, - geo_centroid: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-geocentroid-aggregation.html`, - max: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-max-aggregation.html`, - median: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-percentile-aggregation.html`, - min: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-min-aggregation.html`, - moving_avg: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-movfn-aggregation.html`, - percentile_ranks: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-percentile-rank-aggregation.html`, - serial_diff: `${ELASTICSEARCH_DOCS}search-aggregations-pipeline-serialdiff-aggregation.html`, - std_dev: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-extendedstats-aggregation.html`, - sum: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-sum-aggregation.html`, - top_hits: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-top-hits-aggregation.html`, - top_metrics: `${ELASTICSEARCH_DOCS}search-aggregations-metrics-top-metrics.html`, - change_point: `${ELASTICSEARCH_DOCS}search-aggregations-change-point-aggregation.html`, + composite: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-composite-aggregation`, + composite_missing_bucket: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-composite-aggregation#_missing_bucket`, + date_histogram: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-datehistogram-aggregation`, + date_range: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-daterange-aggregation`, + date_format_pattern: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-daterange-aggregation#date-format-pattern`, + filter: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-filter-aggregation`, + filters: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-filters-aggregation`, + geohash_grid: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-geohashgrid-aggregation`, + histogram: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-histogram-aggregation`, + ip_range: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-iprange-aggregation`, + range: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-range-aggregation`, + significant_terms: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-significantterms-aggregation`, + terms: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-terms-aggregation`, + terms_doc_count_error: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-terms-aggregation#_per_bucket_document_count_error`, + rare_terms: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-bucket-rare-terms-aggregation`, + avg: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-avg-aggregation`, + avg_bucket: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-avg-bucket-aggregation`, + max_bucket: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-max-bucket-aggregation`, + min_bucket: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-min-bucket-aggregation`, + sum_bucket: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-sum-bucket-aggregation`, + cardinality: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-cardinality-aggregation`, + count: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-valuecount-aggregation`, + cumulative_sum: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-sum-aggregation`, + derivative: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-derivative-aggregation`, + geo_bounds: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-geobounds-aggregation`, + geo_centroid: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-geocentroid-aggregation`, + max: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-max-aggregation`, + median: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-percentile-aggregation`, + min: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-min-aggregation`, + moving_avg: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-movfn-aggregation`, + percentile_ranks: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-percentile-rank-aggregation`, + serial_diff: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-pipeline-serialdiff-aggregation`, + std_dev: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-extendedstats-aggregation`, + sum: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-sum-aggregation`, + top_hits: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-top-hits-aggregation`, + top_metrics: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-metrics-top-metrics`, + change_point: `${ELASTIC_DOCS}reference/aggregations/search-aggregations-change-point-aggregation`, }, runtimeFields: { overview: `${ELASTIC_DOCS}manage-data/data-store/mapping/runtime-fields`, @@ -320,103 +318,110 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D usingLogsDbIndexModeWithESSecurity: `${ELASTIC_DOCS}solutions/security/detect-and-alert/using-logsdb-index-mode-with-elastic-security`, dataStreamReindex: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/reindex-data-stream#reindex-data-stream-api-settings`, }, - rollupJobs: `${KIBANA_DOCS}data-rollups.html`, + rollupJobs: `${ELASTIC_DOCS}manage-data/lifecycle/rollup/getting-started-kibana`, elasticsearch: { - docsBase: `${ELASTICSEARCH_DOCS}`, - asyncSearch: `${ELASTICSEARCH_DOCS}async-search-intro.html`, - dataStreams: `${ELASTICSEARCH_DOCS}data-streams.html`, - deprecationLogging: `${ELASTICSEARCH_DOCS}logging.html#deprecation-logging`, - createEnrichPolicy: `${ELASTICSEARCH_DOCS}put-enrich-policy-api.html`, - matchAllQuery: `${ELASTICSEARCH_DOCS}query-dsl-match-all-query.html`, - enrichPolicies: `${ELASTICSEARCH_DOCS}ingest-enriching-data.html#enrich-policy`, - createIndex: `${ELASTICSEARCH_DOCS}indices-create-index.html`, - frozenIndices: `${ELASTICSEARCH_DOCS}frozen-indices.html`, - gettingStarted: `${ELASTICSEARCH_DOCS}getting-started.html`, - hiddenIndices: `${ELASTICSEARCH_DOCS}multi-index.html#hidden`, - ilm: `${ELASTICSEARCH_DOCS}index-lifecycle-management.html`, - ilmForceMerge: `${ELASTICSEARCH_DOCS}ilm-forcemerge.html`, - ilmFreeze: `${ELASTICSEARCH_DOCS}ilm-freeze.html`, - ilmDelete: `${ELASTICSEARCH_DOCS}ilm-delete.html`, - ilmPhaseTransitions: `${ELASTICSEARCH_DOCS}ilm-index-lifecycle.html#ilm-phase-transitions`, - ilmReadOnly: `${ELASTICSEARCH_DOCS}ilm-readonly.html`, - ilmRollover: `${ELASTICSEARCH_DOCS}ilm-rollover.html`, - ilmSearchableSnapshot: `${ELASTICSEARCH_DOCS}ilm-searchable-snapshot.html`, - ilmSetPriority: `${ELASTICSEARCH_DOCS}ilm-set-priority.html`, - ilmShrink: `${ELASTICSEARCH_DOCS}ilm-shrink.html`, - ilmWaitForSnapshot: `${ELASTICSEARCH_DOCS}ilm-wait-for-snapshot.html`, - indexModules: `${ELASTICSEARCH_DOCS}index-modules.html`, - indexSettings: `${ELASTICSEARCH_DOCS}index-modules.html#index-modules-settings`, - dynamicIndexSettings: `${ELASTICSEARCH_DOCS}index-modules.html#dynamic-index-settings`, - indexTemplates: `${ELASTICSEARCH_DOCS}index-templates.html`, - mapping: `${ELASTICSEARCH_DOCS}mapping.html`, - mappingAnalyzer: `${ELASTICSEARCH_DOCS}analyzer.html`, - mappingCoerce: `${ELASTICSEARCH_DOCS}coerce.html`, - mappingCopyTo: `${ELASTICSEARCH_DOCS}copy-to.html`, - mappingDocValues: `${ELASTICSEARCH_DOCS}doc-values.html`, - mappingDynamic: `${ELASTICSEARCH_DOCS}dynamic.html`, - mappingDynamicFields: `${ELASTICSEARCH_DOCS}dynamic-field-mapping.html`, - mappingDynamicTemplates: `${ELASTICSEARCH_DOCS}dynamic-templates.html`, - mappingEagerGlobalOrdinals: `${ELASTICSEARCH_DOCS}eager-global-ordinals.html`, - mappingEnabled: `${ELASTICSEARCH_DOCS}enabled.html`, - mappingFieldData: `${ELASTICSEARCH_DOCS}text.html#fielddata-mapping-param`, - mappingFieldDataEnable: `${ELASTICSEARCH_DOCS}text.html#before-enabling-fielddata`, - mappingFieldDataFilter: `${ELASTICSEARCH_DOCS}text.html#field-data-filtering`, - mappingFieldDataTypes: `${ELASTICSEARCH_DOCS}mapping-types.html`, - mappingFormat: `${ELASTICSEARCH_DOCS}mapping-date-format.html`, - mappingIgnoreAbove: `${ELASTICSEARCH_DOCS}ignore-above.html`, - mappingIgnoreMalformed: `${ELASTICSEARCH_DOCS}ignore-malformed.html`, - mappingIndex: `${ELASTICSEARCH_DOCS}mapping-index.html`, - mappingIndexOptions: `${ELASTICSEARCH_DOCS}index-options.html`, - mappingIndexPhrases: `${ELASTICSEARCH_DOCS}index-phrases.html`, - mappingIndexPrefixes: `${ELASTICSEARCH_DOCS}index-prefixes.html`, - mappingJoinFieldsPerformance: `${ELASTICSEARCH_DOCS}parent-join.html#_parent_join_and_performance`, - mappingMeta: `${ELASTICSEARCH_DOCS}mapping-field-meta.html`, - mappingMetaFields: `${ELASTICSEARCH_DOCS}mapping-meta-field.html`, - mappingMultifields: `${ELASTICSEARCH_DOCS}multi-fields.html`, - mappingNormalizer: `${ELASTICSEARCH_DOCS}normalizer.html`, - mappingNorms: `${ELASTICSEARCH_DOCS}norms.html`, - mappingNullValue: `${ELASTICSEARCH_DOCS}null-value.html`, - mappingParameters: `${ELASTICSEARCH_DOCS}mapping-params.html`, - mappingPositionIncrementGap: `${ELASTICSEARCH_DOCS}position-increment-gap.html`, - mappingRankFeatureFields: `${ELASTICSEARCH_DOCS}rank-feature.html`, - mappingRouting: `${ELASTICSEARCH_DOCS}mapping-routing-field.html`, - mappingSettingsLimit: `${ELASTICSEARCH_DOCS}mapping-settings-limit.html`, - mappingSimilarity: `${ELASTICSEARCH_DOCS}similarity.html`, - mappingSourceFields: `${ELASTICSEARCH_DOCS}mapping-source-field.html`, - mappingSourceFieldsDisable: `${ELASTICSEARCH_DOCS}mapping-source-field.html#disable-source-field`, - mappingSyntheticSourceFields: `${ELASTICSEARCH_DOCS}mapping-source-field.html#synthetic-source`, - mappingStore: `${ELASTICSEARCH_DOCS}mapping-store.html`, - mappingSubobjects: `${ELASTICSEARCH_DOCS}subobjects.html`, - mappingTermVector: `${ELASTICSEARCH_DOCS}term-vector.html`, - mappingTypesRemoval: `${ELASTICSEARCH_DOCS}removal-of-types.html`, - migrateIndexAllocationFilters: `${ELASTICSEARCH_DOCS}migrate-index-allocation-filters.html`, - migrationApiDeprecation: `${ELASTICSEARCH_DOCS}migration-api-deprecation.html`, - nodeRoles: `${ELASTICSEARCH_DOCS}modules-node.html#node-roles`, - releaseHighlights: `${ELASTICSEARCH_DOCS}release-highlights.html`, - latestReleaseHighlights: `${ELASTIC_WEBSITE_URL}guide/en/starting-with-the-elasticsearch-platform-and-its-solutions/current/new.html`, - remoteClusters: `${ELASTICSEARCH_DOCS}remote-clusters.html`, - remoteClustersProxy: `${ELASTICSEARCH_DOCS}remote-clusters.html#proxy-mode`, - remoteClusersProxySettings: `${ELASTICSEARCH_DOCS}remote-clusters-settings.html#remote-cluster-proxy-settings`, - remoteClustersOnPremSetupTrustWithCert: `${ELASTICSEARCH_DOCS}remote-clusters-cert.html`, - remoteClustersOnPremSetupTrustWithApiKey: `${ELASTICSEARCH_DOCS}remote-clusters-api-key.html`, - remoteClustersCloudSetupTrust: `${ELASTIC_WEBSITE_URL}guide/en/cloud/current/ec-enable-ccs.html`, - remoteClustersCreateCloudClusterApiKey: `${ELASTICSEARCH_DOCS}security-api-create-cross-cluster-api-key.html`, - remoteClustersOnPremPrerequisitesApiKey: `${ELASTICSEARCH_DOCS}remote-clusters-api-key.html#remote-clusters-prerequisites-api-key`, - remoteClustersOnPremSecurityApiKey: `${ELASTICSEARCH_DOCS}remote-clusters-api-key.html#remote-clusters-security-api-key`, - remoteClustersOnPremPrerequisitesCert: `${ELASTICSEARCH_DOCS}remote-clusters-cert.html#remote-clusters-prerequisites-cert`, - remoteClustersOnPremSecurityCert: `${ELASTICSEARCH_DOCS}remote-clusters-cert.html#remote-clusters-security-cert`, - rollupMigratingToDownsampling: `${ELASTICSEARCH_DOCS}rollup-migrating-to-downsampling.html`, - rrf: `${ELASTICSEARCH_DOCS}rrf.html`, - scriptParameters: `${ELASTICSEARCH_DOCS}modules-scripting-using.html#prefer-params`, - secureCluster: `${ELASTICSEARCH_DOCS}secure-cluster.html`, - shardAllocationSettings: `${ELASTICSEARCH_DOCS}modules-cluster.html#cluster-shard-allocation-settings`, - sortSearch: `${ELASTICSEARCH_DOCS}sort-search-results.html`, - tutorialUpdateExistingDataStream: `${ELASTICSEARCH_DOCS}tutorial-manage-existing-data-stream.html`, - transportSettings: `${ELASTICSEARCH_DOCS}modules-network.html#common-network-settings`, - typesRemoval: `${ELASTICSEARCH_DOCS}removal-of-types.html`, - setupUpgrade: `${ELASTICSEARCH_DOCS}setup-upgrade.html`, - apiCompatibilityHeader: `${ELASTICSEARCH_DOCS}api-conventions.html#api-compatibility`, - migrationGuide: `${ELASTICSEARCH_DOCS}breaking-changes.html`, + docsBase: `${ELASTIC_DOCS}solutions/search`, + asyncSearch: `${ELASTIC_DOCS}solutions/search/async-search-api`, + dataStreams: `${ELASTIC_DOCS}manage-data/data-store/data-streams`, + deprecationLogging: `${ELASTIC_DOCS}deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels#deprecation-logging`, + createEnrichPolicy: isServerless + ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-enrich-put-policy` + : `${ELASTICSEARCH_APIS}operation/operation-enrich-put-policy`, + matchAllQuery: `${ELASTIC_DOCS}reference/query-languages/query-dsl/query-dsl-match-all-query`, + enrichPolicies: `${ELASTIC_DOCS}manage-data/ingest/transform-enrich/data-enrichment#enrich-policy`, + createIndex: isServerless + ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-indices-create` + : `${ELASTICSEARCH_APIS}operation/operation-indices-create`, + createIndexParameters: isServerless + ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-indices-create#operation-indices-create-path` + : `${ELASTICSEARCH_APIS}operation/operation-indices-create#operation-indices-create-path`, + gettingStarted: `${ELASTIC_DOCS}solutions/search/get-started`, + hiddenIndices: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/api-conventions#multi-hidden`, + ilm: `${ELASTIC_DOCS}manage-data/lifecycle/index-lifecycle-management`, + ilmForceMerge: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge`, + ilmFreeze: `${ELASTIC_WEBSITE_URL}blog/significantly-decrease-your-elasticsearch-heap-memory-usage`, + ilmDelete: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-delete`, + ilmPhaseTransitions: `${ELASTIC_DOCS}manage-data/lifecycle/index-lifecycle-management/index-lifecycle#ilm-phase-transitions`, + ilmReadOnly: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-readonly`, + ilmRollover: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-rollover`, + ilmSearchableSnapshot: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-searchable-snapshot`, + ilmSetPriority: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-set-priority`, + ilmShrink: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-shrink`, + ilmWaitForSnapshot: `${ELASTIC_DOCS}reference/elasticsearch/index-lifecycle-actions/ilm-wait-for-snapshot`, + indexModules: `${ELASTIC_DOCS}reference/elasticsearch/index-settings/index-modules`, + indexSettings: `${ELASTIC_DOCS}reference/elasticsearch/index-settings/index-modules`, + dynamicIndexSettings: `${ELASTIC_DOCS}reference/elasticsearch/index-settings/index-modules#dynamic-index-settings`, + indexTemplates: `${ELASTIC_DOCS}manage-data/data-store/templates`, + mapping: `${ELASTIC_DOCS}manage-data/data-store/mapping`, + mappingAnalyzer: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/analyzer`, + mappingCoerce: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/coerce`, + mappingCopyTo: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/copy-to`, + mappingDocValues: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/doc-values`, + mappingDynamic: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/dynamic`, + mappingDynamicFields: `${ELASTIC_DOCS}manage-data/data-store/mapping/dynamic-field-mapping`, + mappingDynamicTemplates: `${ELASTIC_DOCS}manage-data/data-store/mapping/dynamic-templates`, + mappingEagerGlobalOrdinals: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/eager-global-ordinals`, + mappingEnabled: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/enabled`, + mappingFieldData: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/text#fielddata-mapping-param`, + mappingFieldDataEnable: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/text#before-enabling-fielddata`, + mappingFieldDataFilter: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/text#field-data-filtering`, + mappingFieldDataTypes: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/field-data-types`, + mappingFormat: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-date-format`, + mappingIgnoreAbove: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/ignore-above`, + mappingIgnoreMalformed: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/ignore-malformed`, + mappingIndex: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-index`, + mappingIndexOptions: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/index-options`, + mappingIndexPhrases: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/index-phrases`, + mappingIndexPrefixes: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/index-prefixes`, + mappingJoinFieldsPerformance: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/parent-join#_parent_join_and_performance`, + mappingMeta: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-field-meta`, + mappingMetaFields: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-meta-field`, + mappingMultifields: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/multi-fields`, + mappingNormalizer: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/normalizer`, + mappingNorms: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/norms`, + mappingNullValue: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/null-value`, + mappingParameters: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-parameters`, + mappingPositionIncrementGap: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/position-increment-gap`, + mappingRankFeatureFields: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/rank-feature`, + mappingRouting: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-routing-field`, + mappingSettingsLimit: `${ELASTIC_DOCS}reference/elasticsearch/index-settings/mapping-limit`, + mappingSimilarity: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/similarity`, + mappingSourceFields: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-source-field`, + mappingSourceFieldsDisable: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-source-field#disable-source-field`, + mappingSyntheticSourceFields: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-source-field#synthetic-source`, + mappingStore: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/mapping-store`, + mappingSubobjects: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/subobjects`, + mappingTermVector: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/term-vector`, + mappingTypesRemoval: `${ELASTIC_DOCS}manage-data/data-store/mapping/removal-of-mapping-types`, + migrateIndexAllocationFilters: `${ELASTIC_DOCS}manage-data/lifecycle/index-lifecycle-management/migrate-index-allocation-filters-to-node-roles`, + migrationApiDeprecation: `${ELASTICSEARCH_APIS}operation/operation-migration-deprecations`, + nodeRoles: `${ELASTIC_DOCS}reference/elasticsearch/configuration-reference/node-settings#node-roles`, + reindexDatastreamApiSettings: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/reindex-data-stream#reindex-data-stream-api-settings`, + releaseHighlights: `${ELASTIC_DOCS}release-notes/elasticsearch`, + latestReleaseHighlights: `${ELASTIC_DOCS}release-notes`, + remoteClusters: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-self-managed`, + remoteClustersProxy: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-self-managed#proxy-mode`, + remoteClusersProxySettings: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-settings#remote-cluster-proxy-settings`, + remoteClustersOnPremSetupTrustWithCert: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-cert`, + remoteClustersOnPremSetupTrustWithApiKey: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-api-key`, + remoteClustersCloudSetupTrust: `${ELASTIC_DOCS}deploy-manage/remote-clusters/ec-enable-ccs`, + remoteClustersCreateCloudClusterApiKey: `${ELASTICSEARCH_APIS}operation/operation-security-create-cross-cluster-api-key`, + remoteClustersOnPremPrerequisitesApiKey: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-api-key#remote-clusters-prerequisites-api-key`, + remoteClustersOnPremSecurityApiKey: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-api-key#remote-clusters-security-api-key`, + remoteClustersOnPremPrerequisitesCert: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-cert#remote-clusters-prerequisites-cert`, + remoteClustersOnPremSecurityCert: `${ELASTIC_DOCS}deploy-manage/remote-clusters/remote-clusters-cert#remote-clusters-security-cert`, + rollupMigratingToDownsampling: `${ELASTIC_DOCS}manage-data/lifecycle/rollup/migrating-from-rollup-to-downsampling`, + rrf: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/reciprocal-rank-fusion`, + scriptParameters: `${ELASTIC_DOCS}explore-analyze/scripting/modules-scripting-using#prefer-params`, + secureCluster: `${ELASTIC_DOCS}deploy-manage/security`, + shardAllocationSettings: `${ELASTIC_DOCS}reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings#cluster-shard-allocation-settings`, + sortSearch: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/sort-search-results`, + tutorialUpdateExistingDataStream: `${ELASTIC_DOCS}manage-data/lifecycle/data-stream/tutorial-update-existing-data-stream`, + transportSettings: `${ELASTIC_DOCS}reference/elasticsearch/configuration-reference/networking-settings#common-network-settings`, + typesRemoval: `${ELASTIC_DOCS}manage-data/data-store/mapping/removal-of-mapping-types`, + setupUpgrade: `${ELASTIC_DOCS}deploy-manage/upgrade/deployment-or-cluster`, + apiCompatibilityHeader: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/api-conventions#api-compatibility`, + migrationGuide: `${ELASTIC_DOCS}release-notes/elasticsearch/breaking-changes`, }, siem: { guide: `${ELASTIC_DOCS}solutions/security`, @@ -433,7 +438,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D configureAlertSuppression: `${ELASTIC_DOCS}solutions/security/detect-and-alert/suppress-detection-alerts#security-alert-suppression-configure-alert-suppression`, }, server: { - protocol: `${KIBANA_DOCS}settings.html#server-protocol`, + protocol: `${ELASTIC_DOCS}reference/kibana/configuration-reference/general-settings#server-protocol`, publicBaseUrl: `${ELASTIC_DOCS}reference/kibana/configuration-reference/general-settings#server-publicBaseUrl`, }, logging: { @@ -485,18 +490,18 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D llmPerformanceMatrix: `${ELASTIC_DOCS}solutions/security/ai/large-language-model-performance-matrix`, }, query: { - eql: `${ELASTICSEARCH_DOCS}eql.html`, - kueryQuerySyntax: `${KIBANA_DOCS}kuery-query.html`, - luceneQuery: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html`, - luceneQuerySyntax: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html#query-string-syntax`, - percolate: `${ELASTICSEARCH_DOCS}query-dsl-percolate-query.html`, - queryDsl: `${ELASTICSEARCH_DOCS}query-dsl.html`, - queryESQL: `${ELASTICSEARCH_DOCS}esql.html`, - queryESQLExamples: `${ELASTICSEARCH_DOCS}esql-examples.html`, + eql: `${ELASTIC_DOCS}explore-analyze/query-filter/languages/eql`, + kueryQuerySyntax: `${ELASTIC_DOCS}explore-analyze/query-filter/languages/kql`, + luceneQuery: `${ELASTIC_DOCS}reference/query-languages/query-dsl/query-dsl-query-string-query`, + luceneQuerySyntax: `${ELASTIC_DOCS}reference/query-languages/query-dsl/query-dsl-query-string-query#query-string-syntax`, + percolate: `${ELASTIC_DOCS}reference/query-languages/query-dsl/query-dsl-percolate-query`, + queryDsl: `${ELASTIC_DOCS}explore-analyze/query-filter/languages/querydsl`, + queryESQL: `${ELASTIC_DOCS}explore-analyze/query-filter/languages/esql`, + queryESQLExamples: `${ELASTIC_DOCS}explore-analyze/query-filter/languages/esql`, }, search: { - sessions: `${KIBANA_DOCS}search-sessions.html`, - sessionLimits: `${KIBANA_DOCS}search-sessions.html#_limitations`, + sessions: `${ELASTIC_DOCS}explore-analyze/discover/search-sessions`, + sessionLimits: `${ELASTIC_DOCS}explore-analyze/discover/search-sessions#_limitations`, }, date: { dateMath: `${ELASTIC_DOCS}reference/elasticsearch/rest-apis/common-options#date-math`, @@ -704,14 +709,14 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D kibanaDisableLegacyUrlAliasesApi: `${KIBANA_APIS}operation/operation-post-spaces-disable-legacy-url-aliases`, }, watcher: { - jiraAction: `${ELASTICSEARCH_DOCS}actions-jira.html`, - pagerDutyAction: `${ELASTICSEARCH_DOCS}actions-pagerduty.html`, - slackAction: `${ELASTICSEARCH_DOCS}actions-slack.html`, - ui: `${KIBANA_DOCS}watcher-ui.html`, + jiraAction: `${ELASTIC_DOCS}explore-analyze/alerts-cases/watcher/actions-jira`, + pagerDutyAction: `${ELASTIC_DOCS}explore-analyze/alerts-cases/watcher/actions-pagerduty`, + slackAction: `${ELASTIC_DOCS}explore-analyze/alerts-cases/watcher/actions-slack`, + ui: `${ELASTIC_DOCS}explore-analyze/alerts-cases/watcher`, }, ccs: { - guide: `${ELASTICSEARCH_DOCS}modules-cross-cluster-search.html`, - skippingDisconnectedClusters: `${ELASTICSEARCH_DOCS}modules-cross-cluster-search.html#skip-unavailable-clusters`, + guide: `${ELASTIC_DOCS}solutions/search/cross-cluster-search`, + skippingDisconnectedClusters: `${ELASTIC_DOCS}solutions/search/cross-cluster-search#skip-unavailable-clusters`, }, apis: { bulkIndexAlias: isServerless @@ -788,29 +793,30 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D : `${ELASTICSEARCH_APIS}operation/operation-transform-update-transform`, }, plugins: { - azureRepo: `${ELASTICSEARCH_DOCS}repository-azure.html`, - gcsRepo: `${ELASTICSEARCH_DOCS}repository-gcs.html`, - hdfsRepo: `${PLUGIN_DOCS}repository-hdfs.html`, - ingestAttachment: `${PLUGIN_DOCS}ingest-attachment.html`, - s3Repo: `${ELASTICSEARCH_DOCS}repository-s3.html`, - snapshotRestoreRepos: `${ELASTICSEARCH_DOCS}snapshots-register-repository.html`, - mapperSize: `${PLUGIN_DOCS}mapper-size-usage.html`, + azureRepo: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/azure-repository`, + gcsRepo: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/google-cloud-storage-repository`, + hdfsRepo: `${ELASTIC_DOCS}reference/elasticsearch/plugins/repository-hdfs`, + ingestAttachment: `${ELASTIC_DOCS}reference/enrich-processor/attachment`, + s3Repo: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/s3-repository`, + snapshotRestoreRepos: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/self-managed`, + mapperSize: `${ELASTIC_DOCS}reference/elasticsearch/plugins/mapper-size-usage`, }, snapshotRestore: { - guide: `${ELASTICSEARCH_DOCS}snapshot-restore.html`, - changeIndexSettings: `${ELASTICSEARCH_DOCS}index-modules.html`, - createSnapshot: `${ELASTICSEARCH_DOCS}snapshots-take-snapshot.html`, + guide: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore`, + changeIndexSettings: `${ELASTIC_DOCS}reference/elasticsearch/index-settings/index-modules`, + createSnapshot: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/create-snapshots`, getSnapshot: `${ELASTICSEARCH_APIS}operation/operation-snapshot-get`, - registerSharedFileSystem: `${ELASTICSEARCH_DOCS}snapshots-filesystem-repository.html#filesystem-repository-settings`, - registerSourceOnly: `${ELASTICSEARCH_DOCS}snapshots-source-only-repository.html#source-only-repository-settings`, - registerUrl: `${ELASTICSEARCH_DOCS}snapshots-read-only-repository.html#read-only-url-repository-settings`, - restoreSnapshot: `${ELASTICSEARCH_DOCS}snapshots-restore-snapshot.html`, + registerSharedFileSystem: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/shared-file-system-repository#filesystem-repository-settings`, + registerSourceOnly: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/source-only-repository#source-only-repository-settings`, + registerUrl: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/read-only-url-repository#read-only-url-repository-settings`, + restoreSnapshot: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/restore-snapshot`, restoreSnapshotApi: `${ELASTICSEARCH_APIS}operation/operation-snapshot-restore`, - searchableSnapshotSharedCache: `${ELASTICSEARCH_DOCS}searchable-snapshots.html#searchable-snapshots-shared-cache`, + searchableSnapshotSharedCache: `${ELASTIC_DOCS}deploy-manage/tools/snapshot-and-restore/searchable-snapshots#searchable-snapshots-shared-cache`, slmStart: `${ELASTICSEARCH_APIS}operation/operation-slm-start`, }, ingest: { append: `${ELASTICSEARCH_DOCS}append-processor.html`, + attachment: `${ELASTIC_DOCS}reference/enrich-processor/attachment`, bytes: `${ELASTICSEARCH_DOCS}bytes-processor.html`, circle: `${ELASTICSEARCH_DOCS}ingest-circle-processor.html`, convert: `${ELASTICSEARCH_DOCS}convert-processor.html`, @@ -913,8 +919,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D upload: `${INTEGRATIONS_DEV_DOCS}upload-a-new-integration.html`, }, ecs: { - guide: `${ELASTIC_WEBSITE_URL}guide/en/ecs/${ECS_VERSION}/index.html`, - dataStreams: `${ELASTIC_WEBSITE_URL}guide/en/ecs/${ECS_VERSION}/ecs-data_stream.html`, + guide: `${ELASTIC_DOCS}reference/ecs`, + dataStreams: `${ELASTIC_DOCS}reference/ecs/ecs-data_stream`, }, clients: { /** Changes to these URLs must also be synched in src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts */ @@ -972,8 +978,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D clusterShardLimitExceeded: `${ELASTIC_DOCS}troubleshoot/kibana/migration-failures#cluster-shard-limit-exceeded`, }, searchUI: { - appSearch: `${SEARCH_UI_DOCS}tutorials/app-search`, - elasticsearch: `${SEARCH_UI_DOCS}tutorials/elasticsearch`, + appSearch: `${ELASTIC_DOCS}reference/search-ui/tutorials-app-search`, + elasticsearch: `${ELASTIC_DOCS}reference/search-ui/tutorials-elasticsearch`, }, serverlessClients: { clientLib: `${ELASTIC_DOCS}reference/elasticsearch-clients`, @@ -992,16 +998,16 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D rubyGettingStarted: `${ELASTIC_DOCS}reference/elasticsearch/clients/ruby/getting-started`, }, serverlessSearch: { - integrations: `${SERVERLESS_DOCS}elasticsearch-ingest-your-data.html`, - integrationsLogstash: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-logstash.html`, - integrationsBeats: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-beats.html`, - integrationsConnectorClient: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-integrations-connector-client.html`, - integrationsConnectorClientAvailableConnectors: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-integrations-connector-client.html#elasticsearch-ingest-data-through-integrations-connector-client-available-connectors`, - integrationsConnectorClientRunFromSource: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-integrations-connector-client.html#elasticsearch-ingest-data-through-integrations-connector-client-run-from-source`, - integrationsConnectorClientRunWithDocker: `${SERVERLESS_DOCS}elasticsearch-ingest-data-through-integrations-connector-client.html#elasticsearch-ingest-data-through-integrations-connector-client-run-with-docker`, - gettingStartedExplore: `${SERVERLESS_DOCS}elasticsearch-get-started.html`, - gettingStartedIngest: `${SERVERLESS_DOCS}elasticsearch-get-started.html`, - gettingStartedSearch: `${SERVERLESS_DOCS}elasticsearch-get-started.html`, + integrations: `${ELASTIC_DOCS}manage-data/ingest`, + integrationsLogstash: `${ELASTIC_DOCS}reference/logstash`, + integrationsBeats: `${ELASTIC_DOCS}reference/beats`, + integrationsConnectorClient: `${ELASTIC_DOCS}reference/search-connectors`, + integrationsConnectorClientAvailableConnectors: `${ELASTIC_DOCS}reference/search-connectors#available-connectors`, + integrationsConnectorClientRunFromSource: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-run-from-source`, + integrationsConnectorClientRunWithDocker: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-run-from-docker`, + gettingStartedExplore: `${ELASTIC_DOCS}solutions/search/get-started`, + gettingStartedIngest: `${ELASTIC_DOCS}solutions/search/ingest-for-search`, + gettingStartedSearch: `${ELASTIC_DOCS}solutions/search/search-approaches`, }, serverlessSecurity: { apiKeyPrivileges: `${ELASTIC_DOCS}deploy-manage/api-keys/serverless-project-api-keys#api-keys-restrict-privileges`, @@ -1027,7 +1033,9 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D : `${ELASTICSEARCH_APIS}operation/operation-inference-put`, }, synonyms: { - synonymsAPIDocumentation: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/current/synonyms-apis.html`, + synonymsAPIDocumentation: isServerless + ? `${ELASTICSEARCH_SERVERLESS_APIS}group/endpoint-synonyms` + : `${ELASTICSEARCH_APIS}group/endpoint-synonyms`, }, queryRules: { queryRulesAPIDocumentation: isServerless diff --git a/src/platform/plugins/shared/data/server/ui_settings.ts b/src/platform/plugins/shared/data/server/ui_settings.ts index 48c3ddcb406d3..64988a9c7cf35 100644 --- a/src/platform/plugins/shared/data/server/ui_settings.ts +++ b/src/platform/plugins/shared/data/server/ui_settings.ts @@ -271,8 +271,7 @@ export function getUiSettings( }, [UI_SETTINGS.SEARCH_INCLUDE_FROZEN]: { name: 'Search in frozen indices', - description: `Will include frozen indices in results if enabled. Searching through frozen indices + description: `Will include frozen indices in results if enabled. Searching through frozen indices might increase the search time.`, value: false, deprecation: { diff --git a/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx index b50d6c16647c3..f1c8a7facc10e 100644 --- a/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx +++ b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx @@ -643,9 +643,7 @@ describe('', () => { it('sets the docs link href from the documentation service', async () => { const docsLinkHref = testBed.actions.mappings.getDocsLinkHref(); // the url from the mocked docs mock - expect(docsLinkHref).toEqual( - 'https://www.elastic.co/guide/en/elasticsearch/reference/mocked-test-branch/mapping.html' - ); + expect(docsLinkHref).toContain('mapping'); }); describe('Filter field by filter Type', () => { const mockIndexMappingResponse: any = { @@ -1023,9 +1021,7 @@ describe('', () => { await testBed.actions.clickIndexDetailsTab(IndexDetailsSection.Settings); const docsLinkHref = testBed.actions.settings.getDocsLinkHref(); // the url from the mocked docs mock - expect(docsLinkHref).toEqual( - 'https://www.elastic.co/guide/en/elasticsearch/reference/mocked-test-branch/index-modules.html#index-modules-settings' - ); + expect(docsLinkHref).toContain('index-modules'); }); describe('error loading settings', () => { diff --git a/x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/flyout/advanced_field_mapping_options.tsx b/x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/flyout/advanced_field_mapping_options.tsx index 728db228988d6..ee883cfb7c8f3 100644 --- a/x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/flyout/advanced_field_mapping_options.tsx +++ b/x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/flyout/advanced_field_mapping_options.tsx @@ -75,7 +75,7 @@ export const AdvancedFieldMappingOptions = ({ link: ( diff --git a/x-pack/test/functional/apps/dataset_quality/degraded_field_flyout.ts b/x-pack/test/functional/apps/dataset_quality/degraded_field_flyout.ts index 88a1dbe3d5e80..c4322c7edb33a 100644 --- a/x-pack/test/functional/apps/dataset_quality/degraded_field_flyout.ts +++ b/x-pack/test/functional/apps/dataset_quality/degraded_field_flyout.ts @@ -808,7 +808,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid const linkURL = await linkButton.getAttribute('href'); - expect(linkURL?.endsWith('mapping-settings-limit.html')).to.be(true); + expect(linkURL?.includes('mapping')).to.be(true); }); it('should display increase field limit as a possible mitigation for special packages like apm app', async () => { @@ -838,7 +838,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid const linkURL = await linkButton.getAttribute('href'); - expect(linkURL?.endsWith('mapping-settings-limit.html')).to.be(true); + expect(linkURL?.includes('mapping')).to.be(true); }); it('should display increase field limit as a possible mitigation for non integration', async () => { diff --git a/x-pack/test_serverless/functional/page_objects/svl_search_elasticsearch_start_page.ts b/x-pack/test_serverless/functional/page_objects/svl_search_elasticsearch_start_page.ts index f8b3ed534f2a7..8239d130d5d78 100644 --- a/x-pack/test_serverless/functional/page_objects/svl_search_elasticsearch_start_page.ts +++ b/x-pack/test_serverless/functional/page_objects/svl_search_elasticsearch_start_page.ts @@ -97,7 +97,7 @@ export function SvlSearchElasticsearchStartPageProvider({ getService }: FtrProvi async expectAnalyzeLogsLink() { await testSubjects.existOrFail('analyzeLogsBtn'); expect(await testSubjects.getAttribute('analyzeLogsBtn', 'href')).equal( - 'https://www.elastic.co/guide/en/serverless/current/elasticsearch-ingest-your-data.html' + 'https://www.elastic.co/docs/manage-data/ingest' ); expect(await testSubjects.getAttribute('analyzeLogsBtn', 'target')).equal('_blank'); }, diff --git a/x-pack/test_serverless/functional/test_suites/observability/dataset_quality/degraded_field_flyout.ts b/x-pack/test_serverless/functional/test_suites/observability/dataset_quality/degraded_field_flyout.ts index 050f4af75cbaf..e776646d26ec5 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/dataset_quality/degraded_field_flyout.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/dataset_quality/degraded_field_flyout.ts @@ -828,7 +828,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const linkURL = await linkButton.getAttribute('href'); - expect(linkURL?.endsWith('mapping-settings-limit.html')).to.be(true); + expect(linkURL?.includes('mapping')).to.be(true); }); it('should display increase field limit as a possible mitigation for special packages like apm app', async () => { @@ -858,7 +858,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const linkURL = await linkButton.getAttribute('href'); - expect(linkURL?.endsWith('mapping-settings-limit.html')).to.be(true); + expect(linkURL?.includes('mapping')).to.be(true); }); it('should display increase field limit as a possible mitigation for non integration', async () => {