diff --git a/src/plugins/home/server/tutorials/activemq_logs/index.ts b/src/plugins/home/server/tutorials/activemq_logs/index.ts index 8d0edd1fa23e..519102098562 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 c3ced6a2e235..693c82a67e7d 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 a216713b245e..77299c8ef8c6 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 1fb9707611b2..009816645ade 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 ef6178093eef..43cc2efefe4d 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 5b51cb06a96e..ec5af9bbe2cb 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 633c839d513d..d225a68921ce 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 b08678424312..943cfc5df23f 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 e2d25583da3b..b9a8a0f935e3 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 b71a9925c489..1b24b685ab05 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 d700e1cac6ee..387a8ae1cb2d 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 853eb4502d3c..67136ef5fed1 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 7ae4816dc676..f62b512ca67c 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 d44d5aedffd5..a56e98492832 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,8 +46,8 @@ 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 \ - (ECS) fields that can be populated with the CEF data are populated. \ + is written into a `cef` object field. Lastly any OpenSearch Common Schema \ + (OCS) fields that can be populated with the CEF data are populated. \ [Learn more]({learnMoreLink}).', values: { learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-cef.html', @@ -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 389120b012b0..343082102596 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 267bcd6b99e6..72b6b3755edf 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 16c4d4c795ac..8c4b248a72ad 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 e37b5421f604..fa7dec678e47 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 5320819ff9cd..19e72228aeaa 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 57dbf16d7fcb..19def13bbfce 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 2bea25318765..dbf3afff8365 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 4d99ee5e6ddf..bef4d0a35e30 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 93614c807dfb..eedbaf655065 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 7055ec7aaf21..2505a2cf854b 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 dec9b95227f4..c57dfef9a885 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, @@ -46,7 +44,7 @@ export function crowdstrikeLogsSpecProvider(context: TutorialContext): TutorialS defaultMessage: 'This is the Filebeat module for CrowdStrike Falcon using the Falcon \ [SIEM Connector](https://www.crowdstrike.com/blog/tech-center/integrate-with-your-siem). \ - This module collects this data, converts it to ECS, and ingests it to view in the SIEM. \ + This module collects this data, converts it to OCS, and ingests it to view in the SIEM. \ By default, the Falcon SIEM connector outputs JSON formatted Falcon Streaming API event data. \ [Learn more]({learnMoreLink}).', values: { @@ -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 7dd4ce24c6c6..9e172dd1ec72 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 0e56557c4c3c..e6cc155bb544 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 75a58bb6156e..1a8a75017a9e 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 0fbb393fc60b..6a09057e849b 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 197c76d61aea..51785e7fd3c0 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 086bd6dd59d7..760c861092c3 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 c8753dc46a0a..8162988cc232 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 7796dc857dd2..c7d2857e710b 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 da54b5341a27..a69206932947 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 1d601e272937..a3ea4c304f2b 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 20fee0d963bc..4e7c04ae8d4a 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 9eabf33b4bf5..58e0b27a364a 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 3d8c106a0759..90fdee005182 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 89614228ad21..ed064636e97d 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 1920897b025e..98d6e2339af4 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 88182e703b49..868d57578ce0 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 e4456001c96d..b51313e5a6a6 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 62821f15efd3..276a231c0cec 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 0dd0cb394a5e..bdc332bd1e3d 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 569fb855133c..30ea16577577 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 b4413e8b2cf1..bd032460dc24 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 c805f33c3f56..cadff84a4781 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 8c3e75fb5e04..000000000000 --- 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 7d50eb878aab..e2d87f9c1846 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 4e73bb23e64b..2365bed6801a 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 \ @@ -120,7 +118,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 +129,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 +139,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 +165,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -177,7 +175,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 +188,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 +355,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 440e8bb6a143..5b1ccba40094 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 \ @@ -153,7 +151,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -161,7 +159,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 +181,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -191,7 +189,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 +211,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -221,7 +219,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 +241,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -253,7 +251,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 +264,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', @@ -553,125 +479,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 b4d63b621d7d..c8674d6e1dde 100644 --- a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts @@ -90,7 +90,7 @@ 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: diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index 9f769e829be7..d72d4b9e286f 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 \ @@ -171,7 +169,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -179,7 +177,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 +199,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -209,7 +207,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 +229,7 @@ and {opensearchDashboardsUrlTemplate} is the URL of OpenSearch Dashboards.', commands: [ 'output.opensearch:', ' hosts: [""]', - ' username: "elastic"', + ' username: "opensearch"', ' password: ""', 'setup.opensearchDashboards:', ' host: ""', @@ -239,7 +237,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 +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.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 +285,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 +435,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 9271361bf351..000000000000 --- 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 978a02d1397e..4adc4f90bebd 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 8e9ebd69fe60..bff638e2ff3b 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 63b330090b6e..b74528393b68 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 e7400abff1a8..5ca666590440 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 41b0577f31e6..ac965963602b 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 297d433f6758..16aa27106741 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 78c98ad1bc3e..4f135884c8d1 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 c95ddd4164bc..993d6b800510 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 db92df0c6215..1761c276861e 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 af76e61ff80a..4bcadf8e0b2e 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 edf21cf0efca..79593c11ac0d 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 e660328c759b..70a47aee941a 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 682c1ea178bc..367a0f7780a9 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 938cf948ebeb..0d414683b058 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 40180e149cbe..882ff57e5b3d 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 36b00f505929..f5d6c19a3217 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 4f7838f009c3..aefe155fd66f 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 f6bece053297..e36517f9d85a 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 039000d506b4..11a1c4f7d70b 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 f7dd6e725ff8..4789c88f401b 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 3afcade5670e..36303def74fd 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 b984057729d9..d25da3f417ca 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 354456ea3301..e8da64adb103 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 461e0eabbf24..141f4bb6f48f 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 158efb69aae6..4c556b8187cc 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 f30d08fbc2d8..f575b1f04c0a 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 5efc3551e1dc..d52009548467 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 156f3977d683..f65184ee3554 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 d7ab9ce8dab6..b17c2c4c7edc 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 4947355672c2..33188a65144a 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 260b2dbacb2c..3b87ab0740a3 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 f99913241b46..95f5d22cc25a 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 c7f8183cc2b3..6d70dd979803 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 25119695584a..e50a4a6c2e82 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 e452cd0ed4ea..fc8457612833 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 48e07991657b..300ad9f88dad 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 f6134b4b8147..ec6f89a3d092 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 042e65fef7b0..2de737baea17 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 02bf09b81e9e..c5c05a3c0175 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 f233811a3ec6..a157d7608c85 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 c0fad08a61df..d09332665636 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 a37d3b2f62b3..90161fb35b88 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 e4e5c76b6d93..4dcdd5df2ff1 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 8cb4549f6d7b..6aebcea504ce 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 327fe4dabd50..314355ba2f16 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 6e0384d33cd1..ca3b0c0d60f0 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 2a8352bd6a40..9ede27a949b3 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 3ff702f30971..527e4aed31d3 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 d08a7999c969..50655453df4b 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 6f89aa7deb2f..a6aba8e33cd0 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 e44de74b1686..c9db0839f27e 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 fd40f063ff11..71e7874b4c1f 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 0ed7ac8faa20..3122ef2b1f0b 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 070ed0573599..5ba9ba152a66 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 a41fc9bda507..4e5c12a91a35 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 43591af80978..9770dfdee2da 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 b855cd8c4988..ba28f82075f5 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 87d73b4283e3..fe1876597970 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 1e9e767c5a11..c94743930948 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 8190fa37d35a..e9fe4718de01 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 84c5ce177306..fcfb95bbb497 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 ecea4d7e3a85..af288fcc9319 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 f11b1f5a789c..43c647641c1b 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 0ec84cc1b478..e54ce6027ce5 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), }; }