IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Decode duration
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Decode duration
editThe decode_duration processor decodes a Go-style duration string into a specific format.
For more information about the Go time.Duration string style, refer to the Go documentation.
Table 2. Decode-Duration options
| Name | Required | Default | Description | |
|---|---|---|---|---|
|
yes |
Which field of event needs to be decoded as |
||
|
yes |
|
Supported formats: |
processors:
- decode_duration:
field: "app.rpc.cost"
format: "milliseconds"