PutSyslog 2025.10.2.19

번들

org.apache.nifi | nifi-standard-nar

설명

Sends Syslog messages to a given host and port over TCP or UDP. Messages are constructed from the “Message ___” properties of the processor which can use expression language to generate messages from incoming FlowFiles. The properties are used to construct messages of the form: (<PRIORITY>)(VERSION )(TIMESTAMP) (HOSTNAME) (BODY) where version is optional. The constructed messages are checked against regular expressions for RFC5424 and RFC3164 formatted messages. The timestamp can be an RFC5424 timestamp with a format of “yyyy-MM-dd ‘T’HH:mm:ss. S ‘Z’” or “yyyy-MM-dd ‘T’HH:mm:ss. S+hh:mm”, or it can be an RFC3164 timestamp with a format of “MMM d HH:mm:ss”. If a message is constructed that does not form a valid Syslog message according to the above description, then it is routed to the invalid relationship. Valid messages are sent to the Syslog server and successes are routed to the success relationship, failures routed to the failure relationship.

태그

logs, put, syslog, tcp, udp

입력 요구 사항

REQUIRED

민감한 동적 속성 지원

false

속성

속성

설명

Batch Size

이 프로세서의 단일 실행에서 처리할 수신 FlowFiles 의 수입니다.

문자 세트

Syslog 메시지의 문자 세트를 지정합니다. 식 언어는 FlowFile 에 따라 평가되지 않습니다.

호스트 이름

Syslog 서버의 IP 주소 또는 호스트 이름입니다.

유휴 연결 만료

연결을 닫기 전에 연결을 사용하지 않고 열어 두어야 하는 시간입니다.

소켓 전송 버퍼의 최대 크기

사용해야 하는 소켓 전송 버퍼의 최대 크기입니다. 이것은 소켓 버퍼의 크기를 나타내는 운영 체제에 대한 제안입니다. 이 값을 너무 낮게 설정하면 데이터를 읽기 전에 버퍼가 가득 차서 수신 데이터가 삭제될 수 있습니다.

메시지 본문

Syslog 메시지의 본문입니다.

메시지 호스트 이름

Syslog 메시지의 호스트 이름입니다.

메시지 우선 순위

< >를 제외한 Syslog 메시지의 우선 순위입니다.

메시지 타임스탬프

The timestamp for the Syslog messages. The timestamp can be an RFC5424 timestamp with a format of “yyyy-MM-dd ‘T’HH:mm:ss. S ‘Z’” or “yyyy-MM-dd ‘T’HH:mm:ss. S+hh:mm”, “ or it can be an RFC3164 timestamp with a format of “MMM d HH:mm:ss”.

메시지 버전

Syslog 메시지에 대한 버전입니다.

Port

Syslog 통신을 위한 포트입니다. 식 언어는 FlowFile 에 따라 평가되지 않습니다.

프로토콜

Syslog 통신을 위한 프로토콜입니다.

SSL 컨텍스트 서비스

SSL 컨텍스트를 얻기 위해 사용할 컨트롤러 서비스입니다. 이 속성을 설정하면 Syslog 메시지가 보안 연결을 통해 전송됩니다.

Timeout

Syslog 서버에 연결하고 통신할 수 있는 시간 제한입니다. UDP 에는 적용되지 않습니다. 식 언어는 FlowFile 에 따라 평가되지 않습니다.

관계

이름

설명

실패

Syslog로 전송되지 않은 FlowFiles 은 이 관계에 따라 전송됩니다.

invalid

유효한 Syslog 메시지를 형성하지 않는 FlowFiles 은 이 관계에 따라 전송됩니다.

성공

Syslog로 성공적으로 전송된 FlowFiles 은 이 관계에 따라 전송됩니다.

참고 항목