ParseSyslog 2025.10.9.21

Bundle

org.apache.nifi | nifi-standard-nar

Description

Attempts to parses the contents of a Syslog message in accordance to RFC5424 and RFC3164 formats and adds attributes to the FlowFile for each of the parts of the Syslog message. Note: Be mindfull that RFC3164 is informational and a wide range of different implementations are present in the wild. If messages fail parsing, considering using RFC5424 or using a generic parsing processors such as ExtractGrok.

Tags

attributes, event, logs, message, syslog, system

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Character SetSpecifies which character set of the Syslog messages

Relationships

NameDescription
failureAny FlowFile that could not be parsed as a Syslog message will be transferred to this Relationship without any attributes being added
successAny FlowFile that is successfully parsed as a Syslog message will be to this Relationship.

Writes attributes

NameDescription
syslog.priorityThe priority of the Syslog message.
syslog.severityThe severity of the Syslog message derived from the priority.
syslog.facilityThe facility of the Syslog message derived from the priority.
syslog.versionThe optional version from the Syslog message.
syslog.timestampThe timestamp of the Syslog message.
syslog.hostnameThe hostname or IP address of the Syslog message.
syslog.senderThe hostname of the Syslog server that sent the message.
syslog.bodyThe body of the Syslog message, everything after the hostname.

See also