This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Decode duration
editDecode 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.
Example
editprocessors: - decode_duration: field: "app.rpc.cost" format: "milliseconds"
Configuration settings
editName | Required | Default | Description | |
---|---|---|---|---|
|
yes |
Which field of event needs to be decoded as |
||
|
yes |
|
Supported formats: |