RSyslog Documentation

mmrm1stspace: First Space Modification Module

Author: Pascal Withopf <>

In rfc3164 the msg begins at the first letter after the tag. It is often the case that this is a unnecessary space. This module removes this first character if it is a space.

Configuration Parameters

Note: parameter names are case-insensitive.

Currently none.


This example receives messages over imtcp and modifies them, before sending them to a file.

input(type="imtcp" port="13514")
action(type="omfile" file="output.log")

See also

Help with configuring/using Rsyslog:

  • Mailing list - best route for general questions
  • GitHub: rsyslog source project - detailed questions, reporting issues that are believed to be bugs with Rsyslog
  • Stack Exchange (View, Ask) - experimental support from rsyslog community

See also

Contributing to Rsyslog:

Copyright 2008-2020 Rainer Gerhards (Großrinderfeld), and Others.

Scroll to top