Skip to content

Commit

Permalink
Move heartbeat dashboards to monitors
Browse files Browse the repository at this point in the history
Apply decoding of dashboards also to Heartbeat. See elastic#7224 for more details.
  • Loading branch information
ruflin committed Jun 5, 2018
1 parent 9462a10 commit 341c7fa
Show file tree
Hide file tree
Showing 11 changed files with 713 additions and 134 deletions.
2 changes: 1 addition & 1 deletion heartbeat/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

heartbeat

_meta/kibana/*/index-pattern
_meta/kibana

build
/tests/load/logs
11 changes: 10 additions & 1 deletion heartbeat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ before-build:

# Collects all dependencies and then calls update
.PHONY: collect
collect: fields imports
collect: fields imports kibana

# Generate imports for all monitors
.PHONY: imports
Expand All @@ -27,3 +27,12 @@ imports: python-env
.PHONY: create-monitor
create-monitor:
go run scripts/generate_monitor/main.go -monitor=${MONITOR}

# Collects all module dashboards
.PHONY: kibana
kibana:
@rm -rf _meta/kibana
@mkdir -p _meta/kibana
@-cp -r monitors/active/*/_meta/kibana _meta/
@# Convert all dashboards to string
@python ${ES_BEATS}/libbeat/scripts/unpack_dashboards.py --glob="./_meta/kibana/6/dashboard/*.json"
132 changes: 0 additions & 132 deletions heartbeat/_meta/kibana/6/dashboard/Heartbeat-http-monitor.json

This file was deleted.

Loading

0 comments on commit 341c7fa

Please sign in to comment.