Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.31 KB

UdpInput.md

File metadata and controls

31 lines (26 loc) · 1.31 KB

Input: Udp

The Udp input will open a port and listen for properly formatted UDP datagrams to be broadcast.

Parameters

The following parameters are allowed when configuring the Udp input.

Parameter Type Description Details Default
add_field property:array Add field(s) to this event. Field names can be dynamic and include parts of the event using the %{field} syntax. This property must be specified in pairs.
port integer Port number to open Must be an available port
rename property:array Rename one or more fields
type string Typename for this Input Win32-Udp

Example Input: Listen on Port 5142

{
    "TimberWinR": {
        "Inputs": {
            "Udp": [
                {
                    "port": 5142                
                }
            ]
		}
	}
}

Fields

A field: "type": "Win32-Udp" is automatically appended, and the entire JSON is passed on vertabim.