diff --git a/src/core_plugins/kibana/server/tutorials/aerospike_metrics/index.js b/src/core_plugins/kibana/server/tutorials/aerospike_metrics/index.js index 8cfd467606542..f9b656a888e1c 100644 --- a/src/core_plugins/kibana/server/tutorials/aerospike_metrics/index.js +++ b/src/core_plugins/kibana/server/tutorials/aerospike_metrics/index.js @@ -17,6 +17,7 @@ * under the License. */ +import { i18n } from '@kbn/i18n'; import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category'; import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/metricbeat_instructions'; @@ -24,15 +25,26 @@ export function aerospikeMetricsSpecProvider() { const moduleName = 'aerospike'; return { id: 'aerospikeMetrics', - name: 'Aerospike metrics', + name: i18n.translate('kbn.server.tutorials.aerospikeMetrics.nameTitle', { + defaultMessage: 'Aerospike metrics', + }), isBeta: true, category: TUTORIAL_CATEGORY.METRICS, - shortDescription: 'Fetch internal metrics from the Aerospike server.', - longDescription: 'The `aerospike` Metricbeat module fetches internal metrics from Aerospike.' + - ' [Learn more]({config.docs.beats.metricbeat}/metricbeat-module-aerospike.html).', + shortDescription: i18n.translate('kbn.server.tutorials.aerospikeMetrics.shortDescription', { + defaultMessage: 'Fetch internal metrics from the Aerospike server.', + }), + longDescription: i18n.translate('kbn.server.tutorials.aerospikeMetrics.longDescription', { + defaultMessage: 'The `aerospike` Metricbeat module fetches internal metrics from Aerospike. \ +[Learn more]({learnMoreLink}).', + values: { + learnMoreLink: '{config.docs.beats.metricbeat}/metricbeat-module-aerospike.html', + }, + }), artifacts: { application: { - label: 'Discover', + label: i18n.translate('kbn.server.tutorials.aerospikeMetrics.artifacts.application.label', { + defaultMessage: 'Discover', + }), path: '/app/kibana#/discover' }, dashboards: [], diff --git a/src/core_plugins/kibana/server/tutorials/apache_logs/index.js b/src/core_plugins/kibana/server/tutorials/apache_logs/index.js index 2918193f169ca..f9c90abc54bf1 100644 --- a/src/core_plugins/kibana/server/tutorials/apache_logs/index.js +++ b/src/core_plugins/kibana/server/tutorials/apache_logs/index.js @@ -17,6 +17,7 @@ * under the License. */ +import { i18n } from '@kbn/i18n'; import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category'; import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/filebeat_instructions'; @@ -27,17 +28,28 @@ export function apacheLogsSpecProvider() { const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'apacheLogs', - name: 'Apache logs', + name: i18n.translate('kbn.server.tutorials.apacheLogs.nameTitle', { + defaultMessage: 'Apache logs', + }), category: TUTORIAL_CATEGORY.LOGGING, - shortDescription: 'Collect and parse access and error logs created by the Apache HTTP server.', - longDescription: 'The apache2 Filebeat module parses access and error logs created by the Apache 2 HTTP server.' + - ' [Learn more]({config.docs.beats.filebeat}/filebeat-module-apache2.html).', + shortDescription: i18n.translate('kbn.server.tutorials.apacheLogs.shortDescription', { + defaultMessage: 'Collect and parse access and error logs created by the Apache HTTP server.', + }), + longDescription: i18n.translate('kbn.server.tutorials.apacheLogs.longDescription', { + defaultMessage: 'The apache2 Filebeat module parses access and error logs created by the Apache 2 HTTP server. \ +[Learn more]({learnMoreLink}).', + values: { + learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-apache2.html', + }, + }), euiIconType: 'logoApache', artifacts: { dashboards: [ { id: 'Filebeat-Apache2-Dashboard', - linkLabel: 'Apache2 logs dashboard', + linkLabel: i18n.translate('kbn.server.tutorials.apacheLogs.artifacts.dashboards.linkLabel', { + defaultMessage: 'Apache2 logs dashboard', + }), isOverview: true } ], diff --git a/src/core_plugins/kibana/server/tutorials/apache_metrics/index.js b/src/core_plugins/kibana/server/tutorials/apache_metrics/index.js index 82a6ba57f3917..9ea9c894d8977 100644 --- a/src/core_plugins/kibana/server/tutorials/apache_metrics/index.js +++ b/src/core_plugins/kibana/server/tutorials/apache_metrics/index.js @@ -17,6 +17,7 @@ * under the License. */ +import { i18n } from '@kbn/i18n'; import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category'; import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/metricbeat_instructions'; @@ -24,17 +25,28 @@ export function apacheMetricsSpecProvider() { const moduleName = 'apache'; return { id: 'apacheMetrics', - name: 'Apache metrics', + name: i18n.translate('kbn.server.tutorials.apacheMetrics.nameTitle', { + defaultMessage: 'Apache metrics', + }), category: TUTORIAL_CATEGORY.METRICS, - shortDescription: 'Fetch internal metrics from the Apache 2 HTTP server.', - longDescription: 'The `apache` Metricbeat module fetches internal metrics from the Apache 2 HTTP server.' + - ' [Learn more]({config.docs.beats.metricbeat}/metricbeat-module-apache.html).', + shortDescription: i18n.translate('kbn.server.tutorials.apacheMetrics.shortDescription', { + defaultMessage: 'Fetch internal metrics from the Apache 2 HTTP server.', + }), + longDescription: i18n.translate('kbn.server.tutorials.apacheMetrics.longDescription', { + defaultMessage: 'The `apache` Metricbeat module fetches internal metrics from the Apache 2 HTTP server. \ +[Learn more]({learnMoreLink}).', + values: { + learnMoreLink: '{config.docs.beats.metricbeat}/metricbeat-module-apache.html', + }, + }), euiIconType: 'logoApache', artifacts: { dashboards: [ { id: 'Metricbeat-Apache-HTTPD-server-status', - linkLabel: 'Apache metrics dashboard', + linkLabel: i18n.translate('kbn.server.tutorials.apacheMetrics.artifacts.dashboards.linkLabel', { + defaultMessage: 'Apache metrics dashboard', + }), isOverview: true } ],