Skip to content

Commit 60ac26b

Browse files
committed
Add link to data stream page.
1 parent c5670ad commit 60ac26b

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/components/agent_enrollment_flyout/standalone_instructions.tsx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ import {
1515
EuiFlexGroup,
1616
EuiCodeBlock,
1717
EuiCopy,
18+
EuiLink,
1819
} from '@elastic/eui';
1920
import { EuiContainedStepProps } from '@elastic/eui/src/components/steps/steps';
2021
import { i18n } from '@kbn/i18n';
2122
import { FormattedMessage } from '@kbn/i18n/react';
2223
import { AgentPolicy } from '../../../../types';
23-
import { useCore, sendGetOneAgentPolicyFull } from '../../../../hooks';
24+
import { useCore, useLink, sendGetOneAgentPolicyFull } from '../../../../hooks';
2425
import { DownloadStep, AgentPolicySelectionStep } from './steps';
2526
import { fullAgentPolicyToYaml, agentPolicyRouteService } from '../../../../services';
2627

@@ -31,6 +32,7 @@ interface Props {
3132
const RUN_INSTRUCTIONS = './elastic-agent run';
3233

3334
export const StandaloneInstructions: React.FunctionComponent<Props> = ({ agentPolicies }) => {
35+
const { getHref } = useLink();
3436
const core = useCore();
3537
const { notifications } = core;
3638

@@ -157,7 +159,17 @@ export const StandaloneInstructions: React.FunctionComponent<Props> = ({ agentPo
157159
<EuiText>
158160
<FormattedMessage
159161
id="xpack.ingestManager.agentEnrollment.stepCheckForDataDescription"
160-
defaultMessage="The agent should begin sending data. Go to data streams to view your data."
162+
defaultMessage="The agent should begin sending data. Go to {link} to view your data."
163+
values={{
164+
link: (
165+
<EuiLink href={getHref('data_streams')}>
166+
<FormattedMessage
167+
id="xpack.ingestManager.agentEnrollment.goToDataStreamsLink"
168+
defaultMessage="data streams"
169+
/>
170+
</EuiLink>
171+
),
172+
}}
161173
/>
162174
</EuiText>
163175
</>

x-pack/plugins/translations/translations/ja-JP.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9123,7 +9123,6 @@
91239123
"xpack.ingestManager.agentEnrollment.flyoutTitle": "エージェントの追加",
91249124
"xpack.ingestManager.agentEnrollment.managedDescription": "必要なエージェントの数に関係なく、Fleetでは、簡単に一元的に更新を管理し、エージェントにデプロイすることができます。次の手順に従い、Elasticエージェントをダウンロードし、Fleetに登録してください。",
91259125
"xpack.ingestManager.agentEnrollment.standaloneDescription": "スタンドアロンモードで実行中のエージェントは、構成を変更したい場合には、手動で更新する必要があります。次の手順に従い、スタンドアロンモードでElasticエージェントをダウンロードし、セットアップしてください。",
9126-
"xpack.ingestManager.agentEnrollment.stepCheckForDataDescription": "エージェントを起動した後、エージェントはデータの送信を開始します。Ingest Managerのデータセットページでは、このデータを確認できます。",
91279126
"xpack.ingestManager.agentEnrollment.stepCheckForDataTitle": "データを確認",
91289127
"xpack.ingestManager.agentEnrollment.stepChooseAgentPolicyTitle": "エージェント構成を選択",
91299128
"xpack.ingestManager.agentEnrollment.stepConfigureAgentDescription": "この構成をコピーし、Elasticエージェントがインストールされているシステムのファイル{fileName}に置きます。必ず、構成ファイルの{outputSection}セクションで{ESUsernameVariable}と{ESPasswordVariable}を修正し、実際のElasticsearch認証資格情報が使用されるようにしてください。",

x-pack/plugins/translations/translations/zh-CN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9126,7 +9126,6 @@
91269126
"xpack.ingestManager.agentEnrollment.flyoutTitle": "添加代理",
91279127
"xpack.ingestManager.agentEnrollment.managedDescription": "无论是需要一个代理还是需要数以千计的代理,Fleet 允许您轻松地集中管理并部署代理的更新。按照下面的说明下载 Elastic 代理并将代理注册到 Fleet。",
91289128
"xpack.ingestManager.agentEnrollment.standaloneDescription": "如果希望对以独立模式运行的代理进行配置更改,则需要手动更新。按照下面的说明下载并设置独立模式的 Elastic 代理。",
9129-
"xpack.ingestManager.agentEnrollment.stepCheckForDataDescription": "启动代理后,代理应开始发送数据。您可以在采集管理器的数据集页面查看此数据。",
91309129
"xpack.ingestManager.agentEnrollment.stepCheckForDataTitle": "检查数据",
91319130
"xpack.ingestManager.agentEnrollment.stepChooseAgentPolicyTitle": "选择代理配置",
91329131
"xpack.ingestManager.agentEnrollment.stepConfigureAgentDescription": "在安装 Elastic 代理的系统上复制此配置并将其放入名为 {fileName} 的文件中。切勿忘记修改配置文件中 {outputSection} 部分的{ESUsernameVariable} 和 {ESPasswordVariable},以便其使用您的实际 Elasticsearch 凭据。",

0 commit comments

Comments
 (0)