if filter

Encasing of control structures

When using control structures to create some case filtering, there are some things to consider when formatting this. In general, a control structure can be as simple as this: if $msg contains “word” then action() else action() While this is correct and will work as expected, it is generally better style to encase expressions and […]

Newbie guide to rsyslog

Written by Jan Gerhards Here are some different guides for people, who never worked with rsyslog. First I’ll explain, how to install rsyslog. Besides, I will explain how to install some packages, which you will need to install rsyslog. There are two important ones and some minor ones. After that, I will show how to […]

Scroll to top