Public | Automated Build

Last pushed: 3 months ago
Short Description
Sematext Logagent in a docker container
Full Description

The Logagent docker container can be configured through the following environment variables:

Run a container:
The following example enables UDP syslog receiver and ships all log files from /var/log to Sematext Cloud (US).
Simply mount the log file directory into Logagent container and provide a glob pattern to match the log files to watch.

docker run -d --name logagent \
-v /var/log:/mylogs \
-p 1514:514 \
-e LOG_URL= \
-e LOG_GLOB="/mylogs/**/.log" \
-e LA_ARGUMENTS="-u 514" \
Docker Pull Command
Source Repository