An open API service indexing awesome lists of open source software.

https://github.com/aguslr/docker-rsyslog

Set up Rsyslog to receive logs over the network
https://github.com/aguslr/docker-rsyslog

docker logrotate podman rsyslog rsyslogd syslog

Last synced: about 1 year ago
JSON representation

Set up Rsyslog to receive logs over the network

Awesome Lists containing this project

README

          

[aguslr/docker-rsyslog][1]
==========================

[![docker-pulls](https://img.shields.io/docker/pulls/aguslr/rsyslog)](https://hub.docker.com/r/aguslr/rsyslog) [![image-size](https://img.shields.io/docker/image-size/aguslr/rsyslog/latest)](https://hub.docker.com/r/aguslr/rsyslog)

This *Docker* image sets up *Rsyslog* inside a docker container.

> **[Rsyslog][2]** is a multi-threaded implementation of syslogd (a system
> utility providing support for message logging).

Installation
------------

To use *docker-rsyslog*, follow these steps:

1. Clone and start the container:

docker run -p 514:514 \
-v "${PWD}"/logs:/var/log docker.io/aguslr/rsyslog:latest

2. Configure your logging systems to save to your *Rsyslog* server's IP address
on port `514`.

Build locally
-------------

Instead of pulling the image from a remote repository, you can build it locally:

1. Clone the repository:

git clone https://github.com/aguslr/docker-rsyslog.git

2. Change into the newly created directory and use `docker-compose` to build and
launch the container:

cd docker-rsyslog && docker-compose up --build -d

[1]: https://github.com/aguslr/docker-rsyslog
[2]: https://www.rsyslog.com/