github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/docs/operators/time_parser.md (about)

     1  ## `time_parser` operator
     2  
     3  The `time_parser` operator sets the timestamp on an entry by parsing a value from the record.
     4  
     5  ### Configuration Fields
     6  
     7  | Field         | Default    | Description                                                                                     |
     8  | ---           | ---        | ---                                                                                             |
     9  | `id`          | required   | A unique identifier for the operator                                                            |
    10  | `output`      | required   | The connected operator(s) that will receive all outbound entries                                |
    11  | `parse_from`  | required   | A [field](/docs/types/field.md) that indicates the field to be parsed as JSON                   |
    12  | `layout_type` | `strptime` | The type of timestamp. Valid values are `strptime`, `gotime`, and `epoch`                       |
    13  | `layout`      | required   | The exact layout of the timestamp to be parsed                                                  |
    14  | `preserve`    | false      | Preserve the unparsed value on the record                                                       |
    15  | `on_error`    | `send`     | The behavior of the operator if it encounters an error. See [on_error](/docs/types/on_error.md) |
    16  
    17  
    18  ### Example Configurations
    19  
    20  Several detailed examples are available [here](/docs/types/timestamp.md).