Fluentd logging endpoint transcription to Loggly service. In addition to the standard fields container_id and container_name, it adds the following fields to the Loggly json record.
Requires Docker Engine 1.8+
docker run -d --name loggly \
-p 24224:24224 \
-e TOKEN:ABCD-1234-ABCD-1234 \
-e HOST:`hostname` \
-e LOGGLY_TAG:docker,container \
dataferret/fluentd-loggly
TOKEN [required] is the Loggly API token.
HOST [required] is required during creation for node_hostname to be populated.
LOGGLY_TAG [optional] by default is 'docker,container' and messages in Loggly will show up with both tags.
Note: By default, the fluentd log-driver in Docker will assume port 24224. Secure this port.
Test the loggly container.
docker run --rm --log-driver=fluentd ubuntu echo "Hello Fluentd!"
Content type
Image
Digest
sha256:398aaadf3…
Size
12.1 MB
Last updated
over 10 years ago
docker pull dataferret/fluentd-loggly