Skip to content

Commit

Permalink
change link
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Oct 25, 2021
1 parent 820d09e commit b9aa883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,14 +473,14 @@ export class DocLinksService {
},
fleet: {
guide: `${FLEET_DOCS}index.html`,
customizeIntegrationDataRetention: `${FLEET_DOCS}customize-data-retention.html`, // TODO: this is a temp URL until we decide the correct one
fleetServer: `${FLEET_DOCS}fleet-server.html`,
fleetServerAddFleetServer: `${FLEET_DOCS}fleet-server.html#add-fleet-server`,
settings: `${FLEET_DOCS}fleet-settings.html#fleet-server-hosts-setting`,
settingsFleetServerHostSettings: `${FLEET_DOCS}fleet-settings.html#fleet-server-hosts-setting`,
troubleshooting: `${FLEET_DOCS}fleet-troubleshooting.html`,
elasticAgent: `${FLEET_DOCS}elastic-agent-installation.html`,
datastreams: `${FLEET_DOCS}data-streams.html`,
datastreamsILM: `${FLEET_DOCS}data-streams.html#data-streams-ilm`,
datastreamsNamingScheme: `${FLEET_DOCS}data-streams.html#data-streams-naming-scheme`,
installElasticAgent: `${FLEET_DOCS}install-fleet-managed-elastic-agent.html`,
upgradeElasticAgent: `${FLEET_DOCS}upgrade-elastic-agent.html`,
Expand Down Expand Up @@ -735,7 +735,7 @@ export interface DocLinksStart {
readonly snapshotRestore: Record<string, string>;
readonly ingest: Record<string, string>;
readonly fleet: Readonly<{
customizeIntegrationDataRetention: string;
datastreamsILM: string;
guide: string;
fleetServer: string;
fleetServerAddFleetServer: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,7 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{
defaultMessage="By default all logs and metrics data are stored on the hot tier. {learnMore} about changing the data retention policy for this integration."
values={{
learnMore: (
<EuiLink
href={docLinks.links.fleet.customizeIntegrationDataRetention}
target="_blank"
>
<EuiLink href={docLinks.links.fleet.datastreamsILM} target="_blank">
{i18n.translate(
'xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyDataRetentionLearnMoreLink',
{ defaultMessage: 'Learn more' }
Expand Down

0 comments on commit b9aa883

Please sign in to comment.