Simplify dashboard handling for developers #1109
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All dashboards from beats-dashboards were moved to their specific beats.
Two new functions were introduced in the Makefile to manage import / export of the files from Kibana:
make kibana-export
make kibana-import
If
KIBANA_ES
is not running on localhost, KIBANA_ES has to be overwritten. Be aware that the current implementation is to simplify development of dashboards an is not intended to serve yet for the deployment of dashboards of the users. This should be implemented in a second step.General and reusable dashboard components were moved to libbeat. These should be in a second step automatically move to each beat when running
make update
similar to what is done withlibbeat.yml
.Further:
make beats-dashboards
to generate dashboards for https://github.com/elastic/beats-dashboards repomake kibana
to metricbeat to collect kibana files from modulesCurrently I'm not happy with the naming of etc/kibana but we should move forward with this and find a better solution on the way.
This change is also needed for Metricbeat where the dashboards will be part of each module. This can potentially also be used for packetbeat modules.