Skip to content

Commit 67619b2

Browse files
committed
Add dashboard
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
1 parent 31735d0 commit 67619b2

File tree

2 files changed

+18
-10
lines changed
  • src/legacy/core_plugins/kibana

2 files changed

+18
-10
lines changed
250 KB
Loading

src/legacy/core_plugins/kibana/server/tutorials/ibmmq_logs/index.js

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,46 @@ import {
2525
onPremCloudInstructions,
2626
} from '../../../common/tutorials/filebeat_instructions';
2727

28-
export function ibmmqLogsSpecProvider(context) {
28+
export function ibmmqLogsSpecProvider(server, context) {
2929
const moduleName = 'ibmmq';
30-
const geoipRequired = false;
31-
const uaRequired = false;
3230
const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS'];
3331
return {
3432
id: 'ibmmqLogs',
3533
name: i18n.translate('kbn.server.tutorials.ibmmqLogs.nameTitle', {
36-
defaultMessage: 'IBM MQ',
34+
defaultMessage: 'IBM MQ logs',
3735
}),
38-
category: TUTORIAL_CATEGORY.SIEM,
36+
category: TUTORIAL_CATEGORY.LOGGING,
3937
shortDescription: i18n.translate('kbn.server.tutorials.ibmmqLogs.shortDescription', {
40-
defaultMessage: 'Collect and parse logs received from the Envoy proxy.',
38+
defaultMessage: 'Collect IBM MQ logs with Filebeat.',
4139
}),
4240
longDescription: i18n.translate('kbn.server.tutorials.ibmmqLogs.longDescription', {
43-
defaultMessage:
44-
'The `ibmmq` Filebeat module parses logs created by IBM MQ. \
41+
defaultMessage: 'Collect IBM MQ logs with Filebeat. \
4542
[Learn more]({learnMoreLink}).',
4643
values: {
4744
learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-ibmmq.html',
4845
},
4946
}),
5047
euiIconType: '/plugins/kibana/home/tutorial_resources/logos/ibmmq.svg',
5148
artifacts: {
52-
dashboards: [],
49+
dashboards: [
50+
{
51+
id: 'ba1d8830-7c7b-11e9-9645-e37efaf5baff',
52+
linkLabel: i18n.translate(
53+
'kbn.server.tutorials.ibmmqLogs.artifacts.dashboards.linkLabel',
54+
{
55+
defaultMessage: 'IBM MQ Events',
56+
}
57+
),
58+
isOverview: true,
59+
},
60+
],
5361
exportedFields: {
5462
documentationUrl: '{config.docs.beats.filebeat}/exported-fields-ibmmq.html',
5563
},
5664
},
5765
completionTimeMinutes: 10,
5866
previewImagePath: '/plugins/kibana/home/tutorial_resources/ibmmq_logs/screenshot.png',
59-
onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired, context),
67+
onPrem: onPremInstructions(moduleName, platforms, context),
6068
elasticCloud: cloudInstructions(moduleName, platforms),
6169
onPremElasticCloud: onPremCloudInstructions(moduleName, platforms),
6270
};

0 commit comments

Comments
 (0)