Supports Expression Language: true (will be evaluated using Environment variables only)Local Network Interface | Local Network Interface | | | The name of a local network interface to be used to restrict listening to a specific LAN. Supports Expression Language: true (will be evaluated using Environment variables only) |
Socket Keep Alive | socket-keep-alive | false | | Whether or not to have TCP socket keep alive turned on. Timing details depend on operating system properties.
This Property is only considered if the [Protocol] Property has a value of "TCP". |
SSL Context Service | SSL Context Service | | Controller Service API: RestrictedSSLContextService Implementation: StandardRestrictedSSLContextService | The Controller Service to use in order to obtain an SSL Context. If this property is set, syslog messages will be received over a secure connection.
This Property is only considered if the [Protocol] Property has a value of "TCP". |
Client Auth | Client Auth | REQUIRED | | The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.
This Property is only considered if the [SSL Context Service] Property has a value specified. |
Receive Buffer Size | Receive Buffer Size | 65507 B | | The size of each buffer used to receive Syslog messages. Adjust this value appropriately based on the expected size of the incoming Syslog messages. When UDP is selected each buffer will hold one Syslog message. When TCP is selected messages are read from an incoming connection until the buffer is full, or the connection is closed. |
Max Size of Message Queue | Max Size of Message Queue | 10000 | | The maximum size of the internal queue used to buffer messages being transferred from the underlying channel to the processor. Setting this value higher allows more messages to be buffered in memory during surges of incoming messages, but increases the total memory used by the processor. |
Max Size of Socket Buffer | Max Size of Socket Buffer | 1 MB | | The maximum size of the socket buffer that should be used. This is a suggestion to the Operating System to indicate how big the socket buffer should be. If this value is set too low, the buffer may fill up before the data can be read, and incoming data will be dropped.
This Property is only considered if the [Protocol] Property has a value of "TCP". |
Max Number of TCP Connections | Max Number of TCP Connections | 2 | | The maximum number of concurrent connections to accept Syslog messages in TCP mode.
This Property is only considered if the [Protocol] Property has a value of "TCP". |
Max Batch Size | Max Batch Size | 1 | | The maximum number of Syslog events to add to a single FlowFile. If multiple events are available, they will be concatenated along with the <Message Delimiter> up to this configured maximum number of messages |
Message Delimiter | Message Delimiter | \n | | Specifies the delimiter to place between Syslog messages when multiple messages are bundled together (see <Max Batch Size> property). |
Parse Messages | Parse Messages | true | | Indicates if the processor should parse the Syslog messages. If set to false, each outgoing FlowFile will only contain the sender, protocol, and port, and no additional attributes. |
Character Set | Character Set | UTF-8 | | Specifies the character set of the Syslog messages. Note that Expression language is not evaluated per FlowFile. Supports Expression Language: true (will be evaluated using Environment variables only) |
Relationships:
Name | Description |
---|
success | Syslog messages that match one of the expected formats will be sent out this relationship as a FlowFile per message. |
invalid | Syslog messages that do not match one of the expected formats will be sent out this relationship as a FlowFile per message. |
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 or IP address 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. |
syslog.valid | An indicator of whether this message matched the expected formats. If this value is false, the other attributes will be empty and only the original message will be available in the content. |
syslog.protocol | The protocol over which the Syslog message was received. |
syslog.port | The port over which the Syslog message was received. |
mime.type | The mime.type of the FlowFile which will be text/plain for Syslog messages. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component does not allow an incoming relationship.System Resource Considerations:
None specified.See Also:
PutSyslog, ParseSyslog