Skip to content

Simple rsyslog Docker image optimized for parsing and forwarding logs

License

Notifications You must be signed in to change notification settings

jabenninghoff/rsyslog-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsyslog-forwarder

Build Status

Simple rsyslog Docker image optimized for parsing and forwarding logs

Uses

Launch to echo logs received by syslog (514/udp) to stdout: docker run --rm -it -p 514:514/udp --name forwarder jbenninghoff/rsyslog-forwarder

Use docker-compose to standardize syslog messages using syslog parsing:

Copy the default files:

mkdir ~/forwarder
cd ~/forwarder
wget https://raw.githubusercontent.com/jabenninghoff/rsyslog-forwarder/master/etc/rsyslog.conf

Create a docker-compose.yml file:

version: '3'
services:
  forwarder:
    image: jbenninghoff/rsyslog-forwarder
    volumes:
      - ~/forwarder/rsyslog.conf:/etc/rsyslog.conf
    ports:
      - 514:514/udp
      - 10514:10514/tcp

About

Simple rsyslog Docker image optimized for parsing and forwarding logs

Resources

License

Stars

Watchers

Forks

Packages

No packages published