RainerScript is a scripting language designed for processing network events and configuring event processors such as [application]*rsyslog*. RainerScript was first used to define expression-based filters, see xref:Viewing_and_Managing_Log_Files.adoc#ex-expression-based_filters[Expression-based Filters]. The version of RainerScript in rsyslog version 7 implemented the `input()` and `ruleset()` statements, which permit the `/etc/rsyslog.conf` configuration file to be written in the new syntax. The new syntax differs mainly in that it is much more structured; parameters are passed as arguments to statements, such as input, action, template, and module load. The scope of options is limited by blocks. This enhances readability and reduces the number of bugs caused by misconfiguration. There is also a significant performance gain. Some functionality is exposed in both syntaxes, some only in the new one.
RainerScript is a scripting language designed for processing network events and configuring event processors such as [application]*rsyslog*. RainerScript was first used to define expression-based filters, see xref:Viewing_and_Managing_Log_Files.adoc#ex-expression-based_filters[Expression-based Filters]. The version of RainerScript in rsyslog version 7 implemented the `input()` and `ruleset()` statements, which permit the `/etc/rsyslog.conf` configuration file to be written in the new syntax. The new syntax differs mainly in that it is much more structured; parameters are passed as arguments to statements, such as input, action, template, and module load. The scope of options is limited by blocks. This enhances readability and reduces the number of bugs caused by misconfiguration. There is also a significant performance gain. Some functionality is exposed in both syntaxes, some only in the new one.