-
Notifications
You must be signed in to change notification settings - Fork 459
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 import-beats: prepend module names to Kibana dashboards #322
Fix import-beats: prepend module names to Kibana dashboards #322
Conversation
dev/import-beats/kibana.go
Outdated
data = replaceBlacklistedWords( | ||
replaceFieldEventDataStreamWithStreamDataStream( | ||
data)) | ||
data = prependModuleNameToDashboard(replaceBlacklistedWords( |
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.
The prependModuleNameToDashboard
function name confused me for a bit since we had already done that in the new code above. I had to read the function body to realize it was about updating the dashboard links. Consider renaming the function to be more explicit about what it does?
data = prependModuleNameToDashboard(replaceBlacklistedWords( | |
data = prependModuleNameToDashboardLinks(replaceBlacklistedWords( |
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.
You're right here. Rephrased.
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.
LGTM.
What does this PR do?
This PR fixes the migration script is to prepend modules names to Kibana dashboards.
Additionally:
event
function in templates (not used in initial migration).Checklist
Author's Checklist
How to test this PR locally
Related issues
Screenshots