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
- Host: GitHub
- URL: https://github.com/aguslr/docker-rsyslog
- Owner: aguslr
- License: gpl-3.0
- Created: 2023-04-28T15:00:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T10:13:44.000Z (about 2 years ago)
- Last Synced: 2025-03-24T02:11:29.072Z (about 1 year ago)
- Topics: docker, logrotate, podman, rsyslog, rsyslogd, syslog
- Language: Dockerfile
- Homepage:
- Size: 45.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[aguslr/docker-rsyslog][1]
==========================
[](https://hub.docker.com/r/aguslr/rsyslog) [](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/