forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Heartbeat] Fix packaging (elastic#20566)
* Heartbeat packaging fixes There were a few issues with the package target for x-pack/heartbeat. * There are no integTests setup in x-pack/heartbeat * Add make files
- Loading branch information
1 parent
2af2237
commit 2dd4360
Showing
10 changed files
with
1,953 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ES_BEATS ?= ../.. | ||
|
||
include $(ES_BEATS)/dev-tools/make/mage.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Define a directory to load monitor definitions from. Definitions take the form | ||
# of individual yaml files. | ||
heartbeat.config.monitors: | ||
# Directory + glob pattern to search for configuration files | ||
path: ${path.config}/monitors.d/*.yml | ||
# If enabled, heartbeat will periodically check the config.monitors path for changes | ||
reload.enabled: false | ||
# How often to check for changes | ||
reload.period: 5s | ||
|
||
|
||
heartbeat.monitors: | ||
- type: http | ||
schedule: '@every 5s' | ||
urls: | ||
- http://elasticsearch:9200 | ||
- http://kibana:5601 | ||
|
||
- type: icmp | ||
schedule: '@every 5s' | ||
hosts: | ||
- elasticsearch | ||
- kibana | ||
|
||
processors: | ||
- add_cloud_metadata: ~ | ||
- add_docker_metadata: ~ | ||
|
||
output.elasticsearch: | ||
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch:9200}' | ||
username: '${ELASTICSEARCH_USERNAME:}' | ||
password: '${ELASTICSEARCH_PASSWORD:}' |
Oops, something went wrong.