Add vSphere Metricbeat module tutorial (#20572)

* Add vSphere Metricbeat module tutorial
This commit is contained in:
Carlos Pérez-Aradros Herce 2018-07-20 15:10:51 +02:00 committed by GitHub
parent 47e784c434
commit d787ffbe08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View file

@ -54,6 +54,7 @@ import { kafkaMetricsSpecProvider } from './kafka_metrics';
import { kibanaMetricsSpecProvider } from './kibana_metrics';
import { memcachedMetricsSpecProvider } from './memcached_metrics';
import { muninMetricsSpecProvider } from './munin_metrics';
import { vSphereMetricsSpecProvider } from './vsphere_metrics';
import { windowsMetricsSpecProvider } from './windows_metrics';
import { golangMetricsSpecProvider } from './golang_metrics';
import { logstashMetricsSpecProvider } from './logstash_metrics';
@ -98,6 +99,7 @@ export function registerTutorials(server) {
server.registerTutorial(kibanaMetricsSpecProvider);
server.registerTutorial(memcachedMetricsSpecProvider);
server.registerTutorial(muninMetricsSpecProvider);
server.registerTutorial(vSphereMetricsSpecProvider);
server.registerTutorial(windowsMetricsSpecProvider);
server.registerTutorial(golangMetricsSpecProvider);
server.registerTutorial(logstashMetricsSpecProvider);

View file

@ -0,0 +1,49 @@
/*
* 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 { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category';
import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/metricbeat_instructions';
export function vSphereMetricsSpecProvider() {
const moduleName = 'vsphere';
return {
id: 'vsphereMetrics',
name: 'vSphere metrics',
category: TUTORIAL_CATEGORY.METRICS,
shortDescription: 'Fetch internal metrics from vSphere.',
longDescription: 'The `vsphere` Metricbeat module fetches internal metrics from a vSphere cluster.' +
' [Learn more]({config.docs.beats.metricbeat}/metricbeat-module-vsphere.html).',
//euiIconType: 'logoVSphere',
artifacts: {
application: {
label: 'Discover',
path: '/app/kibana#/discover'
},
dashboards: [],
exportedFields: {
documentationUrl: '{config.docs.beats.metricbeat}/exported-fields-vsphere.html'
}
},
completionTimeMinutes: 10,
//previewImagePath: '/plugins/kibana/home/tutorial_resources/vsphere_metrics/screenshot.png',
onPrem: onPremInstructions(moduleName),
elasticCloud: cloudInstructions(moduleName),
onPremElasticCloud: onPremCloudInstructions(moduleName)
};
}