The rsyslogd server in a small footprint.
10K+
Run your central rsyslog in a high-availability container on top of shared storage. Then send all that into Splunk or wherever.
Why is this image customized? I couldn't find a stock Docker rsyslogd image that includes logrotate. This also includes the rsyslog-mysql module, which you can use to send logs to a database.
Set up a load balancer with your desired port number and aim it at this. Put your /etc/rsyslog.d and /etc/logrotate.d customizations into read-only volume mounts. Map /var/log to a persistent volume if you want to preserve it. There's really not much to this.
Example kubernetes and docker-compose resource definition files are provided here along with a helm chart. This repo has complete instructions for building a kubernetes cluster where you can launch with helm or kubernetes.yaml using make and customizing Makefile.vars after cloning this repo:
git clone https://github.com/instantlinux/docker-tools.git
cd docker-tools/k8s
make rsyslogd
| Variable | Default | Description |
|---|---|---|
| TZ | UTC | timezone |
Most configuration is done via config file; see the ConfigMap defined in kubernetes.yaml.
If you want to make improvements to this image, see CONTRIBUTING.
Content type
Image
Digest
sha256:4723e63c5…
Size
7.6 MB
Last updated
18 days ago
docker pull instantlinux/rsyslogd