The Udp input will open a port and listen for properly formatted UDP datagrams to be broadcast.
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
}
]
}
}
}
A field: "type": "Win32-Udp" is automatically appended, and the entire JSON is passed on vertabim.