Byte to Human Readable
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation converts a size in bytes into a more human-friendly format, such as kilobytes (KB), megabytes (MB), gigabytes (GB), and so on. This operation is especially useful for interpreting file sizes or data storage values.
These are the input/output expected data types for this operation:
- Sizes in bytes to be transformed. They must be strings that represent integer numbers.
- Resulting human-readable strings.
Suppose you want to convert a series of events that represent sizes in bytes into human-readable strings:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Byte to Human Readable.
Give your Output field a name and click Save. The byte sizes in your input field will be transformed into human-readable strings. 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.