Skip to content

Commit

Permalink
Fix dashboard links in Add Data UI (#30860) (#31153)
Browse files Browse the repository at this point in the history
* Fix dashboard links in Add Data UI

* Fix dashboard links in logging add data ui
  • Loading branch information
kaiyan-sheng authored Feb 16, 2019
1 parent 0b9851b commit a6827ad
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category';
import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/filebeat_instructions';

export function apacheLogsSpecProvider(server, context) {
const moduleName = 'apache2';
const moduleName = 'apache';
const geoipRequired = true;
const uaRequired = true;
const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS'];
Expand All @@ -36,25 +36,25 @@ export function apacheLogsSpecProvider(server, context) {
defaultMessage: 'Collect and parse access and error logs created by the Apache HTTP server.',
}),
longDescription: i18n.translate('kbn.server.tutorials.apacheLogs.longDescription', {
defaultMessage: 'The apache2 Filebeat module parses access and error logs created by the Apache 2 HTTP server. \
defaultMessage: 'The apache Filebeat module parses access and error logs created by the Apache HTTP server. \
[Learn more]({learnMoreLink}).',
values: {
learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-apache2.html',
learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-apache.html',
},
}),
euiIconType: 'logoApache',
artifacts: {
dashboards: [
{
id: 'Filebeat-Apache2-Dashboard',
id: 'Filebeat-Apache-Dashboard-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.apacheLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Apache2 logs dashboard',
defaultMessage: 'Apache logs dashboard',
}),
isOverview: true
}
],
exportedFields: {
documentationUrl: '{config.docs.beats.filebeat}/exported-fields-apache2.html'
documentationUrl: '{config.docs.beats.filebeat}/exported-fields-apache.html'
}
},
completionTimeMinutes: 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function apacheMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'Metricbeat-Apache-HTTPD-server-status',
id: 'Metricbeat-Apache-HTTPD-server-status-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.apacheMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Apache metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function awsMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'c5846400-f7fb-11e8-af03-c999c9dea608',
id: 'c5846400-f7fb-11e8-af03-c999c9dea608-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.awsMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'AWS metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function dockerMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'AV4REOpp5NkDleZmzKkE',
id: 'AV4REOpp5NkDleZmzKkE-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.dockerMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Docker metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function golangMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'f2dc7320-f519-11e6-a3c9-9d1f7c42b045',
id: 'f2dc7320-f519-11e6-a3c9-9d1f7c42b045-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.golangMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Golang metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function iisLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '4278ad30-fe16-11e7-a3b0-d13028918f9f',
id: '4278ad30-fe16-11e7-a3b0-d13028918f9f-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.iisLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'IIS logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function kafkaLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '943caca0-87ee-11e7-ad9c-db80de0bf8d3',
id: '943caca0-87ee-11e7-ad9c-db80de0bf8d3-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.kafkaLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Kafka logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function kubernetesMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'AV4RGUqo5NkDleZmzKuZ',
id: 'AV4RGUqo5NkDleZmzKuZ-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.kubernetesMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Kubernetes metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function logstashLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'Filebeat-Logstash-Log-Dashboard',
id: 'Filebeat-Logstash-Log-Dashboard-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.logstashLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Logstash logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function mongodbMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'Metricbeat-MongoDB',
id: 'Metricbeat-MongoDB-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.mongodbMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'MongoDB metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function mssqlMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'a2ead240-18bb-11e9-9836-f37dedd3b411',
id: 'a2ead240-18bb-11e9-9836-f37dedd3b411-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.mssqlMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Microsoft SQL Server metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function mysqlLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'Filebeat-MySQL-Dashboard',
id: 'Filebeat-MySQL-Dashboard-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.mysqlLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'MySQL logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function mysqlMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '66881e90-0006-11e7-bf7f-c9acc3d3e306',
id: '66881e90-0006-11e7-bf7f-c9acc3d3e306-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.mysqlMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'MySQL metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function nginxLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '55a9e6e0-a29e-11e7-928f-5dbe6f6f5519',
id: '55a9e6e0-a29e-11e7-928f-5dbe6f6f5519-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.nginxLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Nginx logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ which must be enabled in your Nginx installation. \
artifacts: {
dashboards: [
{
id: '023d2930-f1a5-11e7-a9ef-93c69af7b129',
id: '023d2930-f1a5-11e7-a9ef-93c69af7b129-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.nginxMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Nginx metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function osqueryLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '69f5ae20-eb02-11e7-8f04-51231daa5b05',
id: '69f5ae20-eb02-11e7-8f04-51231daa5b05-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.osqueryLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Osquery logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function postgresqlLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '158be870-87f4-11e7-ad9c-db80de0bf8d3',
id: '158be870-87f4-11e7-ad9c-db80de0bf8d3-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.postgresqlLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'PostgreSQL logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function rabbitmqMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'AV4YobKIge1VCbKU_qVo',
id: 'AV4YobKIge1VCbKU_qVo-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.rabbitmqMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'RabbitMQ metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Note that the `slowlog` fileset is experimental. \
artifacts: {
dashboards: [
{
id: '7fea2930-478e-11e7-b1f0-cb29bac6bf8b',
id: '7fea2930-478e-11e7-b1f0-cb29bac6bf8b-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.redisLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Redis logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function redisMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'AV4YjZ5pux-M-tCAunxK',
id: 'AV4YjZ5pux-M-tCAunxK-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.redisMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Redis metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Unix/Linux based distributions. This module is not available on Windows. \
artifacts: {
dashboards: [
{
id: 'Filebeat-syslog-dashboard',
id: 'Filebeat-syslog-dashboard-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.systemLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'System logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ It collects system wide statistics and statistics per process and filesystem. \
artifacts: {
dashboards: [
{
id: 'Metricbeat-system-overview',
id: 'Metricbeat-system-overview-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.systemMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'System metrics dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function traefikLogsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: 'Filebeat-Traefik-Dashboard',
id: 'Filebeat-Traefik-Dashboard-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.traefikLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Traefik logs dashboard',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function uwsgiMetricsSpecProvider(server, context) {
artifacts: {
dashboards: [
{
id: '32fca290-f0af-11e7-b9ff-9f96241065de',
id: '32fca290-f0af-11e7-b9ff-9f96241065de-ecs',
linkLabel: i18n.translate('kbn.server.tutorials.uwsgiMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'uWSGI metrics dashboard',
}),
Expand Down

0 comments on commit a6827ad

Please sign in to comment.