udp
Send data to a UDP server
Field Name | Description | Type | Default |
---|---|---|---|
address | Destination UDP address | string | - |
input-field | A field from where data is to be read, meaning JSON is assumed | field | - |
retry | For operations that could potentially fail | - | - |
address
Destination UDP address
Type: string
Example
action:
udp:
address: 127.0.0.1:8000
input-field
A field from where data is to be read, meaning JSON is assumed
Otherwise the whole event is sent
Type: field
Example
action:
udp:
address: 127.0.0.1:8000
input-field: one
retry
For operations that could potentially fail
Field Name | Description | Type | Default |
---|---|---|---|
count | How many attempts to make before declaring failure | integer | - |
pause | How long to pause before re-trying | duration | - |
forever | keep trying until success is declared | bool | false |
count
How many attempts to make before declaring failure
Type: integer
Example
action:
exec:
command: echo 'one two'
retry:
count: 1
output:
{"_raw":"one two"}
pause
How long to pause before re-trying
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)
Type: duration
Example
action:
exec:
command: echo 'one two'
retry:
count: 6
pause: 10s
output:
{"_raw":"one two"}
forever
keep trying until success is declared
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)
Type: bool
Example
action:
exec:
command: echo 'one two'
retry:
forever: true
output:
{"_raw":"one two"}