Convert Data Units
Description
This operation converts values between different units of digital data, such as bits, bytes, kilobytes, megabytes, and so on. It’s especially useful when you’re dealing with data storage or transfer rates and you need to switch between binary (base 2) and decimal (base 10) units.
Data types
These are the input/output expected data types for this operation:
Input data
- Values whose unit of data you want to transform. They must be strings representing numbers.
Output data
- Resulting values after transforming them to the selected unit of data.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Example
Suppose you want to convert a series of events from megabits into kilobytes:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Convert data units.
Set Input units to
Megabits (Mb)
.Set Output units to
Kilobytes (KB)
.Give your Output field a name and click Save. The data type of the values in your input field will be transformed. For example:
2 Megabits (Mb) -> 250 Kilobytes (KB)
Last updated
Was this helpful?