The User Datagram Protocol (UDP) is a connection-less protocol to send messages on an IP network. Tenzir supports writing to and reading from UDP sockets, both in server (listening) and client (connect) mode.
Use the IP address 0.0.0.0 to listen on all available network interfaces.
Examples
Section titled “Examples”Use from_udp to receive UDP datagrams as
structured events containing message data and peer information. For sending, use
save_udp with a write operator.
Receive syslog messages over UDP
Section titled “Receive syslog messages over UDP”from_udp "0.0.0.0:514"this = data.parse_syslog()Send events to a UDP socket
Section titled “Send events to a UDP socket”from {message: "Tenzir"}write_ndjsonsave_udp "1.2.3.4:8080"