Configuration

This section is the reference manual for configuring rsyslog. It covers all major configuration concepts, modules, and directives needed to build robust logging infrastructures — from simple setups to complex log processing pipelines.

rsyslog’s primary configuration file is located at: /etc/rsyslog.conf

Additional configuration snippets are commonly placed in: /etc/rsyslog.d/*.conf

Within these files, you define: - Input modules (where logs come from) - Filters and parsers (how logs are processed) - Actions (where logs are sent) - Global directives (overall behavior and performance tuning)

The topics listed below provide a complete guide to rsyslog configuration.

Additional Resources

Compatibility Note

rsyslog retains partial configuration compatibility with traditional BSD-style syslogd, which can be helpful when migrating from older implementations (e.g., on Solaris or AIX). On modern Linux systems, native rsyslog configuration formats (especially RainerScript) are recommended and provide access to all advanced features.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.