diff --git a/src/legacy/core_plugins/kibana/common/tutorials/filebeat_instructions.js b/src/legacy/core_plugins/kibana/common/tutorials/filebeat_instructions.js index a1390f1060ba7..94be9db16e7a2 100644 --- a/src/legacy/core_plugins/kibana/common/tutorials/filebeat_instructions.js +++ b/src/legacy/core_plugins/kibana/common/tutorials/filebeat_instructions.js @@ -282,33 +282,6 @@ and {kibanaUrlTemplate} is the URL of Kibana.', }), } }, - PLUGINS: { - GEOIP_AND_UA: { - title: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTitle', { - defaultMessage: 'Install Elasticsearch GeoIP and user agent plugins', - }), - textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTextPre', { - defaultMessage: 'This module requires two Elasticsearch plugins that are not installed by default.\n\n\ -From the Elasticsearch installation folder, run:', - }), - commands: [ - 'bin/elasticsearch-plugin install ingest-geoip', - 'bin/elasticsearch-plugin install ingest-user-agent', - ], - }, - GEOIP: { - title: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipTitle', { - defaultMessage: 'Install Elasticsearch GeoIP plugin', - }), - textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipTextPre', { - defaultMessage: 'This module requires two Elasticsearch plugins that are not installed by default.\n\n\ -From the Elasticsearch installation folder, run:', - }), - commands: [ - 'bin/elasticsearch-plugin install ingest-geoip' - ] - } - } }); export const createFilebeatCloudInstructions = () => ({ @@ -489,18 +462,13 @@ export function filebeatStatusCheck(moduleName) { }; } -export function onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context) { +export function onPremInstructions(moduleName, platforms, context) { const FILEBEAT_INSTRUCTIONS = createFilebeatInstructions(context); const variants = []; for (let i = 0; i < platforms.length; i++) { const platform = platforms[i]; const instructions = []; - if (geoipRequired && uaRequired) { - instructions.push(FILEBEAT_INSTRUCTIONS.PLUGINS.GEOIP_AND_UA); - } else if (geoipRequired) { - instructions.push(FILEBEAT_INSTRUCTIONS.PLUGINS.GEOIP); - } instructions.push(FILEBEAT_INSTRUCTIONS.INSTALL[platform]); instructions.push(FILEBEAT_INSTRUCTIONS.CONFIG[platform]); instructions.push(filebeatEnableInstructions(moduleName)[platform]); diff --git a/src/legacy/core_plugins/kibana/common/tutorials/heartbeat_instructions.js b/src/legacy/core_plugins/kibana/common/tutorials/heartbeat_instructions.js index d57fdea9d7f13..3894d781fe833 100644 --- a/src/legacy/core_plugins/kibana/common/tutorials/heartbeat_instructions.js +++ b/src/legacy/core_plugins/kibana/common/tutorials/heartbeat_instructions.js @@ -478,7 +478,7 @@ export function heartbeatStatusCheck() { }; } -export function onPremInstructions(platforms, geoipRequired, uaRequired, context) { +export function onPremInstructions(platforms, context) { const HEARTBEAT_INSTRUCTIONS = createHeartbeatInstructions(context); return { diff --git a/src/legacy/core_plugins/kibana/common/tutorials/metricbeat_instructions.js b/src/legacy/core_plugins/kibana/common/tutorials/metricbeat_instructions.js index fe7ba4359a693..e338a8a70206b 100644 --- a/src/legacy/core_plugins/kibana/common/tutorials/metricbeat_instructions.js +++ b/src/legacy/core_plugins/kibana/common/tutorials/metricbeat_instructions.js @@ -449,7 +449,7 @@ export function metricbeatStatusCheck(moduleName) { }; } -export function onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context) { +export function onPremInstructions(moduleName, platforms, context) { const METRICBEAT_INSTRUCTIONS = createMetricbeatInstructions(context); return { diff --git a/src/legacy/core_plugins/kibana/server/tutorials/apache_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/apache_logs/index.js index 1c03e7ccbcfe2..b38bb22fe0088 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/apache_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/apache_logs/index.js @@ -23,9 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function apacheLogsSpecProvider(server, context) { const moduleName = 'apache2'; - const geoipRequired = false; - const uaRequired = false; - const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'apacheLogs', @@ -60,7 +57,7 @@ export function apacheLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/apache_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/elasticsearch_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/elasticsearch_logs/index.js index ea9f7bd8dee03..0803b83121b6d 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/elasticsearch_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/elasticsearch_logs/index.js @@ -22,8 +22,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function elasticsearchLogsSpecProvider() { const moduleName = 'elasticsearch'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'elasticsearchLogs', @@ -45,7 +43,7 @@ export function elasticsearchLogsSpecProvider() { } }, completionTimeMinutes: 10, - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired), + onPrem: onPremInstructions(moduleName, platforms), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/iis_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/iis_logs/index.js index 9cb12280566a9..58b9840748900 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/iis_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/iis_logs/index.js @@ -22,8 +22,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function iisLogsSpecProvider() { const moduleName = 'iis'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['WINDOWS']; return { id: 'iisLogs', @@ -47,7 +45,7 @@ export function iisLogsSpecProvider() { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/iis_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired), + onPrem: onPremInstructions(moduleName, platforms), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/kafka_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/kafka_logs/index.js index a4dfebd204280..709f2a06d153b 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/kafka_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/kafka_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function kafkaLogsSpecProvider(server, context) { const moduleName = 'kafka'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'kafkaLogs', @@ -59,7 +57,7 @@ export function kafkaLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/kafka_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/logstash_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/logstash_logs/index.js index 8d3458d575f8d..f80934b3405e7 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/logstash_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/logstash_logs/index.js @@ -22,8 +22,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function logstashLogsSpecProvider() { const moduleName = 'logstash'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'logstashLogs', @@ -47,7 +45,7 @@ export function logstashLogsSpecProvider() { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/logstash_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired), + onPrem: onPremInstructions(moduleName, platforms), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/mysql_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/mysql_logs/index.js index 9b06e4a1fafc4..3d1b910280e26 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/mysql_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/mysql_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function mysqlLogsSpecProvider(server, context) { const moduleName = 'mysql'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'mysqlLogs', @@ -59,7 +57,7 @@ export function mysqlLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/mysql_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/nginx_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/nginx_logs/index.js index 9d8ce6a6b6a64..683ebee2a859e 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/nginx_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/nginx_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function nginxLogsSpecProvider(server, context) { const moduleName = 'nginx'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'nginxLogs', @@ -59,7 +57,7 @@ export function nginxLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/nginx_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/osquery_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/osquery_logs/index.js index 6ffb28784e127..5fb3667e86ed8 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/osquery_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/osquery_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function osqueryLogsSpecProvider(server, context) { const moduleName = 'osquery'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'osqueryLogs', @@ -59,7 +57,7 @@ export function osqueryLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/osquery_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/postgresql_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/postgresql_logs/index.js index 5b90eeb894163..0ff33674b80d1 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/postgresql_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/postgresql_logs/index.js @@ -22,8 +22,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function postgresqlLogsSpecProvider() { const moduleName = 'postgresql'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'postgresqlLogs', @@ -47,7 +45,7 @@ export function postgresqlLogsSpecProvider() { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/postgresql_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired), + onPrem: onPremInstructions(moduleName, platforms), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/redis_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/redis_logs/index.js index c142f62a8ea5c..3ba0c0c0dffc7 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/redis_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/redis_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function redisLogsSpecProvider(server, context) { const moduleName = 'redis'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'redisLogs', @@ -65,7 +63,7 @@ Note that the `slowlog` fileset is experimental. \ }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/redis_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/suricata_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/suricata_logs/index.js index 57d030a2fc535..7e110c9395d64 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/suricata_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/suricata_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function suricataLogsSpecProvider(server, context) { const moduleName = 'suricata'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'suricataLogs', @@ -60,7 +58,7 @@ export function suricataLogsSpecProvider(server, context) { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/suricata_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/system_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/system_logs/index.js index 7ae9cbe22c463..b435c85752084 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/system_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/system_logs/index.js @@ -23,8 +23,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function systemLogsSpecProvider(server, context) { const moduleName = 'system'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM']; return { id: 'systemLogs', @@ -59,7 +57,7 @@ Unix/Linux based distributions. This module is not available on Windows. \ }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/system_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context), + onPrem: onPremInstructions(moduleName, platforms, context), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/src/legacy/core_plugins/kibana/server/tutorials/traefik_logs/index.js b/src/legacy/core_plugins/kibana/server/tutorials/traefik_logs/index.js index f3786d964b0f7..22cf8a491a1b2 100644 --- a/src/legacy/core_plugins/kibana/server/tutorials/traefik_logs/index.js +++ b/src/legacy/core_plugins/kibana/server/tutorials/traefik_logs/index.js @@ -22,8 +22,6 @@ import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from ' export function traefikLogsSpecProvider() { const moduleName = 'traefik'; - const geoipRequired = false; - const uaRequired = false; const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS']; return { id: 'traefikLogs', @@ -47,7 +45,7 @@ export function traefikLogsSpecProvider() { }, completionTimeMinutes: 10, previewImagePath: '/plugins/kibana/home/tutorial_resources/traefik_logs/screenshot.png', - onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired), + onPrem: onPremInstructions(moduleName, platforms), elasticCloud: cloudInstructions(moduleName, platforms), onPremElasticCloud: onPremCloudInstructions(moduleName, platforms) }; diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 0c696770ed3b2..e0eff63c4d90a 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -1079,10 +1079,6 @@ "kbn.common.tutorials.filebeatInstructions.install.windowsTextPost": "在 {filebeatPath} 文件中修改 {propertyName} 下的设置以指向您的 Elasticsearch 安装。", "kbn.common.tutorials.filebeatInstructions.install.windowsTextPre": "首次使用 Filebeat?请参阅[入门指南]({guideLinkUrl})。\n 1. 从[下载]({filebeatLinkUrl})页面下载 Filebeat Windows zip 文件。\n 2. 将 zip 文件的内容解压缩到 {folderPath}。\n 3. 将 `{directoryName}` 目录重命名为 `Filebeat`。\n 4. 以管理员身份打开 PowerShell 提示符(右键单击 PowerShell 图标,然后选择**以管理员身份运行**)。如果您正在运行 Windows XP,您可能需要下载并安装 PowerShell。\n 5. 从 PowerShell 提示符处,运行以下命令以将 Filebeat 安装为 Windows 服务。", "kbn.common.tutorials.filebeatInstructions.install.windowsTitle": "下载并安装 Filebeat", - "kbn.common.tutorials.filebeatInstructions.plugins.geoipTextPre": "此模块需要两个未默认安装的 Elasticsearch 插件。\n\n从 Elasticsearch 安装文件夹中,运行:", - "kbn.common.tutorials.filebeatInstructions.plugins.geoipTitle": "安装 Elasticsearch GeoIP 插件", - "kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTextPre": "此模块需要两个未默认安装的 Elasticsearch 插件。\n\n从 Elasticsearch 安装文件夹中,运行:", - "kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTitle": "安装 Elasticsearch GeoIP 和用户代理插件", "kbn.common.tutorials.filebeatInstructions.start.debTextPre": "`setup` 命令加载 Kibana 仪表板。如果仪表板已设置,请省略此命令。", "kbn.common.tutorials.filebeatInstructions.start.debTitle": "启动 Filebeat", "kbn.common.tutorials.filebeatInstructions.start.osxTextPre": "`setup` 命令加载 Kibana 仪表板。如果仪表板已设置,请省略此命令。", @@ -8390,4 +8386,4 @@ "xpack.watcher.watchActionsTitle": "满足后将执行 {watchActionsCount, plural, one{# 个操作} other {# 个操作}}", "xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。" } -} \ No newline at end of file +}