Skip to content

Commit

Permalink
[Fleet] updated doc link to remote ES output (elastic#171870)
Browse files Browse the repository at this point in the history
## Summary

Related to elastic#104986

Updated doc link to the new remote ES output doc.
Leads to
https://www.elastic.co/guide/en/fleet/master/monitor-elastic-agent.html#external-elasticsearch-monitoring

<img width="682" alt="image"
src="https://github.com/elastic/kibana/assets/90178898/a8b9a6bc-60df-4826-8a6a-0fa45b6011bc">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
juliaElastic and kibanamachine authored Nov 23, 2023
1 parent 7556105 commit 73576c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/kbn-doc-links/src/get_doc_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
installAndUninstallIntegrationAssets: `${FLEET_DOCS}install-uninstall-integration-assets.html`,
elasticAgentInputConfiguration: `${FLEET_DOCS}elastic-agent-input-configuration.html`,
policySecrets: `${FLEET_DOCS}agent-policy.html#agent-policy-secret-values`,
remoteESOoutput: `${FLEET_DOCS}monitor-elastic-agent.html#external-elasticsearch-monitoring`,
},
ecs: {
guide: `${ELASTIC_WEBSITE_URL}guide/en/ecs/current/index.html`,
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-doc-links/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ export interface DocLinks {
installAndUninstallIntegrationAssets: string;
elasticAgentInputConfiguration: string;
policySecrets: string;
remoteESOoutput: string;
}>;
readonly ecs: {
readonly guide: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export const EditOutputFlyout: React.FunctionComponent<EditOutputFlyoutProps> =
case outputType.Elasticsearch:
return i18n.translate('xpack.fleet.settings.editOutputFlyout.esOutputTypeCallout', {
defaultMessage:
'This output type does not support connectivity to a remote Elasticsearch cluster, please the Remote Elasticsearch type for that.',
'This output type does not support connectivity to a remote Elasticsearch cluster, please use the Remote Elasticsearch type for that.',
});
}
};
Expand All @@ -335,7 +335,7 @@ export const EditOutputFlyout: React.FunctionComponent<EditOutputFlyoutProps> =
defaultMessage="Enter your output hosts, service token for your remote cluster, and any advanced YAML configuration. Learn more about how to use these parameters in {doc}."
values={{
doc: (
<EuiLink href={docLinks.links.fleet.guide} target="_blank">
<EuiLink href={docLinks.links.fleet.remoteESOoutput} target="_blank">
{i18n.translate('xpack.fleet.settings.editOutputFlyout.docLabel', {
defaultMessage: 'our documentation',
})}
Expand Down

0 comments on commit 73576c9

Please sign in to comment.