GitXplorerGitXplorer
m

httppollerbeat

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
dcbf5f123a8e6b1adf18159a00e9726422487331

Merge pull request #1 from mmatur/rewrite-beat

mmmatur committed 7 years ago
Verified
d8e8bed08bb779bb849018006f20d48073e9d696

chore: rewrite beat

mmmatur committed 7 years ago
Verified
2907cb70e601479dbce25aa3e5130681fad8e44c

Increase minor version for next release

mmmatur committed 8 years ago
Verified
eb609dd60052333bbc321b1b51794d7937410673

Disable snapshot in Makefile to avoid double SNAPSHOT in version

mmmatur committed 8 years ago
Verified
9f9a89a36dc92574361aaf5babcf38d3e98e9a1a

Remove build on osx on travis

mmmatur committed 8 years ago
Verified
9226aa0b92210d41a278728e5b114e625c4a8bf6

Update template

mmmatur committed 8 years ago

README

The README file for this repository.

Httppollerbeat

Welcome to Httppollerbeat.

Ensure that this folder is at the following location: ${GOPATH}/github.com/mmatur/httppollerbeat

Getting Started with Httppollerbeat

Requirements

Init Project

To get running with Httppollerbeat and also install the dependencies, run the following command:

make setup

It will create a clean git history for each major step. Note that you can always rewrite the history if you wish before pushing your changes.

To push Httppollerbeat in the git repository, run the following commands:

git remote set-url origin https://github.com/mmatur/httppollerbeat
git push origin master

For further development, check out the beat developer guide.

Build

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

make

Run

To run Httppollerbeat with debugging output enabled, run:

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

Test

To test Httppollerbeat, 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 etc/fields.yml. To generate etc/httppollerbeat.template.json and etc/httppollerbeat.asciidoc

make update

Cleanup

To clean Httppollerbeat source code, run the following commands:

make fmt
make simplify

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

make clean

Clone

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

mkdir -p ${GOPATH}/github.com/mmatur/httppollerbeat
cd ${GOPATH}/github.com/mmatur/httppollerbeat
git clone https://github.com/mmatur/httppollerbeat

For further development, check out the beat developer guide.

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 your beat, run the following command:

make package

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