mmrm1stspace: First Space Modification Module¶
Module Name: |
mmrm1stspace |
Author: |
Pascal Withopf <pascalwithopf1@gmail.com> |
Purpose¶
In rfc3164 the msg begins at the first letter after the tag. It is often the case that this is an unnecessary space. This module removes this first character if it is a space.
Configuration Parameters¶
Currently none.
Examples¶
This example receives messages over imtcp and modifies them, before sending them to a file.
module(load="imtcp")
module(load="mmrm1stspace")
input(type="imtcp" port="13514")
action(type="mmrm1stspace")
action(type="omfile" file="output.log")
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.