Mozilla Heka in a docker container
You will need to clone this repo and modify the config.toml file in the root of the project. To your specifications. Then build the docker container.
Or you can mount your custom config.toml
file to /app/config.toml
, like this:
docker run -d -v /path/to/my/config.toml:/app/config.toml:ro ianneub/heka
This docker image contains the following Heka plugins:
The button above will launch a heka container on your node running on Tutum and listening on port 4881
. You can then test the container by hitting it with curl:
curl -XPOST 'http://heka.testing.ianneub.svc.tutum.io:4881/' -d 'asdf=1234'
Replace heka.testing.ianneub.svc.tutum.io
with the hostname of your node on Tutum. You can find this hostname in the servcie dashboard on Tutum.
Then watch the log files of the container on Tutum to see the log entries!