Ship a log to your Logz.io account
1.3K
#Logz.io Log Shipper This Docker image ships a log file to your Logz.io account, internally using rsyslog for shipping, without you having to worry about configuration.
#Usage ##Environment Variables In order to start collection you need to specify the following information. Variables in bold denote a mandatory variable:
##Host file mapping In order to ship a log file, it has to be mapped to the running container. This is performed with the -v option:
-v <log file to ship>:/host/file:ro
docker run -d \
-v /var/log/nginx/access.log:/host/file
-e LOGZ_TOKEN="QWERTYQWERTYQWERTYQ" \
-e TYPE=nginx \
-e HOSTNAME=`hostname` \
-e INSTANCE="10.1.2.3" \
--restart=always \
logzio/logzio-logshipper
#About Logz.io Logz.io combines open source log analytics and behavioural learning intelligence to pinpoint what’s actually important
Content type
Image
Digest
sha256:598eaca74…
Size
16 MB
Last updated
almost 11 years ago
docker pull logzio/logzio-logshipper