Time processing: parsing and formatting time values.
Field | Type | Required | Description |
---|
description | string | | describe this step. |
condition | lua-expression (string ) | | Only run this action if the specified condition is met. |
input-field | event-field (string ) | | Field that provides an input time. If not provided, use current time. |
output-field | event-field (string ) | | Field to contain time as a string. |
input-timezone | string | | If input is provided, this is its timezone. |
output-timezone | iana-timezone (string ) | | Timezone for output time. |
input-format | time-format (string ) | | Time format for input time, if provided. |
input-formats | string | | Multiple input time formats which will be tried in turn for conversion. |
output-format | time-format (string ) | | Time Format for output time. Default is “%Y-%m-%dT%H:%M:%S%.3fZ”. |
time-range-conditions | Time Range Conditions | | Describe how special time ranges are interpreted. |
local | Local | | Treat the following fields as using the local timezone, if none are specified the utc timezone is assumed. |
delta | time:delta | | Add or subtracts specified amount of time to the timestamp (now is used if input-field is not specified). |
zero-time | boolean (bool ) | | Set the time component of the output time to 00:00:00.000. |
suppress-warnings | boolean (bool ) | | Suppress warnings generated by this action. |
Field | Type | Required | Description |
---|
times | string | ✅ | . |
output-fields | object | | . |
time-range-output | object | | . |
Value | Name | Description |
---|
input | input | Input |
output | output | Output |
both | both | Both |
utc | utc | Utc |