Skip to main content
Version: Next

Input: udp

Listen for incoming UDP connections

The result is the same fields as with tcp without plain: true

  • _raw the data
  • source_ip
  • source_port
  • received_time
  • receiver_port
  • protocol "UDP"

Field Summary

Field NameTypeDescriptionDefault
addressstringBind address-
encodingencodingThe text incoding for incoming dataUTF-8
max-sizeintegerThe maximum datagram size to be parsed-

Fields

address

Type: string

Bind address

Example

Pipe Language Snippet:

udp:
address: 127.0.0.1:8000

encoding

Type: encoding

Default: UTF-8

The text incoding for incoming data

max-size

Type: integer

The maximum datagram size to be parsed