diff --git a/packages/kbn-doc-links/src/get_doc_links.ts b/packages/kbn-doc-links/src/get_doc_links.ts index c5c253af7717a..a697000bbebbf 100644 --- a/packages/kbn-doc-links/src/get_doc_links.ts +++ b/packages/kbn-doc-links/src/get_doc_links.ts @@ -781,6 +781,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D 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`, + performancePresets: `${FLEET_DOCS}es-output-settings.html#es-output-settings-performance-tuning-settings`, }, ecs: { guide: `${ELASTIC_WEBSITE_URL}guide/en/ecs/current/index.html`, diff --git a/packages/kbn-doc-links/src/types.ts b/packages/kbn-doc-links/src/types.ts index 3b3b26be0426e..3b6d22a190244 100644 --- a/packages/kbn-doc-links/src/types.ts +++ b/packages/kbn-doc-links/src/types.ts @@ -536,6 +536,7 @@ export interface DocLinks { elasticAgentInputConfiguration: string; policySecrets: string; remoteESOoutput: string; + performancePresets: string; }>; readonly ecs: { readonly guide: string; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx index 3023cf1397faa..511af850cab46 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx @@ -570,38 +570,57 @@ export const EditOutputFlyout: React.FunctionComponent = <> } - > - <> - inputs.presetInput.setValue(e.target.value)} - disabled={ - inputs.presetInput.props.disabled || - outputYmlIncludesReservedPerformanceKey( - inputs.additionalYamlConfigInput.value, - safeLoad - ) - } - options={[ - { value: 'balanced', text: 'Balanced' }, - { value: 'custom', text: 'Custom' }, - { value: 'throughput', text: 'Throughput' }, - { value: 'scale', text: 'Scale' }, - { value: 'latency', text: 'Latency' }, - ]} + helpText={ + Custom, + link: ( + + + + ), + }} /> - + } + > + inputs.presetInput.setValue(e.target.value)} + disabled={ + inputs.presetInput.props.disabled || + outputYmlIncludesReservedPerformanceKey( + inputs.additionalYamlConfigInput.value, + safeLoad + ) + } + options={[ + { value: 'balanced', text: 'Balanced' }, + { value: 'custom', text: 'Custom' }, + { value: 'throughput', text: 'Throughput' }, + { value: 'scale', text: 'Scale' }, + { value: 'latency', text: 'Latency' }, + ]} + /> )} - {supportsPresets && outputYmlIncludesReservedPerformanceKey( inputs.additionalYamlConfigInput.value,