icingabeat/vendor/github.com/elastic/beats/heartbeat
Blerim Sheqa e3b04a53ad Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
..
_meta Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
beater Update to libbeat 5.2.2 2017-03-15 09:54:31 +01:00
config Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
docs Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
look Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
monitors Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
reason Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
scheduler Update to libbeat 5.2.2 2017-03-15 09:54:31 +01:00
tests/system Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
watcher Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
.gitignore Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
Makefile Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
README.md Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
TODO.md Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
fields.yml Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
heartbeat.full.yml Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
heartbeat.template-es2x.json Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
heartbeat.template.json Update to libbeat 5.3.0 2017-04-18 14:08:57 +02:00
heartbeat.yml Update to libbeat 5.2.2 2017-03-15 09:54:31 +01:00
main.go Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00
main_test.go Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00

README.md

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}/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 etc/fields.yml. To generate etc/heartbeat.template.json and etc/heartbeat.asciidoc

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