RainerScript is rsyslog’s configuration language, including both built-in functions and module-provided functions such as those under functions/index.
RainerScript¶
RainerScript is a scripting language specifically designed and well-suited for processing network events and configuring event processors. It is the prime configuration language used for rsyslog. Please note that RainerScript may not be abbreviated as rscript, because that’s somebody else’s trademark.
Some limited RainerScript support is available since rsyslog 3.12.0 (for expression support). In v5, “if .. then” statements are supported. The first full implementation is available since rsyslog v6. Function support includes built-ins and module functions; see Functions for the full list. For quick access, review Built-in Functions and Module Functions.
- Data Types
- Expressions
- Functions
- Control Structures
- configuration objects
- Rsyslog Parameter String Constants
- Examples
- Variable (Property) types
- Lookup Tables
- General Queue Parameters
- The rsyslog “call” statement
- The rsyslog “call_indirect” statement
- global() configuration object
- The rsyslog include() object
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.