File: mmrm1stspace.rst

package info (click to toggle)
rsyslog-doc 8.2302.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,464 kB
  • sloc: python: 178; makefile: 8
file content (30 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
mmrm1stspace: First Space Modification Module
=============================================

**Author:** Pascal Withopf <pascalwithopf1@gmail.com>

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.

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")