[8.10] [Fleet] Update docs links for Logstash and Kafka to point to new pages (#164335) (#164431)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Fleet] Update docs links for Logstash and Kafka to point to new
pages (#164335)](https://github.com/elastic/kibana/pull/164335)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-22T11:15:51Z","message":"[Fleet]
Update docs links for Logstash and Kafka to point to new pages
(#164335)\n\n## Summary\r\n\r\nUpdates the docs links for Logstash and
Kafka to point to new docs\r\npages.\r\n\r\nLogstash docs
link:\r\n\r\n![image](862fa63b-9d3f-43ef-93d9-0e66f0913ffc)\r\n\r\nKafka
docs
link:\r\n\r\n![image](dae2d5d7-2083-43dc-8f55-c1b73a0ff19a)\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5f6c1a57fba126d672608cdb5f175757722f7e8","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.10.0","v8.11.0"],"number":164335,"url":"https://github.com/elastic/kibana/pull/164335","mergeCommit":{"message":"[Fleet]
Update docs links for Logstash and Kafka to point to new pages
(#164335)\n\n## Summary\r\n\r\nUpdates the docs links for Logstash and
Kafka to point to new docs\r\npages.\r\n\r\nLogstash docs
link:\r\n\r\n![image](862fa63b-9d3f-43ef-93d9-0e66f0913ffc)\r\n\r\nKafka
docs
link:\r\n\r\n![image](dae2d5d7-2083-43dc-8f55-c1b73a0ff19a)\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5f6c1a57fba126d672608cdb5f175757722f7e8"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164335","number":164335,"mergeCommit":{"message":"[Fleet]
Update docs links for Logstash and Kafka to point to new pages
(#164335)\n\n## Summary\r\n\r\nUpdates the docs links for Logstash and
Kafka to point to new docs\r\npages.\r\n\r\nLogstash docs
link:\r\n\r\n![image](862fa63b-9d3f-43ef-93d9-0e66f0913ffc)\r\n\r\nKafka
docs
link:\r\n\r\n![image](dae2d5d7-2083-43dc-8f55-c1b73a0ff19a)\r\n\r\n###
Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5f6c1a57fba126d672608cdb5f175757722f7e8"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-08-22 07:22:42 -04:00 committed by GitHub
parent 85519b9d8f
commit dae18734b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View file

@ -722,6 +722,8 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
fleetServer: `${FLEET_DOCS}fleet-server.html`,
fleetServerAddFleetServer: `${FLEET_DOCS}add-a-fleet-server.html`,
settings: `${FLEET_DOCS}fleet-settings.html`,
kafkaSettings: `${FLEET_DOCS}kafka-output-settings.html`,
logstashSettings: `${FLEET_DOCS}ls-output-settings.html`,
settingsFleetServerHostSettings: `${FLEET_DOCS}fleet-settings.html#fleet-server-hosts-setting`,
settingsFleetServerProxySettings: `${KIBANA_DOCS}fleet-settings-kb.html#fleet-data-visualizer-settings`,
troubleshooting: `${FLEET_DOCS}fleet-troubleshooting.html`,

View file

@ -488,6 +488,8 @@ export interface DocLinks {
fleetServer: string;
fleetServerAddFleetServer: string;
settings: string;
logstashSettings: string;
kafkaSettings: string;
settingsFleetServerHostSettings: string;
settingsFleetServerProxySettings: string;
troubleshooting: string;

View file

@ -107,7 +107,7 @@ export const EditOutputFlyout: React.FunctionComponent<EditOutputFlyoutProps> =
defaultMessage="Specify the addresses that your agents will use to connect to Logstash. {guideLink}."
values={{
guideLink: (
<EuiLink href={docLinks.links.fleet.settings} target="_blank" external>
<EuiLink href={docLinks.links.fleet.logstashSettings} target="_blank" external>
<FormattedMessage
id="xpack.fleet.settings.fleetSettingsLink"
defaultMessage="Learn more"

View file

@ -87,7 +87,7 @@ export const OutputFormKafkaSection: React.FunctionComponent<Props> = (props) =>
defaultMessage="Specify the URLs that your agents will use to connect to Kafka. {guideLink}."
values={{
guideLink: (
<EuiLink href={docLinks.links.fleet.settings} target="_blank" external>
<EuiLink href={docLinks.links.fleet.kafkaSettings} target="_blank" external>
<FormattedMessage
id="xpack.fleet.settings.kafkaUserGuideLink"
defaultMessage="Learn more"