Description:

Parses the contents of a Syslog message and adds attributes to the FlowFile for each of the parts of the Syslog message

Tags:

logs, syslog, attributes, system, event, message

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Name Default Value Allowable Values Description
Character Set UTF-8 Specifies which character set of the Syslog messages

Relationships:

Name Description
failure Any FlowFile that could not be parsed as a Syslog message will be transferred to this Relationship without any attributes being added
success Any FlowFile that is successfully parsed as a Syslog message will be to this Relationship.

Reads Attributes:

None specified.

Writes Attributes:

Name Description
syslog.priority The priority of the Syslog message.
syslog.severity The severity of the Syslog message derived from the priority.
syslog.facility The facility of the Syslog message derived from the priority.
syslog.version The optional version from the Syslog message.
syslog.timestamp The timestamp of the Syslog message.
syslog.hostname The hostname of the Syslog message.
syslog.sender The hostname of the Syslog server that sent the message.
syslog.body The body of the Syslog message, everything after the hostname.

See Also:

ListenSyslog, PutSyslog