-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dashboard links in Add Data UI #30860
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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']; | ||
|
@@ -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', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you double check if we renamed the ID in the Beats repo for the dashboard? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ruflin Yeah I tested this and it works, also found the id name in filebeat https://github.com/elastic/beats/blob/master/filebeat/module/apache/_meta/kibana/7/dashboard/Filebeat-apache.json#L647 |
||
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, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruflin when I'm fixing the links, I saw this. Should this be
apache
instead ofapache2
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, this should be apache.