Sign inSign up

xosadmin/rsyslog-mysql

By xosadmin

Updated almost 2 years ago

A container of Rsyslog that save data to MySQL/MariaDB

Image
Operating systems
0

3.4K

xosadmin/rsyslog-mysql repository overview

Docker-rsyslog-mysql

A container of Rsyslog that save data to MySQL/MariaDB.

Usage

Before run this docker, a Mysql/MariaDB database is required. The db.sql in the repository could be used to structure the table.

To run the docker image from Docker Hub, using following command:
docker run -d --name rsyslog-mysql \ --restart=always \ -e MYSQL_HOST="mariadb_host" \ -e MYSQL_DBNAME="syslog" \ -e MYSQL_USER="rsyslog_user" \ -e MYSQL_PASSWORD="password" \ -p 514:514/udp -p 514:514/tcp xosadmin/rsyslog-mysql

To use custom rsyslog.conf, map your rsyslog.conf on host to /etc/rsyslog.conf (i.e. -v /path/to/rsyslog.conf:/etc/rsyslog.conf).

Note: MySQL login credentials are required.

Tag summary

Content type

Image

Digest

sha256:3da1963ec

Size

78.3 MB

Last updated

almost 2 years ago

docker pull xosadmin/rsyslog-mysql