Convert Distance
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation converts values between different units of length or distance.
These are the input/output expected data types for this operation:
- Values whose unit of length you want to transform. They must be strings representing numbers.
- Resulting values after transforming them to the selected unit of length.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Suppose you want to convert a series of events from meters into yards:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Convert distance.
Set Input units to Metres (m)
.
Set Output units to Yards (yd)
.
Give your Output field a name and click Save. The unit of length of the values in your input field will be transformed. For example:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.