Skip to content

rsyslogd

Daniel Hiepler edited this page Aug 24, 2023 · 13 revisions

/bootstrap-plugins/rsyslogd - configure remote logging

Config parameters

Name Description Default Value
RPI_RSYSLOGD_TARGET target syslog server 127.0.0.1
RPI_RSYSLOGD_PORT target port 55514
RPI_RSYSLOGD_LOCAL enable/disable local logfiles false
RPI_RSYSLOGD_PROTOCOL network protocol tcp
RPI_RSYSLOGD_RESUME_RETRY_COUNT amount of resume retries 100
RPI_RSYSLOGD_QUEUE_TYPE message queue type linkedList
RPI_RSYSLOGD_QUEUE_SIZE message queue size 10000

Distfiles

  • /etc/rsyslog.conf
  • /etc/rsyslog.d/*

Examples

RPI_BOOTSTRAP_PLUGINS+=("rsyslogd") to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "rsyslogd" ... ) to place at some position in the current list.

enable pi remote logging to localhost (tunnel) with default settings

RPI_RSYSLOGD_TARGET="127.0.0.1"
RPI_RSYSLOGD_TYPE="omfwd"
RPI_RSYSLOGD_PORT="55514"
RPI_RSYSLOGD_LOCAL="false"
RPI_RSYSLOGD_PROTOCOL="tcp"
RPI_RSYSLOGD_RESUME_RETRY_COUNT="100"
RPI_RSYSLOGD_QUEUE_TYPE="linkedList"
RPI_RSYSLOGD_QUEUE_SIZE="10000"

Tests

TODO

Clone this wiki locally