[UA] Fix hardcoded docs path (#216595)

This commit is contained in:
Ignacio Rivas 2025-04-01 20:03:28 +02:00 committed by GitHub
parent 93dafef6ae
commit 5477873daf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -375,6 +375,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
reindexWithPipeline: `${ELASTICSEARCH_DOCS}docs-reindex.html#reindex-with-an-ingest-pipeline`,
logsDatastream: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}/logs-data-stream.html`,
usingLogsDbIndexModeWithESSecurity: `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/detections-logsdb-index-mode-impact.html`,
dataStreamReindex: `${ELASTICSEARCH_DOCS}data-stream-reindex-api.html#reindex-data-stream-api-settings`,
},
rollupJobs: `${KIBANA_DOCS}data-rollups.html`,
elasticsearch: {

View file

@ -331,6 +331,7 @@ export interface DocLinks {
readonly reindexWithPipeline: string;
readonly logsDatastream: string;
readonly usingLogsDbIndexModeWithESSecurity: string;
readonly dataStreamReindex: string;
};
readonly rollupJobs: string;
readonly elasticsearch: Record<string, string>;

View file

@ -119,10 +119,7 @@ export const ConfirmMigrationFlyoutStep: React.FunctionComponent<{
defaultMessage="You can increase the speed of reindexing by changing throttling configuration on ES. Where changing throttling configuration allows you to utilize more resources to speed up the reindexing process. {learnMoreHtml}"
values={{
learnMoreHtml: (
<EuiLink
href={`${links.elasticsearch.docsBase}data-stream-reindex-api.html#reindex-data-stream-api-settings`}
target="_blank"
>
<EuiLink href={links.upgradeAssistant.dataStreamReindex} target="_blank">
<FormattedMessage
id="xpack.upgradeAssistant.dataStream.migration.flyout.warningsStep.learnMoreLink"
defaultMessage="Learn more"