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

## Summary

Updates the docs links for Logstash and Kafka to point to new docs
pages.

Logstash docs link:

![image](4b5c6962-bc2b-44f2-b2f3-ba15a9a57035)


![image](862fa63b-9d3f-43ef-93d9-0e66f0913ffc)

Kafka docs link:

![image](967c30d5-2354-4153-a2d6-3202a1e3f02f)


![image](dae2d5d7-2083-43dc-8f55-c1b73a0ff19a)

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kevin Logan 2023-08-22 07:15:51 -04:00 committed by GitHub
parent 3458d7bf5b
commit e5f6c1a57f
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"