youtubebeat/vendor/github.com/elastic/beats/heartbeat
2018-11-18 11:08:38 +01:00
..
_meta Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
beater Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
cmd Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
config Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
docs Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
hbtest Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
include Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
look Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
monitors Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
reason Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
scheduler Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
scripts Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
tests Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
watcher Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
.gitignore Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
docker-compose.yml Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
Dockerfile Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
heartbeat.reference.yml Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
heartbeat.yml Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
magefile.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
main.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
main_test.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
make.bat Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
Makefile Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
README.md Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
TODO.md Add generated youtubebeat files 2018-11-18 11:08:38 +01:00

Heartbeat (Experimental)

Welcome to Heartbeat.

This is a new EXPERIMENTAL beat for testing service availability using PING based on ICMP, TCP or higher level protocols.

Ensure that this folder is at the following location: ${GOPATH}/src/github.com/elastic/beats

Getting Started with Heartbeat

Requirements

Build

To build the binary for Heartbeat run the command below. This will generate a binary in the same directory with the name heartbeat.

make

Run

To run Heartbeat with debugging output enabled, run:

./heartbeat -c heartbeat.yml -e -d "*"

Update

Each beat has a template for the mapping in elasticsearch and a documentation for the fields which is automatically generated based on fields.yml.

make update

Cleanup

To clean Heartbeat source code, run the following commands:

make fmt
make simplify

To clean up the build directory and generated artifacts, run:

make clean