STATUS: this project is being sunset. See #75
CLI for sending individual events in to Honeycomb
If you have a working go environment in your build, the easiest way to install honeyvent
is via go get
.
go get github.com/honeycombio/honeyvent/
If you're using go 1.17 or greater you should use go install
instead, since go get
is deprecated.
go install github.com/honeycombio/honeyvent@latest
Call with a collection of names and values to send an event from the command line:
honeyvent -k <writekey> -d <dataset> -n field -v val -n field -v val ...
If you are targeting a local instance of Honeycomb, use the api_host
parameter, e.g: --api_host=http://localhost:8888
The tool will detect floats and ints and send them as numbers; everything else turns in to strings. Quote any values that have spaces.