From f0e019994dee2eb1393046d61e25469de1928e5e Mon Sep 17 00:00:00 2001 From: Anan Zhuang Date: Fri, 19 Mar 2021 12:30:47 -0700 Subject: [PATCH] Delete onprem_cloud_instructions.ts Signed-off-by: Anan Zhuang --- .../server/tutorials/activemq_logs/index.ts | 4 - .../tutorials/activemq_metrics/index.ts | 4 - .../tutorials/aerospike_metrics/index.ts | 4 - .../server/tutorials/apache_logs/index.ts | 4 - .../server/tutorials/apache_metrics/index.ts | 4 - .../home/server/tutorials/auditbeat/index.ts | 4 - .../server/tutorials/auditd_logs/index.ts | 4 - .../home/server/tutorials/aws_logs/index.ts | 4 - .../server/tutorials/aws_metrics/index.ts | 4 - .../home/server/tutorials/azure_logs/index.ts | 4 - .../server/tutorials/azure_metrics/index.ts | 4 - .../server/tutorials/barracuda_logs/index.ts | 4 - .../server/tutorials/bluecoat_logs/index.ts | 4 - .../home/server/tutorials/cef_logs/index.ts | 6 +- .../server/tutorials/ceph_metrics/index.ts | 4 - .../server/tutorials/checkpoint_logs/index.ts | 4 - .../home/server/tutorials/cisco_logs/index.ts | 4 - .../server/tutorials/cloudwatch_logs/index.ts | 4 - .../tutorials/cockroachdb_metrics/index.ts | 4 - .../server/tutorials/consul_metrics/index.ts | 4 - .../server/tutorials/coredns_logs/index.ts | 4 - .../server/tutorials/coredns_metrics/index.ts | 4 - .../tutorials/couchbase_metrics/index.ts | 4 - .../server/tutorials/couchdb_metrics/index.ts | 4 - .../tutorials/crowdstrike_logs/index.ts | 4 - .../server/tutorials/cylance_logs/index.ts | 4 - .../server/tutorials/docker_metrics/index.ts | 4 - .../tutorials/dropwizard_metrics/index.ts | 4 - .../server/tutorials/envoyproxy_logs/index.ts | 4 - .../tutorials/envoyproxy_metrics/index.ts | 4 - .../server/tutorials/etcd_metrics/index.ts | 4 - .../home/server/tutorials/f5_logs/index.ts | 4 - .../server/tutorials/fortinet_logs/index.ts | 4 - .../server/tutorials/golang_metrics/index.ts | 4 - .../tutorials/googlecloud_logs/index.ts | 4 - .../tutorials/googlecloud_metrics/index.ts | 4 - .../server/tutorials/gsuite_logs/index.ts | 4 - .../server/tutorials/haproxy_logs/index.ts | 4 - .../server/tutorials/haproxy_metrics/index.ts | 4 - .../home/server/tutorials/ibmmq_logs/index.ts | 4 - .../server/tutorials/ibmmq_metrics/index.ts | 4 - .../server/tutorials/icinga_logs/index.ts | 4 - .../home/server/tutorials/iis_logs/index.ts | 4 - .../server/tutorials/iis_metrics/index.ts | 4 - .../server/tutorials/imperva_logs/index.ts | 4 - .../server/tutorials/infoblox_logs/index.ts | 4 - .../instructions/auditbeat_instructions.ts | 158 +------------ .../instructions/cloud_instructions.ts | 31 --- .../instructions/filebeat_instructions.ts | 148 +----------- .../instructions/functionbeat_instructions.ts | 166 +------------ .../instructions/heartbeat_instructions.ts | 221 ++---------------- .../instructions/logstash_instructions.ts | 7 +- .../instructions/metricbeat_instructions.ts | 218 ++--------------- .../instructions/onprem_cloud_instructions.ts | 57 ----- .../instructions/winlogbeat_instructions.ts | 92 +------- .../server/tutorials/iptables_logs/index.ts | 4 - .../server/tutorials/juniper_logs/index.ts | 4 - .../home/server/tutorials/kafka_logs/index.ts | 4 - .../server/tutorials/kafka_metrics/index.ts | 4 - .../tutorials/kubernetes_metrics/index.ts | 4 - .../server/tutorials/logstash_logs/index.ts | 4 - .../tutorials/logstash_metrics/index.ts | 4 - .../tutorials/memcached_metrics/index.ts | 4 - .../server/tutorials/microsoft_logs/index.ts | 6 +- .../home/server/tutorials/misp_logs/index.ts | 4 - .../server/tutorials/mongodb_logs/index.ts | 4 - .../server/tutorials/mongodb_metrics/index.ts | 4 - .../home/server/tutorials/mssql_logs/index.ts | 4 - .../server/tutorials/mssql_metrics/index.ts | 4 - .../server/tutorials/munin_metrics/index.ts | 4 - .../home/server/tutorials/mysql_logs/index.ts | 4 - .../server/tutorials/mysql_metrics/index.ts | 4 - .../home/server/tutorials/nats_logs/index.ts | 4 - .../server/tutorials/nats_metrics/index.ts | 4 - .../server/tutorials/netflow_logs/index.ts | 4 - .../server/tutorials/netscout_logs/index.ts | 4 - .../home/server/tutorials/nginx_logs/index.ts | 4 - .../server/tutorials/nginx_metrics/index.ts | 4 - .../home/server/tutorials/o365_logs/index.ts | 4 - .../home/server/tutorials/okta_logs/index.ts | 4 - .../tutorials/openmetrics_metrics/index.ts | 4 - .../opensearch_dashboards_logs/index.ts | 4 - .../opensearch_dashboards_metrics/index.ts | 4 - .../server/tutorials/opensearch_logs/index.ts | 4 - .../tutorials/opensearch_metrics/index.ts | 4 - .../server/tutorials/oracle_metrics/index.ts | 4 - .../server/tutorials/osquery_logs/index.ts | 4 - .../home/server/tutorials/panw_logs/index.ts | 4 - .../server/tutorials/php_fpm_metrics/index.ts | 4 - .../server/tutorials/postgresql_logs/index.ts | 4 - .../tutorials/postgresql_metrics/index.ts | 4 - .../tutorials/prometheus_metrics/index.ts | 4 - .../server/tutorials/rabbitmq_logs/index.ts | 4 - .../tutorials/rabbitmq_metrics/index.ts | 4 - .../server/tutorials/radware_logs/index.ts | 4 - .../home/server/tutorials/redis_logs/index.ts | 4 - .../server/tutorials/redis_metrics/index.ts | 4 - .../redisenterprise_metrics/index.ts | 4 - .../home/server/tutorials/santa_logs/index.ts | 4 - .../server/tutorials/sonicwall_logs/index.ts | 4 - .../server/tutorials/sophos_logs/index.ts | 4 - .../home/server/tutorials/squid_logs/index.ts | 4 - .../server/tutorials/stan_metrics/index.ts | 4 - .../server/tutorials/statsd_metrics/index.ts | 4 - .../server/tutorials/suricata_logs/index.ts | 4 - .../server/tutorials/system_logs/index.ts | 4 - .../server/tutorials/system_metrics/index.ts | 4 - .../server/tutorials/tomcat_logs/index.ts | 4 - .../server/tutorials/traefik_logs/index.ts | 4 - .../server/tutorials/traefik_metrics/index.ts | 4 - .../server/tutorials/uptime_monitors/index.ts | 4 - .../server/tutorials/uwsgi_metrics/index.ts | 4 - .../server/tutorials/vsphere_metrics/index.ts | 4 - .../tutorials/windows_event_logs/index.ts | 4 - .../server/tutorials/windows_metrics/index.ts | 4 - .../home/server/tutorials/zeek_logs/index.ts | 4 - .../tutorials/zookeeper_metrics/index.ts | 4 - .../server/tutorials/zscaler_logs/index.ts | 4 - 118 files changed, 67 insertions(+), 1471 deletions(-) delete mode 100644 src/plugins/home/server/tutorials/instructions/cloud_instructions.ts delete mode 100644 src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts diff --git a/src/plugins/home/server/tutorials/activemq_logs/index.ts b/src/plugins/home/server/tutorials/activemq_logs/index.ts index 8d0edd1fa23..51910209856 100644 --- a/src/plugins/home/server/tutorials/activemq_logs/index.ts +++ b/src/plugins/home/server/tutorials/activemq_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function activemqLogsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/activemq_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/activemq_metrics/index.ts b/src/plugins/home/server/tutorials/activemq_metrics/index.ts index c3ced6a2e23..693c82a67e7 100644 --- a/src/plugins/home/server/tutorials/activemq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/activemq_metrics/index.ts @@ -20,8 +20,6 @@ import { i18n } from '@osd/i18n'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function activemqMetricsSpecProvider(context: TutorialContext): TutorialS }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/aerospike_metrics/index.ts b/src/plugins/home/server/tutorials/aerospike_metrics/index.ts index a216713b245..77299c8ef8c 100644 --- a/src/plugins/home/server/tutorials/aerospike_metrics/index.ts +++ b/src/plugins/home/server/tutorials/aerospike_metrics/index.ts @@ -20,8 +20,6 @@ import { i18n } from '@osd/i18n'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function aerospikeMetricsSpecProvider(context: TutorialContext): Tutorial }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/apache_logs/index.ts b/src/plugins/home/server/tutorials/apache_logs/index.ts index 1fb9707611b..009816645ad 100644 --- a/src/plugins/home/server/tutorials/apache_logs/index.ts +++ b/src/plugins/home/server/tutorials/apache_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function apacheLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/apache_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/apache_metrics/index.ts b/src/plugins/home/server/tutorials/apache_metrics/index.ts index ef6178093ee..43cc2efefe4 100644 --- a/src/plugins/home/server/tutorials/apache_metrics/index.ts +++ b/src/plugins/home/server/tutorials/apache_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function apacheMetricsSpecProvider(context: TutorialContext): TutorialSch completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/apache_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/auditbeat/index.ts b/src/plugins/home/server/tutorials/auditbeat/index.ts index 5b51cb06a96..ec5af9bbe2c 100644 --- a/src/plugins/home/server/tutorials/auditbeat/index.ts +++ b/src/plugins/home/server/tutorials/auditbeat/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/auditbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ processes, users, logins, sockets information, file accesses, and more. \ completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/auditbeat/screenshot.png', onPrem: onPremInstructions(platforms, context), - elasticCloud: cloudInstructions(platforms), - onPremElasticCloud: onPremCloudInstructions(platforms), }; } diff --git a/src/plugins/home/server/tutorials/auditd_logs/index.ts b/src/plugins/home/server/tutorials/auditd_logs/index.ts index 633c839d513..d225a68921c 100644 --- a/src/plugins/home/server/tutorials/auditd_logs/index.ts +++ b/src/plugins/home/server/tutorials/auditd_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function auditdLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/auditd_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/aws_logs/index.ts b/src/plugins/home/server/tutorials/aws_logs/index.ts index b0867842431..943cfc5df23 100644 --- a/src/plugins/home/server/tutorials/aws_logs/index.ts +++ b/src/plugins/home/server/tutorials/aws_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function awsLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/aws_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/aws_metrics/index.ts b/src/plugins/home/server/tutorials/aws_metrics/index.ts index e2d25583da3..b9a8a0f935e 100644 --- a/src/plugins/home/server/tutorials/aws_metrics/index.ts +++ b/src/plugins/home/server/tutorials/aws_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function awsMetricsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/aws_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/azure_logs/index.ts b/src/plugins/home/server/tutorials/azure_logs/index.ts index b71a9925c48..1b24b685ab0 100644 --- a/src/plugins/home/server/tutorials/azure_logs/index.ts +++ b/src/plugins/home/server/tutorials/azure_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function azureLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/azure_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/azure_metrics/index.ts b/src/plugins/home/server/tutorials/azure_metrics/index.ts index d700e1cac6e..387a8ae1cb2 100644 --- a/src/plugins/home/server/tutorials/azure_metrics/index.ts +++ b/src/plugins/home/server/tutorials/azure_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function azureMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/azure_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/barracuda_logs/index.ts b/src/plugins/home/server/tutorials/barracuda_logs/index.ts index 853eb4502d3..67136ef5fed 100644 --- a/src/plugins/home/server/tutorials/barracuda_logs/index.ts +++ b/src/plugins/home/server/tutorials/barracuda_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function barracudaLogsSpecProvider(context: TutorialContext): TutorialSch }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/bluecoat_logs/index.ts b/src/plugins/home/server/tutorials/bluecoat_logs/index.ts index 7ae4816dc67..f62b512ca67 100644 --- a/src/plugins/home/server/tutorials/bluecoat_logs/index.ts +++ b/src/plugins/home/server/tutorials/bluecoat_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function bluecoatLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/cef_logs/index.ts b/src/plugins/home/server/tutorials/cef_logs/index.ts index d44d5aedffd..e199bb98afe 100644 --- a/src/plugins/home/server/tutorials/cef_logs/index.ts +++ b/src/plugins/home/server/tutorials/cef_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -48,7 +46,7 @@ export function cefLogsSpecProvider(context: TutorialContext): TutorialSchema { Syslog. When messages are received over the syslog protocol the syslog \ input will parse the header and set the timestamp value. Then the \ processor is applied to parse the CEF encoded data. The decoded data \ - is written into a `cef` object field. Lastly any Elastic Common Schema \ + is written into a `cef` object field. Lastly any OpenSearch Common Schema \ (ECS) fields that can be populated with the CEF data are populated. \ [Learn more]({learnMoreLink}).', values: { @@ -72,7 +70,5 @@ export function cefLogsSpecProvider(context: TutorialContext): TutorialSchema { }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/ceph_metrics/index.ts b/src/plugins/home/server/tutorials/ceph_metrics/index.ts index 389120b012b..34308210259 100644 --- a/src/plugins/home/server/tutorials/ceph_metrics/index.ts +++ b/src/plugins/home/server/tutorials/ceph_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function cephMetricsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/checkpoint_logs/index.ts b/src/plugins/home/server/tutorials/checkpoint_logs/index.ts index 267bcd6b99e..72b6b3755ed 100644 --- a/src/plugins/home/server/tutorials/checkpoint_logs/index.ts +++ b/src/plugins/home/server/tutorials/checkpoint_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function checkpointLogsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/cisco_logs/index.ts b/src/plugins/home/server/tutorials/cisco_logs/index.ts index 16c4d4c795a..8c4b248a72a 100644 --- a/src/plugins/home/server/tutorials/cisco_logs/index.ts +++ b/src/plugins/home/server/tutorials/cisco_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function ciscoLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/cisco_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts b/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts index e37b5421f60..fa7dec678e4 100644 --- a/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts +++ b/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/functionbeat_instructions'; import { TutorialContext, @@ -62,7 +60,5 @@ export function cloudwatchLogsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions([], context), - elasticCloud: cloudInstructions(), - onPremElasticCloud: onPremCloudInstructions(), }; } diff --git a/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts b/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts index 5320819ff9c..19e72228aea 100644 --- a/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -70,7 +68,5 @@ export function cockroachdbMetricsSpecProvider(context: TutorialContext): Tutori completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/cockroachdb_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/consul_metrics/index.ts b/src/plugins/home/server/tutorials/consul_metrics/index.ts index 57dbf16d7fc..19def13bbfc 100644 --- a/src/plugins/home/server/tutorials/consul_metrics/index.ts +++ b/src/plugins/home/server/tutorials/consul_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function consulMetricsSpecProvider(context: TutorialContext): TutorialSch completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/consul_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/coredns_logs/index.ts b/src/plugins/home/server/tutorials/coredns_logs/index.ts index 2bea2531876..dbf3afff836 100644 --- a/src/plugins/home/server/tutorials/coredns_logs/index.ts +++ b/src/plugins/home/server/tutorials/coredns_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function corednsLogsSpecProvider(context: TutorialContext): TutorialSchem completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/coredns_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/coredns_metrics/index.ts b/src/plugins/home/server/tutorials/coredns_metrics/index.ts index 4d99ee5e6dd..bef4d0a35e3 100644 --- a/src/plugins/home/server/tutorials/coredns_metrics/index.ts +++ b/src/plugins/home/server/tutorials/coredns_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function corednsMetricsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/coredns_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/couchbase_metrics/index.ts b/src/plugins/home/server/tutorials/couchbase_metrics/index.ts index 93614c807df..eedbaf65506 100644 --- a/src/plugins/home/server/tutorials/couchbase_metrics/index.ts +++ b/src/plugins/home/server/tutorials/couchbase_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function couchbaseMetricsSpecProvider(context: TutorialContext): Tutorial }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/couchdb_metrics/index.ts b/src/plugins/home/server/tutorials/couchdb_metrics/index.ts index 7055ec7aaf2..2505a2cf854 100644 --- a/src/plugins/home/server/tutorials/couchdb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/couchdb_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -70,7 +68,5 @@ export function couchdbMetricsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/couchdb_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts b/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts index dec9b95227f..129a89acb16 100644 --- a/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts +++ b/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function crowdstrikeLogsSpecProvider(context: TutorialContext): TutorialS }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/cylance_logs/index.ts b/src/plugins/home/server/tutorials/cylance_logs/index.ts index 7dd4ce24c6c..9e172dd1ec7 100644 --- a/src/plugins/home/server/tutorials/cylance_logs/index.ts +++ b/src/plugins/home/server/tutorials/cylance_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function cylanceLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/docker_metrics/index.ts b/src/plugins/home/server/tutorials/docker_metrics/index.ts index 0e56557c4c3..e6cc155bb54 100644 --- a/src/plugins/home/server/tutorials/docker_metrics/index.ts +++ b/src/plugins/home/server/tutorials/docker_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function dockerMetricsSpecProvider(context: TutorialContext): TutorialSch completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/docker_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts b/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts index 75a58bb6156..1a8a75017a9 100644 --- a/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts +++ b/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function dropwizardMetricsSpecProvider(context: TutorialContext): Tutoria }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts b/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts index 0fbb393fc60..6a09057e849 100644 --- a/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts +++ b/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function envoyproxyLogsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/envoyproxy_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts b/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts index 197c76d61ae..51785e7fd3c 100644 --- a/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts +++ b/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -58,7 +56,5 @@ export function envoyproxyMetricsSpecProvider(context: TutorialContext): Tutoria }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/etcd_metrics/index.ts b/src/plugins/home/server/tutorials/etcd_metrics/index.ts index 086bd6dd59d..760c861092c 100644 --- a/src/plugins/home/server/tutorials/etcd_metrics/index.ts +++ b/src/plugins/home/server/tutorials/etcd_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function etcdMetricsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/f5_logs/index.ts b/src/plugins/home/server/tutorials/f5_logs/index.ts index c8753dc46a0..8162988cc23 100644 --- a/src/plugins/home/server/tutorials/f5_logs/index.ts +++ b/src/plugins/home/server/tutorials/f5_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function f5LogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/f5_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/fortinet_logs/index.ts b/src/plugins/home/server/tutorials/fortinet_logs/index.ts index 7796dc857dd..c7d2857e710 100644 --- a/src/plugins/home/server/tutorials/fortinet_logs/index.ts +++ b/src/plugins/home/server/tutorials/fortinet_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function fortinetLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/golang_metrics/index.ts b/src/plugins/home/server/tutorials/golang_metrics/index.ts index da54b5341a2..a6920693294 100644 --- a/src/plugins/home/server/tutorials/golang_metrics/index.ts +++ b/src/plugins/home/server/tutorials/golang_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function golangMetricsSpecProvider(context: TutorialContext): TutorialSch }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/googlecloud_logs/index.ts b/src/plugins/home/server/tutorials/googlecloud_logs/index.ts index 1d601e27293..a3ea4c304f2 100644 --- a/src/plugins/home/server/tutorials/googlecloud_logs/index.ts +++ b/src/plugins/home/server/tutorials/googlecloud_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -73,7 +71,5 @@ export function googlecloudLogsSpecProvider(context: TutorialContext): TutorialS completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/googlecloud_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts b/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts index 20fee0d963b..4e7c04ae8d4 100644 --- a/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts +++ b/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -72,7 +70,5 @@ export function googlecloudMetricsSpecProvider(context: TutorialContext): Tutori completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/googlecloud_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/gsuite_logs/index.ts b/src/plugins/home/server/tutorials/gsuite_logs/index.ts index 9eabf33b4bf..58e0b27a364 100644 --- a/src/plugins/home/server/tutorials/gsuite_logs/index.ts +++ b/src/plugins/home/server/tutorials/gsuite_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function gsuiteLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/haproxy_logs/index.ts b/src/plugins/home/server/tutorials/haproxy_logs/index.ts index 3d8c106a075..90fdee00518 100644 --- a/src/plugins/home/server/tutorials/haproxy_logs/index.ts +++ b/src/plugins/home/server/tutorials/haproxy_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function haproxyLogsSpecProvider(context: TutorialContext): TutorialSchem completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/haproxy_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/haproxy_metrics/index.ts b/src/plugins/home/server/tutorials/haproxy_metrics/index.ts index 89614228ad2..ed064636e97 100644 --- a/src/plugins/home/server/tutorials/haproxy_metrics/index.ts +++ b/src/plugins/home/server/tutorials/haproxy_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function haproxyMetricsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/ibmmq_logs/index.ts b/src/plugins/home/server/tutorials/ibmmq_logs/index.ts index 1920897b025..98d6e2339af 100644 --- a/src/plugins/home/server/tutorials/ibmmq_logs/index.ts +++ b/src/plugins/home/server/tutorials/ibmmq_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function ibmmqLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/ibmmq_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts b/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts index 88182e703b4..868d57578ce 100644 --- a/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function ibmmqMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/ibmmq_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/icinga_logs/index.ts b/src/plugins/home/server/tutorials/icinga_logs/index.ts index e4456001c96..b51313e5a6a 100644 --- a/src/plugins/home/server/tutorials/icinga_logs/index.ts +++ b/src/plugins/home/server/tutorials/icinga_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function icingaLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/icinga_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/iis_logs/index.ts b/src/plugins/home/server/tutorials/iis_logs/index.ts index 62821f15efd..276a231c0ce 100644 --- a/src/plugins/home/server/tutorials/iis_logs/index.ts +++ b/src/plugins/home/server/tutorials/iis_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function iisLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/iis_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/iis_metrics/index.ts b/src/plugins/home/server/tutorials/iis_metrics/index.ts index 0dd0cb394a5..bdc332bd1e3 100644 --- a/src/plugins/home/server/tutorials/iis_metrics/index.ts +++ b/src/plugins/home/server/tutorials/iis_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function iisMetricsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/iis_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/imperva_logs/index.ts b/src/plugins/home/server/tutorials/imperva_logs/index.ts index 569fb855133..30ea1657757 100644 --- a/src/plugins/home/server/tutorials/imperva_logs/index.ts +++ b/src/plugins/home/server/tutorials/imperva_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function impervaLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/infoblox_logs/index.ts b/src/plugins/home/server/tutorials/infoblox_logs/index.ts index b4413e8b2cf..bd032460dc2 100644 --- a/src/plugins/home/server/tutorials/infoblox_logs/index.ts +++ b/src/plugins/home/server/tutorials/infoblox_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function infobloxLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts index c805f33c3f5..cadff84a478 100644 --- a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { Platform, TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createAuditbeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -177,7 +175,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -185,7 +183,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.config.osxTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -207,7 +205,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -215,7 +213,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.config.debTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -237,7 +235,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -245,7 +243,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.config.rpmTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -267,7 +265,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -277,7 +275,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', 'home.tutorials.common.auditbeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of OpenSearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -290,78 +288,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createAuditbeatCloudInstructions = () => ({ - CONFIG: { - OSX: { - title: i18n.translate('home.tutorials.common.auditbeatCloudInstructions.config.osxTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.auditbeatCloudInstructions.config.osxTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`auditbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - DEB: { - title: i18n.translate('home.tutorials.common.auditbeatCloudInstructions.config.debTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.auditbeatCloudInstructions.config.debTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/auditbeat/auditbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - RPM: { - title: i18n.translate('home.tutorials.common.auditbeatCloudInstructions.config.rpmTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.auditbeatCloudInstructions.config.rpmTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/auditbeat/auditbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - WINDOWS: { - title: i18n.translate( - 'home.tutorials.common.auditbeatCloudInstructions.config.windowsTitle', - { - defaultMessage: 'Edit the configuration', - } - ), - textPre: i18n.translate( - 'home.tutorials.common.auditbeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Auditbeat\\auditbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function auditbeatStatusCheck() { return { title: i18n.translate('home.tutorials.common.auditbeatStatusCheck.title', { @@ -425,71 +351,3 @@ export function onPremInstructions(platforms: readonly Platform[], context?: Tut }; } -export function onPremCloudInstructions(platforms: readonly Platform[]) { - const AUDITBEAT_INSTRUCTIONS = createAuditbeatInstructions(); - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - - const variants = []; - for (let i = 0; i < platforms.length; i++) { - const platform = platforms[i]; - variants.push({ - id: INSTRUCTION_VARIANT[platform], - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - AUDITBEAT_INSTRUCTIONS.INSTALL[platform], - AUDITBEAT_INSTRUCTIONS.CONFIG[platform], - AUDITBEAT_INSTRUCTIONS.START[platform], - ], - }); - } - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.auditbeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: variants, - statusCheck: auditbeatStatusCheck(), - }, - ], - }; -} - -export function cloudInstructions(platforms: readonly Platform[]) { - const AUDITBEAT_INSTRUCTIONS = createAuditbeatInstructions(); - const AUDITBEAT_CLOUD_INSTRUCTIONS = createAuditbeatCloudInstructions(); - - const variants = []; - for (let i = 0; i < platforms.length; i++) { - const platform = platforms[i]; - variants.push({ - id: INSTRUCTION_VARIANT[platform], - instructions: [ - AUDITBEAT_INSTRUCTIONS.INSTALL[platform], - AUDITBEAT_CLOUD_INSTRUCTIONS.CONFIG[platform], - AUDITBEAT_INSTRUCTIONS.START[platform], - ], - }); - } - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.auditbeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: variants, - statusCheck: auditbeatStatusCheck(), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/instructions/cloud_instructions.ts b/src/plugins/home/server/tutorials/instructions/cloud_instructions.ts deleted file mode 100644 index 8c3e75fb5e0..00000000000 --- a/src/plugins/home/server/tutorials/instructions/cloud_instructions.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -import { i18n } from '@osd/i18n'; - -export const cloudPasswordAndResetLink = i18n.translate( - 'home.tutorials.common.cloudInstructions.passwordAndResetLink', - { - defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user.' + - `\\{#config.cloud.resetPasswordUrl\\} - Forgot the password? [Reset in Elastic Cloud](\\{config.cloud.resetPasswordUrl\\}). - \\{/config.cloud.resetPasswordUrl\\}`, - values: { passwordTemplate: '``' }, - } -); diff --git a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts index 7d50eb878aa..e2d87f9c184 100644 --- a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { Platform, TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createFilebeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -174,7 +172,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -182,7 +180,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.filebeatInstructions.config.osxTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -204,7 +202,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -212,7 +210,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.filebeatInstructions.config.debTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -234,7 +232,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -242,7 +240,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.filebeatInstructions.config.rpmTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -264,7 +262,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -274,7 +272,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', 'home.tutorials.common.filebeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -287,66 +285,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createFilebeatCloudInstructions = () => ({ - CONFIG: { - OSX: { - title: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.osxTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.osxTextPre', { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`filebeat.yml`', - }, - }), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - DEB: { - title: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.debTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.debTextPre', { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/filebeat/filebeat.yml`', - }, - }), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - RPM: { - title: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.rpmTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.rpmTextPre', { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/filebeat/filebeat.yml`', - }, - }), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - WINDOWS: { - title: i18n.translate('home.tutorials.common.filebeatCloudInstructions.config.windowsTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.filebeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Filebeat\\filebeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function filebeatEnableInstructions(moduleName: string) { return { OSX: { @@ -474,73 +412,3 @@ export function onPremInstructions( }; } -export function onPremCloudInstructions(moduleName: string, platforms: readonly Platform[] = []) { - const FILEBEAT_INSTRUCTIONS = createFilebeatInstructions(); - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - - const variants = []; - for (let i = 0; i < platforms.length; i++) { - const platform = platforms[i]; - variants.push({ - id: INSTRUCTION_VARIANT[platform], - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - FILEBEAT_INSTRUCTIONS.INSTALL[platform], - FILEBEAT_INSTRUCTIONS.CONFIG[platform], - filebeatEnableInstructions(moduleName)[platform], - FILEBEAT_INSTRUCTIONS.START[platform], - ], - }); - } - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.filebeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: variants, - statusCheck: filebeatStatusCheck(moduleName), - }, - ], - }; -} - -export function cloudInstructions(moduleName: string, platforms: readonly Platform[] = []) { - const FILEBEAT_INSTRUCTIONS = createFilebeatInstructions(); - const FILEBEAT_CLOUD_INSTRUCTIONS = createFilebeatCloudInstructions(); - - const variants = []; - for (let i = 0; i < platforms.length; i++) { - const platform = platforms[i]; - variants.push({ - id: INSTRUCTION_VARIANT[platform], - instructions: [ - FILEBEAT_INSTRUCTIONS.INSTALL[platform], - FILEBEAT_CLOUD_INSTRUCTIONS.CONFIG[platform], - filebeatEnableInstructions(moduleName)[platform], - FILEBEAT_INSTRUCTIONS.START[platform], - ], - }); - } - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.filebeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: variants, - statusCheck: filebeatStatusCheck(moduleName), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts index 4e73bb23e64..f6c5acc8eb5 100644 --- a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { Platform, TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -70,7 +68,7 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ { defaultMessage: 'First time using Functionbeat? See the [Quick Start]({functionbeatLink}).\n\ - 1. Download the Functionbeat Windows zip file from the [Download]({elasticLink}) page.\n\ + 1. Download the Functionbeat Windows zip file from the [Download]({opensearchLink}) page.\n\ 2. Extract the contents of the zip file into {folderPath}.\n\ 3. Rename the {directoryName} directory to `Functionbeat`.\n\ 4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select \ @@ -81,7 +79,11 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', functionbeatLink: '{config.docs.beats.functionbeat}/functionbeat-installation-configuration.html', +<<<<<<< HEAD elasticLink: 'https://www.opensearch.co/downloads/beats/functionbeat', +======= + opensearchLink: 'https://www.elastic.co/downloads/beats/functionbeat', +>>>>>>> 6b9f77d6fa (clean escloud -1) }, } ), @@ -120,7 +122,7 @@ OpenSearch Dashboards index pattern. It is normally safe to omit this command.', CONFIG: { OSX_LINUX: { title: i18n.translate('home.tutorials.common.functionbeatInstructions.config.osxTitle', { - defaultMessage: 'Configure the Elastic cluster', + defaultMessage: 'Configure the OpenSearch cluster', }), textPre: i18n.translate('home.tutorials.common.functionbeatInstructions.config.osxTextPre', { defaultMessage: 'Modify {path} to set the connection information:', @@ -131,7 +133,7 @@ OpenSearch Dashboards index pattern. It is normally safe to omit this command.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -141,7 +143,7 @@ OpenSearch Dashboards index pattern. It is normally safe to omit this command.', 'home.tutorials.common.functionbeatInstructions.config.osxTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -167,7 +169,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -177,7 +179,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', 'home.tutorials.common.functionbeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -190,46 +192,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createFunctionbeatCloudInstructions = () => ({ - CONFIG: { - OSX_LINUX: { - title: i18n.translate('home.tutorials.common.functionbeatCloudInstructions.config.osxTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.functionbeatCloudInstructions.config.osxTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`functionbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - WINDOWS: { - title: i18n.translate( - 'home.tutorials.common.functionbeatCloudInstructions.config.windowsTitle', - { - defaultMessage: 'Edit the configuration', - } - ), - textPre: i18n.translate( - 'home.tutorials.common.functionbeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Functionbeat\\functionbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function functionbeatEnableInstructions() { const defaultTitle = i18n.translate( 'home.tutorials.common.functionbeatEnableOnPremInstructions.defaultTitle', @@ -397,111 +359,3 @@ export function onPremInstructions(platforms: Platform[], context?: TutorialCont }; } -export function onPremCloudInstructions() { - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - const FUNCTIONBEAT_INSTRUCTIONS = createFunctionbeatInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.functionbeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.OSX, - functionbeatAWSInstructions().OSX_LINUX, - functionbeatEnableInstructions().OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.CONFIG.OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.OSX_LINUX, - ], - }, - { - id: INSTRUCTION_VARIANT.LINUX, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.LINUX, - functionbeatAWSInstructions().OSX_LINUX, - functionbeatEnableInstructions().OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.CONFIG.OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.OSX_LINUX, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - functionbeatAWSInstructions().WINDOWS, - functionbeatEnableInstructions().WINDOWS, - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - FUNCTIONBEAT_INSTRUCTIONS.CONFIG.WINDOWS, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.WINDOWS, - ], - }, - ], - statusCheck: functionbeatStatusCheck(), - }, - ], - }; -} - -export function cloudInstructions() { - const FUNCTIONBEAT_INSTRUCTIONS = createFunctionbeatInstructions(); - const FUNCTIONBEAT_CLOUD_INSTRUCTIONS = createFunctionbeatCloudInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.functionbeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.OSX, - functionbeatAWSInstructions().OSX_LINUX, - functionbeatEnableInstructions().OSX_LINUX, - FUNCTIONBEAT_CLOUD_INSTRUCTIONS.CONFIG.OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.OSX_LINUX, - ], - }, - { - id: INSTRUCTION_VARIANT.LINUX, - instructions: [ - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.LINUX, - functionbeatAWSInstructions().OSX_LINUX, - functionbeatEnableInstructions().OSX_LINUX, - FUNCTIONBEAT_CLOUD_INSTRUCTIONS.CONFIG.OSX_LINUX, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.OSX_LINUX, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - FUNCTIONBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - functionbeatAWSInstructions().WINDOWS, - functionbeatEnableInstructions().WINDOWS, - FUNCTIONBEAT_CLOUD_INSTRUCTIONS.CONFIG.WINDOWS, - FUNCTIONBEAT_INSTRUCTIONS.DEPLOY.WINDOWS, - ], - }, - ], - statusCheck: functionbeatStatusCheck(), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts index 440e8bb6a14..9d62861746e 100644 --- a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { Platform, TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createHeartbeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -83,7 +81,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ { defaultMessage: 'First time using Heartbeat? See the [Quick Start]({heartbeatLink}).\n\ - 1. Download the Heartbeat Windows zip file from the [Download]({elasticLink}) page.\n\ + 1. Download the Heartbeat Windows zip file from the [Download]({opensearchLink}) page.\n\ 2. Extract the contents of the zip file into {folderPath}.\n\ 3. Rename the {directoryName} directory to `Heartbeat`.\n\ 4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select \ @@ -94,7 +92,11 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', heartbeatLink: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html', +<<<<<<< HEAD elasticLink: 'https://www.opensearch.co/downloads/beats/heartbeat', +======= + opensearchLink: 'https://www.elastic.co/downloads/beats/heartbeat', +>>>>>>> 6b9f77d6fa (clean escloud -1) }, } ), @@ -153,7 +155,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -161,7 +163,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.config.osxTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -183,7 +185,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -191,7 +193,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.config.debTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -213,7 +215,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -221,7 +223,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.config.rpmTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -243,7 +245,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -253,7 +255,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', 'home.tutorials.common.heartbeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -266,78 +268,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createHeartbeatCloudInstructions = () => ({ - CONFIG: { - OSX: { - title: i18n.translate('home.tutorials.common.heartbeatCloudInstructions.config.osxTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.heartbeatCloudInstructions.config.osxTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`heartbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - DEB: { - title: i18n.translate('home.tutorials.common.heartbeatCloudInstructions.config.debTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.heartbeatCloudInstructions.config.debTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/heartbeat/heartbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - RPM: { - title: i18n.translate('home.tutorials.common.heartbeatCloudInstructions.config.rpmTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.heartbeatCloudInstructions.config.rpmTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/heartbeat/heartbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - WINDOWS: { - title: i18n.translate( - 'home.tutorials.common.heartbeatCloudInstructions.config.windowsTitle', - { - defaultMessage: 'Edit the configuration', - } - ), - textPre: i18n.translate( - 'home.tutorials.common.heartbeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Heartbeat\\heartbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function heartbeatEnableInstructionsOnPrem() { const defaultTitle = i18n.translate( 'home.tutorials.common.heartbeatEnableOnPremInstructions.defaultTitle', @@ -411,6 +341,7 @@ export function heartbeatEnableInstructionsOnPrem() { }; } +<<<<<<< HEAD export function heartbeatEnableInstructionsCloud() { const defaultTitle = i18n.translate( 'home.tutorials.common.heartbeatEnableCloudInstructions.defaultTitle', @@ -471,6 +402,8 @@ export function heartbeatEnableInstructionsCloud() { }; } +======= +>>>>>>> 6b9f77d6fa (clean escloud -1) export function heartbeatStatusCheck() { return { title: i18n.translate('home.tutorials.common.heartbeatStatusCheck.title', { @@ -553,125 +486,3 @@ export function onPremInstructions(platforms: Platform[], context?: TutorialCont }; } -export function onPremCloudInstructions() { - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - const HEARTBEAT_INSTRUCTIONS = createHeartbeatInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.heartbeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - HEARTBEAT_INSTRUCTIONS.INSTALL.OSX, - HEARTBEAT_INSTRUCTIONS.CONFIG.OSX, - heartbeatEnableInstructionsCloud().OSX, - HEARTBEAT_INSTRUCTIONS.START.OSX, - ], - }, - { - id: INSTRUCTION_VARIANT.DEB, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - HEARTBEAT_INSTRUCTIONS.INSTALL.DEB, - HEARTBEAT_INSTRUCTIONS.CONFIG.DEB, - heartbeatEnableInstructionsCloud().DEB, - HEARTBEAT_INSTRUCTIONS.START.DEB, - ], - }, - { - id: INSTRUCTION_VARIANT.RPM, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - HEARTBEAT_INSTRUCTIONS.INSTALL.RPM, - HEARTBEAT_INSTRUCTIONS.CONFIG.RPM, - heartbeatEnableInstructionsCloud().RPM, - HEARTBEAT_INSTRUCTIONS.START.RPM, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - HEARTBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - HEARTBEAT_INSTRUCTIONS.CONFIG.WINDOWS, - heartbeatEnableInstructionsCloud().WINDOWS, - HEARTBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: heartbeatStatusCheck(), - }, - ], - }; -} - -export function cloudInstructions() { - const HEARTBEAT_INSTRUCTIONS = createHeartbeatInstructions(); - const HEARTBEAT_CLOUD_INSTRUCTIONS = createHeartbeatCloudInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.heartbeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - HEARTBEAT_INSTRUCTIONS.INSTALL.OSX, - HEARTBEAT_CLOUD_INSTRUCTIONS.CONFIG.OSX, - heartbeatEnableInstructionsCloud().OSX, - HEARTBEAT_INSTRUCTIONS.START.OSX, - ], - }, - { - id: INSTRUCTION_VARIANT.DEB, - instructions: [ - HEARTBEAT_INSTRUCTIONS.INSTALL.DEB, - HEARTBEAT_CLOUD_INSTRUCTIONS.CONFIG.DEB, - heartbeatEnableInstructionsCloud().DEB, - HEARTBEAT_INSTRUCTIONS.START.DEB, - ], - }, - { - id: INSTRUCTION_VARIANT.RPM, - instructions: [ - HEARTBEAT_INSTRUCTIONS.INSTALL.RPM, - HEARTBEAT_CLOUD_INSTRUCTIONS.CONFIG.RPM, - heartbeatEnableInstructionsCloud().RPM, - HEARTBEAT_INSTRUCTIONS.START.RPM, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - HEARTBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - HEARTBEAT_CLOUD_INSTRUCTIONS.CONFIG.WINDOWS, - heartbeatEnableInstructionsCloud().WINDOWS, - HEARTBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: heartbeatStatusCheck(), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts index b4d63b621d7..aa19cf7476c 100644 --- a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts @@ -90,13 +90,18 @@ export const createLogstashInstructions = () => ({ { defaultMessage: 'First time using Logstash? See the [Getting Started Guide]({logstashLink}).\n\ - 1. [Download]({elasticLink}) the Logstash Windows zip file.\n\ + 1. [Download]({opensearchLink}) the Logstash Windows zip file.\n\ 2. Extract the contents of the zip file.', values: { logstashLink: '{config.docs.base_url}guide/en/logstash/current/getting-started-with-logstash.html', +<<<<<<< HEAD elasticLink: 'https://artifacts.opensearch.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.zip', +======= + opensearchLink: + 'https://artifacts.elastic.co/downloads/logstash/logstash-{config.opensearchDashboards.version}.zip', +>>>>>>> 6b9f77d6fa (clean escloud -1) }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index 9f769e829be..7a14921d644 100644 --- a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createMetricbeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -89,7 +87,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ { defaultMessage: 'First time using Metricbeat? See the [Quick Start]({metricbeatLink}).\n\ - 1. Download the Metricbeat Windows zip file from the [Download]({elasticLink}) page.\n\ + 1. Download the Metricbeat Windows zip file from the [Download]({opensearchLink}) page.\n\ 2. Extract the contents of the zip file into {folderPath}.\n\ 3. Rename the {directoryName} directory to `Metricbeat`.\n\ 4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select \ @@ -100,7 +98,11 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', metricbeatLink: '{config.docs.beats.metricbeat}/metricbeat-installation-configuration.html', +<<<<<<< HEAD elasticLink: 'https://www.opensearch.co/downloads/beats/metricbeat', +======= + opensearchLink: 'https://www.elastic.co/downloads/beats/metricbeat', +>>>>>>> 6b9f77d6fa (clean escloud -1) }, } ), @@ -171,7 +173,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -179,7 +181,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.config.osxTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -201,7 +203,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -209,7 +211,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.config.debTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -231,7 +233,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -239,7 +241,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.config.rpmTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -264,7 +266,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -274,7 +276,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', 'home.tutorials.common.metricbeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -287,78 +289,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createMetricbeatCloudInstructions = () => ({ - CONFIG: { - OSX: { - title: i18n.translate('home.tutorials.common.metricbeatCloudInstructions.config.osxTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.metricbeatCloudInstructions.config.osxTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`metricbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - DEB: { - title: i18n.translate('home.tutorials.common.metricbeatCloudInstructions.config.debTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.metricbeatCloudInstructions.config.debTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/metricbeat/metricbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - RPM: { - title: i18n.translate('home.tutorials.common.metricbeatCloudInstructions.config.rpmTitle', { - defaultMessage: 'Edit the configuration', - }), - textPre: i18n.translate( - 'home.tutorials.common.metricbeatCloudInstructions.config.rpmTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`/etc/metricbeat/metricbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - WINDOWS: { - title: i18n.translate( - 'home.tutorials.common.metricbeatCloudInstructions.config.windowsTitle', - { - defaultMessage: 'Edit the configuration', - } - ), - textPre: i18n.translate( - 'home.tutorials.common.metricbeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Metricbeat\\metricbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function metricbeatEnableInstructions(moduleName: string) { return { OSX: { @@ -509,125 +439,3 @@ export function onPremInstructions(moduleName: string, context?: TutorialContext }; } -export function onPremCloudInstructions(moduleName: string) { - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - const METRICBEAT_INSTRUCTIONS = createMetricbeatInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.metricbeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - METRICBEAT_INSTRUCTIONS.INSTALL.OSX, - METRICBEAT_INSTRUCTIONS.CONFIG.OSX, - metricbeatEnableInstructions(moduleName).OSX, - METRICBEAT_INSTRUCTIONS.START.OSX, - ], - }, - { - id: INSTRUCTION_VARIANT.DEB, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - METRICBEAT_INSTRUCTIONS.INSTALL.DEB, - METRICBEAT_INSTRUCTIONS.CONFIG.DEB, - metricbeatEnableInstructions(moduleName).DEB, - METRICBEAT_INSTRUCTIONS.START.DEB, - ], - }, - { - id: INSTRUCTION_VARIANT.RPM, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - METRICBEAT_INSTRUCTIONS.INSTALL.RPM, - METRICBEAT_INSTRUCTIONS.CONFIG.RPM, - metricbeatEnableInstructions(moduleName).RPM, - METRICBEAT_INSTRUCTIONS.START.RPM, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - METRICBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - METRICBEAT_INSTRUCTIONS.CONFIG.WINDOWS, - metricbeatEnableInstructions(moduleName).WINDOWS, - METRICBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: metricbeatStatusCheck(moduleName), - }, - ], - }; -} - -export function cloudInstructions(moduleName: string) { - const METRICBEAT_INSTRUCTIONS = createMetricbeatInstructions(); - const METRICBEAT_CLOUD_INSTRUCTIONS = createMetricbeatCloudInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.metricbeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.OSX, - instructions: [ - METRICBEAT_INSTRUCTIONS.INSTALL.OSX, - METRICBEAT_CLOUD_INSTRUCTIONS.CONFIG.OSX, - metricbeatEnableInstructions(moduleName).OSX, - METRICBEAT_INSTRUCTIONS.START.OSX, - ], - }, - { - id: INSTRUCTION_VARIANT.DEB, - instructions: [ - METRICBEAT_INSTRUCTIONS.INSTALL.DEB, - METRICBEAT_CLOUD_INSTRUCTIONS.CONFIG.DEB, - metricbeatEnableInstructions(moduleName).DEB, - METRICBEAT_INSTRUCTIONS.START.DEB, - ], - }, - { - id: INSTRUCTION_VARIANT.RPM, - instructions: [ - METRICBEAT_INSTRUCTIONS.INSTALL.RPM, - METRICBEAT_CLOUD_INSTRUCTIONS.CONFIG.RPM, - metricbeatEnableInstructions(moduleName).RPM, - METRICBEAT_INSTRUCTIONS.START.RPM, - ], - }, - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - METRICBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - METRICBEAT_CLOUD_INSTRUCTIONS.CONFIG.WINDOWS, - metricbeatEnableInstructions(moduleName).WINDOWS, - METRICBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: metricbeatStatusCheck(moduleName), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts b/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts deleted file mode 100644 index 9271361bf35..00000000000 --- a/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { i18n } from '@osd/i18n'; - -export const createTrycloudOption1 = () => ({ - title: i18n.translate('home.tutorials.common.premCloudInstructions.option1.title', { - defaultMessage: 'Option 1: Try in Elastic Cloud', - }), - textPre: i18n.translate('home.tutorials.common.premCloudInstructions.option1.textPre', { - defaultMessage: - 'Go to [Elastic Cloud]({link}). Register if you \ -do not already have an account. Free 14-day trial available.\n\n\ -Log into the Elastic Cloud console\n\n\ -To create a cluster, in Elastic Cloud console:\n\ - 1. Select **Create Deployment** and specify the **Deployment Name**\n\ - 2. Modify the other deployment options as needed (or not, the defaults are great to get started)\n\ - 3. Click **Create Deployment**\n\ - 4. Wait until deployment creation completes\n\ - 5. Go to the new Cloud OpenSearch Dashboards instance and follow the OpenSearch Dashboards Home instructions', - values: { - link: 'https://www.opensearch.co/cloud/as-a-service/signup?blade=kib', - }, - }), -}); - -export const createTrycloudOption2 = () => ({ - title: i18n.translate('home.tutorials.common.premCloudInstructions.option2.title', { - defaultMessage: 'Option 2: Connect local OpenSearch Dashboards to a Cloud instance', - }), - textPre: i18n.translate('home.tutorials.common.premCloudInstructions.option2.textPre', { - defaultMessage: - 'If you are running this OpenSearch Dashboards instance against a hosted OpenSearch instance, \ -proceed with manual setup.\n\n\ -Save the **OpenSearch** endpoint as {urlTemplate} and the cluster **Password** as {passwordTemplate} for your records', - values: { - urlTemplate: '``', - passwordTemplate: '``', - }, - }), -}); diff --git a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts index 978a02d1397..4adc4f90beb 100644 --- a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts @@ -19,10 +19,8 @@ import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; -import { createTrycloudOption1, createTrycloudOption2 } from './onprem_cloud_instructions'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; import { TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; -import { cloudPasswordAndResetLink } from './cloud_instructions'; export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ INSTALL: { @@ -35,7 +33,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ { defaultMessage: 'First time using Winlogbeat? See the [Quick Start]({winlogbeatLink}).\n\ - 1. Download the Winlogbeat Windows zip file from the [Download]({elasticLink}) page.\n\ + 1. Download the Winlogbeat Windows zip file from the [Download]({opensearchLink}) page.\n\ 2. Extract the contents of the zip file into {folderPath}.\n\ 3. Rename the {directoryName} directory to `Winlogbeat`.\n\ 4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select \ @@ -46,7 +44,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', winlogbeatLink: '{config.docs.beats.winlogbeat}/winlogbeat-installation-configuration.html', - elasticLink: 'https://www.opensearch.co/downloads/beats/winlogbeat', + opensearchLink: 'https://www.opensearch.co/downloads/beats/winlogbeat', }, } ), @@ -90,7 +88,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -100,7 +98,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ 'home.tutorials.common.winlogbeatInstructions.config.windowsTextPost', { defaultMessage: - 'Where {passwordTemplate} is the password of the `elastic` user, {opensearchUrlTemplate} is the URL of opensearch, \ + 'Where {passwordTemplate} is the password of the `opensearch` user, {opensearchUrlTemplate} is the URL of opensearch, \ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', values: { passwordTemplate: '``', @@ -113,30 +111,6 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', }, }); -export const createWinlogbeatCloudInstructions = () => ({ - CONFIG: { - WINDOWS: { - title: i18n.translate( - 'home.tutorials.common.winlogbeatCloudInstructions.config.windowsTitle', - { - defaultMessage: 'Edit the configuration', - } - ), - textPre: i18n.translate( - 'home.tutorials.common.winlogbeatCloudInstructions.config.windowsTextPre', - { - defaultMessage: 'Modify {path} to set the connection information for Elastic Cloud:', - values: { - path: '`C:\\Program Files\\Winlogbeat\\winlogbeat.yml`', - }, - } - ), - commands: ['cloud.id: "{config.cloud.id}"', 'cloud.auth: "elastic:"'], - textPost: cloudPasswordAndResetLink, - }, - }, -}); - export function winlogbeatStatusCheck() { return { title: i18n.translate('home.tutorials.common.winlogbeatStatusCheck.title', { @@ -197,63 +171,5 @@ export function onPremInstructions(context?: TutorialContext) { }; } -export function onPremCloudInstructions() { - const TRYCLOUD_OPTION1 = createTrycloudOption1(); - const TRYCLOUD_OPTION2 = createTrycloudOption2(); - const WINLOGBEAT_INSTRUCTIONS = createWinlogbeatInstructions(); - - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.winlogbeat.premCloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - TRYCLOUD_OPTION1, - TRYCLOUD_OPTION2, - WINLOGBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - WINLOGBEAT_INSTRUCTIONS.CONFIG.WINDOWS, - WINLOGBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: winlogbeatStatusCheck(), - }, - ], - }; -} -export function cloudInstructions() { - const WINLOGBEAT_INSTRUCTIONS = createWinlogbeatInstructions(); - const WINLOGBEAT_CLOUD_INSTRUCTIONS = createWinlogbeatCloudInstructions(); - return { - instructionSets: [ - { - title: i18n.translate( - 'home.tutorials.common.winlogbeat.cloudInstructions.gettingStarted.title', - { - defaultMessage: 'Getting Started', - } - ), - instructionVariants: [ - { - id: INSTRUCTION_VARIANT.WINDOWS, - instructions: [ - WINLOGBEAT_INSTRUCTIONS.INSTALL.WINDOWS, - WINLOGBEAT_CLOUD_INSTRUCTIONS.CONFIG.WINDOWS, - WINLOGBEAT_INSTRUCTIONS.START.WINDOWS, - ], - }, - ], - statusCheck: winlogbeatStatusCheck(), - }, - ], - }; -} diff --git a/src/plugins/home/server/tutorials/iptables_logs/index.ts b/src/plugins/home/server/tutorials/iptables_logs/index.ts index 8e9ebd69fe6..bff638e2ff3 100644 --- a/src/plugins/home/server/tutorials/iptables_logs/index.ts +++ b/src/plugins/home/server/tutorials/iptables_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function iptablesLogsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/iptables_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/juniper_logs/index.ts b/src/plugins/home/server/tutorials/juniper_logs/index.ts index 63b330090b6..b74528393b6 100644 --- a/src/plugins/home/server/tutorials/juniper_logs/index.ts +++ b/src/plugins/home/server/tutorials/juniper_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function juniperLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/kafka_logs/index.ts b/src/plugins/home/server/tutorials/kafka_logs/index.ts index e7400abff1a..5ca66659044 100644 --- a/src/plugins/home/server/tutorials/kafka_logs/index.ts +++ b/src/plugins/home/server/tutorials/kafka_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function kafkaLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/kafka_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/kafka_metrics/index.ts b/src/plugins/home/server/tutorials/kafka_metrics/index.ts index 41b0577f31e..ac965963602 100644 --- a/src/plugins/home/server/tutorials/kafka_metrics/index.ts +++ b/src/plugins/home/server/tutorials/kafka_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function kafkaMetricsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts b/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts index 297d433f675..16aa2710674 100644 --- a/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts +++ b/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -70,7 +68,5 @@ export function kubernetesMetricsSpecProvider(context: TutorialContext): Tutoria completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/kubernetes_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/logstash_logs/index.ts b/src/plugins/home/server/tutorials/logstash_logs/index.ts index 78c98ad1bc3..4f135884c8d 100644 --- a/src/plugins/home/server/tutorials/logstash_logs/index.ts +++ b/src/plugins/home/server/tutorials/logstash_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function logstashLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/logstash_metrics/index.ts b/src/plugins/home/server/tutorials/logstash_metrics/index.ts index c95ddd4164b..993d6b80051 100644 --- a/src/plugins/home/server/tutorials/logstash_metrics/index.ts +++ b/src/plugins/home/server/tutorials/logstash_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function logstashMetricsSpecProvider(context: TutorialContext): TutorialS }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/memcached_metrics/index.ts b/src/plugins/home/server/tutorials/memcached_metrics/index.ts index db92df0c621..1761c276861 100644 --- a/src/plugins/home/server/tutorials/memcached_metrics/index.ts +++ b/src/plugins/home/server/tutorials/memcached_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function memcachedMetricsSpecProvider(context: TutorialContext): Tutorial }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/microsoft_logs/index.ts b/src/plugins/home/server/tutorials/microsoft_logs/index.ts index af76e61ff80..4bcadf8e0b2 100644 --- a/src/plugins/home/server/tutorials/microsoft_logs/index.ts +++ b/src/plugins/home/server/tutorials/microsoft_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -44,7 +42,7 @@ export function microsoftLogsSpecProvider(context: TutorialContext): TutorialSch }), longDescription: i18n.translate('home.tutorials.microsoftLogs.longDescription', { defaultMessage: - 'Collect Microsoft Defender ATP alerts for use with Elastic Security. \ + 'Collect Microsoft Defender ATP alerts for use with OpenSearch Security. \ [Learn more]({learnMoreLink}).', values: { learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-microsoft.html', @@ -68,7 +66,5 @@ export function microsoftLogsSpecProvider(context: TutorialContext): TutorialSch completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/microsoft_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/misp_logs/index.ts b/src/plugins/home/server/tutorials/misp_logs/index.ts index edf21cf0efc..79593c11ac0 100644 --- a/src/plugins/home/server/tutorials/misp_logs/index.ts +++ b/src/plugins/home/server/tutorials/misp_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function mispLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/misp_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/mongodb_logs/index.ts b/src/plugins/home/server/tutorials/mongodb_logs/index.ts index e660328c759..70a47aee941 100644 --- a/src/plugins/home/server/tutorials/mongodb_logs/index.ts +++ b/src/plugins/home/server/tutorials/mongodb_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function mongodbLogsSpecProvider(context: TutorialContext): TutorialSchem completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/mongodb_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/mongodb_metrics/index.ts b/src/plugins/home/server/tutorials/mongodb_metrics/index.ts index 682c1ea178b..367a0f7780a 100644 --- a/src/plugins/home/server/tutorials/mongodb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mongodb_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -70,7 +68,5 @@ export function mongodbMetricsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/mongodb_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/mssql_logs/index.ts b/src/plugins/home/server/tutorials/mssql_logs/index.ts index 938cf948ebe..0d414683b05 100644 --- a/src/plugins/home/server/tutorials/mssql_logs/index.ts +++ b/src/plugins/home/server/tutorials/mssql_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function mssqlLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/mssql_metrics/index.ts b/src/plugins/home/server/tutorials/mssql_metrics/index.ts index 40180e149cb..882ff57e5b3 100644 --- a/src/plugins/home/server/tutorials/mssql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mssql_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function mssqlMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/mssql_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/munin_metrics/index.ts b/src/plugins/home/server/tutorials/munin_metrics/index.ts index 36b00f50592..f5d6c19a321 100644 --- a/src/plugins/home/server/tutorials/munin_metrics/index.ts +++ b/src/plugins/home/server/tutorials/munin_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function muninMetricsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/mysql_logs/index.ts b/src/plugins/home/server/tutorials/mysql_logs/index.ts index 4f7838f009c..aefe155fd66 100644 --- a/src/plugins/home/server/tutorials/mysql_logs/index.ts +++ b/src/plugins/home/server/tutorials/mysql_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function mysqlLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/mysql_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/mysql_metrics/index.ts b/src/plugins/home/server/tutorials/mysql_metrics/index.ts index f6bece05329..e36517f9d85 100644 --- a/src/plugins/home/server/tutorials/mysql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mysql_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function mysqlMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/mysql_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/nats_logs/index.ts b/src/plugins/home/server/tutorials/nats_logs/index.ts index 039000d506b..11a1c4f7d70 100644 --- a/src/plugins/home/server/tutorials/nats_logs/index.ts +++ b/src/plugins/home/server/tutorials/nats_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function natsLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/nats_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/nats_metrics/index.ts b/src/plugins/home/server/tutorials/nats_metrics/index.ts index f7dd6e725ff..4789c88f401 100644 --- a/src/plugins/home/server/tutorials/nats_metrics/index.ts +++ b/src/plugins/home/server/tutorials/nats_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function natsMetricsSpecProvider(context: TutorialContext): TutorialSchem completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/nats_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/netflow_logs/index.ts b/src/plugins/home/server/tutorials/netflow_logs/index.ts index 3afcade5670..36303def74f 100644 --- a/src/plugins/home/server/tutorials/netflow_logs/index.ts +++ b/src/plugins/home/server/tutorials/netflow_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function netflowLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/netscout_logs/index.ts b/src/plugins/home/server/tutorials/netscout_logs/index.ts index b984057729d..d25da3f417c 100644 --- a/src/plugins/home/server/tutorials/netscout_logs/index.ts +++ b/src/plugins/home/server/tutorials/netscout_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function netscoutLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/nginx_logs/index.ts b/src/plugins/home/server/tutorials/nginx_logs/index.ts index 354456ea330..e8da64adb10 100644 --- a/src/plugins/home/server/tutorials/nginx_logs/index.ts +++ b/src/plugins/home/server/tutorials/nginx_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function nginxLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/nginx_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/nginx_metrics/index.ts b/src/plugins/home/server/tutorials/nginx_metrics/index.ts index 461e0eabbf2..141f4bb6f48 100644 --- a/src/plugins/home/server/tutorials/nginx_metrics/index.ts +++ b/src/plugins/home/server/tutorials/nginx_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -72,7 +70,5 @@ which must be enabled in your Nginx installation. \ completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/nginx_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/o365_logs/index.ts b/src/plugins/home/server/tutorials/o365_logs/index.ts index 158efb69aae..4c556b8187c 100644 --- a/src/plugins/home/server/tutorials/o365_logs/index.ts +++ b/src/plugins/home/server/tutorials/o365_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function o365LogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/o365_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/okta_logs/index.ts b/src/plugins/home/server/tutorials/okta_logs/index.ts index f30d08fbc2d..f575b1f04c0 100644 --- a/src/plugins/home/server/tutorials/okta_logs/index.ts +++ b/src/plugins/home/server/tutorials/okta_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function oktaLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/okta_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts b/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts index 5efc3551e1d..d5200954846 100644 --- a/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts +++ b/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -58,7 +56,5 @@ export function openmetricsMetricsSpecProvider(context: TutorialContext): Tutori }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts index 156f3977d68..f65184ee355 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function opensearchDashboardsLogsSpecProvider(context: TutorialContext): }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts index d7ab9ce8dab..b17c2c4c7ed 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -73,7 +71,5 @@ export function opensearchDashboardsMetricsSpecProvider(context: TutorialContext }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/opensearch_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_logs/index.ts index 4947355672c..33188a65144 100644 --- a/src/plugins/home/server/tutorials/opensearch_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function opensearchLogsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/opensearch_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts index 260b2dbacb2..3b87ab0740a 100644 --- a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function opensearchMetricsSpecProvider(context: TutorialContext): Tutoria }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/oracle_metrics/index.ts b/src/plugins/home/server/tutorials/oracle_metrics/index.ts index f99913241b4..95f5d22cc25 100644 --- a/src/plugins/home/server/tutorials/oracle_metrics/index.ts +++ b/src/plugins/home/server/tutorials/oracle_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function oracleMetricsSpecProvider(context: TutorialContext): TutorialSch }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/osquery_logs/index.ts b/src/plugins/home/server/tutorials/osquery_logs/index.ts index c7f8183cc2b..6d70dd97980 100644 --- a/src/plugins/home/server/tutorials/osquery_logs/index.ts +++ b/src/plugins/home/server/tutorials/osquery_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function osqueryLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/panw_logs/index.ts b/src/plugins/home/server/tutorials/panw_logs/index.ts index 25119695584..e50a4a6c2e8 100644 --- a/src/plugins/home/server/tutorials/panw_logs/index.ts +++ b/src/plugins/home/server/tutorials/panw_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function panwLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/panw_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts b/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts index e452cd0ed4e..fc845761283 100644 --- a/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts +++ b/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function phpfpmMetricsSpecProvider(context: TutorialContext): TutorialSch }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/postgresql_logs/index.ts b/src/plugins/home/server/tutorials/postgresql_logs/index.ts index 48e07991657..300ad9f88da 100644 --- a/src/plugins/home/server/tutorials/postgresql_logs/index.ts +++ b/src/plugins/home/server/tutorials/postgresql_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function postgresqlLogsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/postgresql_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/postgresql_metrics/index.ts b/src/plugins/home/server/tutorials/postgresql_metrics/index.ts index f6134b4b814..ec6f89a3d09 100644 --- a/src/plugins/home/server/tutorials/postgresql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/postgresql_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function postgresqlMetricsSpecProvider(context: TutorialContext): Tutoria }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/prometheus_metrics/index.ts b/src/plugins/home/server/tutorials/prometheus_metrics/index.ts index 042e65fef7b..2de737baea1 100644 --- a/src/plugins/home/server/tutorials/prometheus_metrics/index.ts +++ b/src/plugins/home/server/tutorials/prometheus_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function prometheusMetricsSpecProvider(context: TutorialContext): Tutoria }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts b/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts index 02bf09b81e9..c5c05a3c017 100644 --- a/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts +++ b/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function rabbitmqLogsSpecProvider(context: TutorialContext): TutorialSche }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts b/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts index f233811a3ec..a157d7608c8 100644 --- a/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -71,7 +69,5 @@ export function rabbitmqMetricsSpecProvider(context: TutorialContext): TutorialS completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/rabbitmq_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/radware_logs/index.ts b/src/plugins/home/server/tutorials/radware_logs/index.ts index c0fad08a61d..d0933266563 100644 --- a/src/plugins/home/server/tutorials/radware_logs/index.ts +++ b/src/plugins/home/server/tutorials/radware_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function radwareLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/redis_logs/index.ts b/src/plugins/home/server/tutorials/redis_logs/index.ts index a37d3b2f62b..90161fb35b8 100644 --- a/src/plugins/home/server/tutorials/redis_logs/index.ts +++ b/src/plugins/home/server/tutorials/redis_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -74,7 +72,5 @@ Note that the `slowlog` fileset is experimental. \ completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/redis_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/redis_metrics/index.ts b/src/plugins/home/server/tutorials/redis_metrics/index.ts index e4e5c76b6d9..4dcdd5df2ff 100644 --- a/src/plugins/home/server/tutorials/redis_metrics/index.ts +++ b/src/plugins/home/server/tutorials/redis_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function redisMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/redis_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts b/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts index 8cb4549f6d7..6aebcea504c 100644 --- a/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts +++ b/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function redisenterpriseMetricsSpecProvider(context: TutorialContext): Tu completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/redisenterprise_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/santa_logs/index.ts b/src/plugins/home/server/tutorials/santa_logs/index.ts index 327fe4dabd5..314355ba2f1 100644 --- a/src/plugins/home/server/tutorials/santa_logs/index.ts +++ b/src/plugins/home/server/tutorials/santa_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function santaLogsSpecProvider(context: TutorialContext): TutorialSchema completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/santa_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/sonicwall_logs/index.ts b/src/plugins/home/server/tutorials/sonicwall_logs/index.ts index 6e0384d33cd..ca3b0c0d60f 100644 --- a/src/plugins/home/server/tutorials/sonicwall_logs/index.ts +++ b/src/plugins/home/server/tutorials/sonicwall_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function sonicwallLogsSpecProvider(context: TutorialContext): TutorialSch }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/sophos_logs/index.ts b/src/plugins/home/server/tutorials/sophos_logs/index.ts index 2a8352bd6a4..9ede27a949b 100644 --- a/src/plugins/home/server/tutorials/sophos_logs/index.ts +++ b/src/plugins/home/server/tutorials/sophos_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function sophosLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/squid_logs/index.ts b/src/plugins/home/server/tutorials/squid_logs/index.ts index 3ff702f3097..527e4aed31d 100644 --- a/src/plugins/home/server/tutorials/squid_logs/index.ts +++ b/src/plugins/home/server/tutorials/squid_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function squidLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/stan_metrics/index.ts b/src/plugins/home/server/tutorials/stan_metrics/index.ts index d08a7999c96..50655453df4 100644 --- a/src/plugins/home/server/tutorials/stan_metrics/index.ts +++ b/src/plugins/home/server/tutorials/stan_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function stanMetricsSpecProvider(context: TutorialContext): TutorialSchem completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/stan_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/statsd_metrics/index.ts b/src/plugins/home/server/tutorials/statsd_metrics/index.ts index 6f89aa7deb2..a6aba8e33cd 100644 --- a/src/plugins/home/server/tutorials/statsd_metrics/index.ts +++ b/src/plugins/home/server/tutorials/statsd_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory, TutorialSchema } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; @@ -56,7 +54,5 @@ export function statsdMetricsSpecProvider(context: TutorialContext): TutorialSch completionTimeMinutes: 10, // previewImagePath: '', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/suricata_logs/index.ts b/src/plugins/home/server/tutorials/suricata_logs/index.ts index e44de74b168..c9db0839f27 100644 --- a/src/plugins/home/server/tutorials/suricata_logs/index.ts +++ b/src/plugins/home/server/tutorials/suricata_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function suricataLogsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/suricata_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/system_logs/index.ts b/src/plugins/home/server/tutorials/system_logs/index.ts index fd40f063ff1..71e7874b4c1 100644 --- a/src/plugins/home/server/tutorials/system_logs/index.ts +++ b/src/plugins/home/server/tutorials/system_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function systemLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/system_metrics/index.ts b/src/plugins/home/server/tutorials/system_metrics/index.ts index 0ed7ac8faa2..3122ef2b1f0 100644 --- a/src/plugins/home/server/tutorials/system_metrics/index.ts +++ b/src/plugins/home/server/tutorials/system_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ It collects system wide statistics and statistics per process and filesystem. \ completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/system_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/tomcat_logs/index.ts b/src/plugins/home/server/tutorials/tomcat_logs/index.ts index 070ed057359..5ba9ba152a6 100644 --- a/src/plugins/home/server/tutorials/tomcat_logs/index.ts +++ b/src/plugins/home/server/tutorials/tomcat_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function tomcatLogsSpecProvider(context: TutorialContext): TutorialSchema }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/traefik_logs/index.ts b/src/plugins/home/server/tutorials/traefik_logs/index.ts index a41fc9bda50..4e5c12a91a3 100644 --- a/src/plugins/home/server/tutorials/traefik_logs/index.ts +++ b/src/plugins/home/server/tutorials/traefik_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -67,7 +65,5 @@ export function traefikLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/traefik_metrics/index.ts b/src/plugins/home/server/tutorials/traefik_metrics/index.ts index 43591af8097..9770dfdee2d 100644 --- a/src/plugins/home/server/tutorials/traefik_metrics/index.ts +++ b/src/plugins/home/server/tutorials/traefik_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory, TutorialSchema } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; @@ -55,7 +53,5 @@ export function traefikMetricsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/uptime_monitors/index.ts b/src/plugins/home/server/tutorials/uptime_monitors/index.ts index b855cd8c498..ba28f82075f 100644 --- a/src/plugins/home/server/tutorials/uptime_monitors/index.ts +++ b/src/plugins/home/server/tutorials/uptime_monitors/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/heartbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function uptimeMonitorsSpecProvider(context: TutorialContext): TutorialSc completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/uptime_monitors/screenshot.png', onPrem: onPremInstructions([], context), - elasticCloud: cloudInstructions(), - onPremElasticCloud: onPremCloudInstructions(), }; } diff --git a/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts b/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts index 87d73b4283e..fe187659797 100644 --- a/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts +++ b/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -68,7 +66,5 @@ export function uwsgiMetricsSpecProvider(context: TutorialContext): TutorialSche completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/uwsgi_metrics/screenshot.png', onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/vsphere_metrics/index.ts b/src/plugins/home/server/tutorials/vsphere_metrics/index.ts index 1e9e767c5a1..c9474393094 100644 --- a/src/plugins/home/server/tutorials/vsphere_metrics/index.ts +++ b/src/plugins/home/server/tutorials/vsphere_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function vSphereMetricsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/windows_event_logs/index.ts b/src/plugins/home/server/tutorials/windows_event_logs/index.ts index 8190fa37d35..e9fe4718de0 100644 --- a/src/plugins/home/server/tutorials/windows_event_logs/index.ts +++ b/src/plugins/home/server/tutorials/windows_event_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/winlogbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function windowsEventLogsSpecProvider(context: TutorialContext): Tutorial }, completionTimeMinutes: 10, onPrem: onPremInstructions(context), - elasticCloud: cloudInstructions(), - onPremElasticCloud: onPremCloudInstructions(), }; } diff --git a/src/plugins/home/server/tutorials/windows_metrics/index.ts b/src/plugins/home/server/tutorials/windows_metrics/index.ts index 84c5ce17730..fcfb95bbb49 100644 --- a/src/plugins/home/server/tutorials/windows_metrics/index.ts +++ b/src/plugins/home/server/tutorials/windows_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function windowsMetricsSpecProvider(context: TutorialContext): TutorialSc }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/zeek_logs/index.ts b/src/plugins/home/server/tutorials/zeek_logs/index.ts index ecea4d7e3a8..af288fcc931 100644 --- a/src/plugins/home/server/tutorials/zeek_logs/index.ts +++ b/src/plugins/home/server/tutorials/zeek_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -69,7 +67,5 @@ export function zeekLogsSpecProvider(context: TutorialContext): TutorialSchema { completionTimeMinutes: 10, previewImagePath: '/plugins/home/assets/zeek_logs/screenshot.png', onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; } diff --git a/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts b/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts index f11b1f5a789..43c647641c1 100644 --- a/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts +++ b/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/metricbeat_instructions'; import { TutorialContext, @@ -66,7 +64,5 @@ export function zookeeperMetricsSpecProvider(context: TutorialContext): Tutorial }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, context), - elasticCloud: cloudInstructions(moduleName), - onPremElasticCloud: onPremCloudInstructions(moduleName), }; } diff --git a/src/plugins/home/server/tutorials/zscaler_logs/index.ts b/src/plugins/home/server/tutorials/zscaler_logs/index.ts index 0ec84cc1b47..e54ce6027ce 100644 --- a/src/plugins/home/server/tutorials/zscaler_logs/index.ts +++ b/src/plugins/home/server/tutorials/zscaler_logs/index.ts @@ -21,8 +21,6 @@ import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions, - cloudInstructions, - onPremCloudInstructions, } from '../instructions/filebeat_instructions'; import { TutorialContext, @@ -65,7 +63,5 @@ export function zscalerLogsSpecProvider(context: TutorialContext): TutorialSchem }, completionTimeMinutes: 10, onPrem: onPremInstructions(moduleName, platforms, context), - elasticCloud: cloudInstructions(moduleName, platforms), - onPremElasticCloud: onPremCloudInstructions(moduleName, platforms), }; }