mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Fleet] Add link to integration data retention documentation (#115353)
* add ILM policy help text * update API docs * change link * regen api docs
This commit is contained in:
parent
5947cee096
commit
a266b2d426
5 changed files with 33 additions and 1 deletions
|
@ -229,6 +229,7 @@ readonly links: {
|
|||
readonly snapshotRestore: Record<string, string>;
|
||||
readonly ingest: Record<string, string>;
|
||||
readonly fleet: Readonly<{
|
||||
datastreamsILM: string;
|
||||
guide: string;
|
||||
fleetServer: string;
|
||||
fleetServerAddFleetServer: string;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -480,6 +480,7 @@ export class DocLinksService {
|
|||
troubleshooting: `${FLEET_DOCS}fleet-troubleshooting.html`,
|
||||
elasticAgent: `${FLEET_DOCS}elastic-agent-installation.html`,
|
||||
datastreams: `${FLEET_DOCS}data-streams.html`,
|
||||
datastreamsILM: `${FLEET_DOCS}data-streams.html#data-streams-ilm`,
|
||||
datastreamsNamingScheme: `${FLEET_DOCS}data-streams.html#data-streams-naming-scheme`,
|
||||
installElasticAgent: `${FLEET_DOCS}install-fleet-managed-elastic-agent.html`,
|
||||
upgradeElasticAgent: `${FLEET_DOCS}upgrade-elastic-agent.html`,
|
||||
|
@ -734,6 +735,7 @@ export interface DocLinksStart {
|
|||
readonly snapshotRestore: Record<string, string>;
|
||||
readonly ingest: Record<string, string>;
|
||||
readonly fleet: Readonly<{
|
||||
datastreamsILM: string;
|
||||
guide: string;
|
||||
fleetServer: string;
|
||||
fleetServerAddFleetServer: string;
|
||||
|
|
|
@ -698,6 +698,7 @@ export interface DocLinksStart {
|
|||
readonly snapshotRestore: Record<string, string>;
|
||||
readonly ingest: Record<string, string>;
|
||||
readonly fleet: Readonly<{
|
||||
datastreamsILM: string;
|
||||
guide: string;
|
||||
fleetServer: string;
|
||||
fleetServerAddFleetServer: string;
|
||||
|
|
|
@ -312,6 +312,34 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{
|
|||
/>
|
||||
</EuiFormRow>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
<EuiFormRow
|
||||
label={
|
||||
<FormattedMessage
|
||||
id="xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyDataRetentionLabel"
|
||||
defaultMessage="Data retention settings"
|
||||
/>
|
||||
}
|
||||
helpText={
|
||||
<FormattedMessage
|
||||
id="xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyDataRetentionText"
|
||||
defaultMessage="By default all logs and metrics data are stored on the hot tier. {learnMore} about changing the data retention policy for this integration."
|
||||
values={{
|
||||
learnMore: (
|
||||
<EuiLink href={docLinks.links.fleet.datastreamsILM} target="_blank">
|
||||
{i18n.translate(
|
||||
'xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyDataRetentionLearnMoreLink',
|
||||
{ defaultMessage: 'Learn more' }
|
||||
)}
|
||||
</EuiLink>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<div />
|
||||
</EuiFormRow>
|
||||
</EuiFlexItem>
|
||||
{/* Advanced vars */}
|
||||
{advancedVars.map((varDef) => {
|
||||
const { name: varName, type: varType } = varDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue