separator

Sets the character that separates fields when mmfields extracts them.

This parameter applies to Fields Extraction Module (mmfields).

Name:

separator

Scope:

input

Type:

char

Default:

,

Required?:

no

Introduced:

7.5.1

Description

This parameter specifies the character used to separate fields. The module currently accepts only a single character. Multi-character separators are not supported by mmfields but can be implemented via the RainerScript method. CEF does not require multi-character separators, so this limitation is usually acceptable. If you need multi-character separators in mmfields, please request this feature on the rsyslog mailing list and describe the use case; support can be added when there is a documented requirement.

The fields are named fnbr, where nbr is the field number starting with one and being incremented for each field.

Input usage

module(load="mmfields")
action(type="mmfields" separator=",")

See also

This parameter is part of the Fields Extraction Module (mmfields) module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.