rtbeat

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

Rtbeat

Rtbeat processes HTTP POST data from rxtx and publishes events into

Rtbeat Development

Requirements
Clone

To clone Rtbeat from the git repository, run the following commands:

mkdir -p ${GOPATH}/src/github.com/cjimti/rtbeat
git clone https://github.com/cjimti/rtbeat ${GOPATH}/src/github.com/cjimti/rtbeat

For further development, check out the beat developer guide.

Build

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

make
Run

To run Rtbeat with debugging output enabled, run:

./rtbeat -c rtbeat.yml -e -d "*"
Test

To test Rtbeat, run the following command:

make testsuite

alternatively:

make unit-tests
make system-tests
make integration-tests
make coverage-report

The test coverage is reported in the folder ./build/coverage/

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 by running the following command.

make update
Cleanup

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

make clean

Packaging

The beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires docker and vendoring as described above. To build packages of the rt beat, run the following command:

make package

This will fetch and create all images required for the build process. The whole process to finish can take several minutes.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL