Skip to content

Commit d2656f7

Browse files
Supplementingelasticmachine
authored andcommitted
[Fleet] Update copy and add links for writing to logs stream on outputs (elastic#238335)
## Summary Closes elastic#236592 - Updated the copy to be more clear and added links to streams and wired streams pages. <img width="614" height="100" alt="image" src="https://github.com/user-attachments/assets/6b5f31b0-fb35-4ef7-9551-88bdf1e96725" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) - [ ] ... --------- Co-authored-by: Elastic Machine <[email protected]>
1 parent 7319d6c commit d2656f7

File tree

2 files changed

+26
-3
lines changed
  • x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout

2 files changed

+26
-3
lines changed

x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ describe('EditOutputFlyout', () => {
9494
},
9595
},
9696
docLinks: {
97-
links: { fleet: {}, logstash: {}, kibana: {} },
97+
links: {
98+
fleet: {},
99+
logstash: {},
100+
kibana: {},
101+
observability: {},
102+
},
98103
},
99104
cloud: {
100105
isServerlessEnabled,

x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,15 +470,33 @@ export const EditOutputFlyout: React.FunctionComponent<EditOutputFlyoutProps> =
470470
helpText={
471471
<FormattedMessage
472472
id="xpack.fleet.settings.editOutputFlyout.writeToStreamsHelpText"
473-
defaultMessage="When enabled, adds logs and logs.* to the output streams configuration in the agent policy."
473+
defaultMessage="When enabled, agents will be granted additional permissions to write data to {streamsLink}. To learn more, refer to the {learnMore} documentation."
474+
values={{
475+
streamsLink: (
476+
<EuiLink href={docLinks.links.observability.logsStreams} target="_blank">
477+
<FormattedMessage
478+
id="xpack.fleet.settings.editOutputFlyout.streamsLink"
479+
defaultMessage="Streams"
480+
/>
481+
</EuiLink>
482+
),
483+
learnMore: (
484+
<EuiLink href={docLinks.links.observability.wiredStreams} target="_blank">
485+
<FormattedMessage
486+
id="xpack.fleet.settings.editOutputFlyout.learnMore"
487+
defaultMessage="wired streams"
488+
/>
489+
</EuiLink>
490+
),
491+
}}
474492
/>
475493
}
476494
>
477495
<EuiSwitch
478496
label={
479497
<FormattedMessage
480498
id="xpack.fleet.settings.editOutputFlyout.writeToStreamsLabel"
481-
defaultMessage="Write to logs streams"
499+
defaultMessage="Allow agents to write to Streams"
482500
/>
483501
}
484502
checked={inputs.writeToStreams.value}

0 commit comments

Comments
 (0)