Log forwarder for aggregating allocation logs from nomad worker agents
518
Log forwarder for aggregating allocation logs from nomad worker agents.
Run the application on each worker in a nomad cluster.
docker pull sas1024/nomad_follower:latest
docker run -v log_folder:/log -e LOG_TAG="logging" "-e LOG_FILE="/log/nomad-forwarder.log" sas1024/nomad_follower:latest
nomad_follower:
nomad_follower (can be changed with LOG_TAG environment variable) on the worker and tail the allocation logs to the aggregate log file.message key.service_name key that contains the listed service names for a task.Using nomad_follower prevents the cluster operator from having to run a log collector in every task group for every task on a worker while still allowing nomad to handle the logs for each allocation.
Content type
Image
Digest
Size
7.5 MB
Last updated
almost 6 years ago
docker pull sas1024/nomad_follower