To hex
Description
This operation is used to convert a string to a hexadecimal code. Hexadecimal encoding is often used to represent binary data in a readable, ASCII-compatible format.
Data types
These are the input/output expected data types for this operation:
Input data
- Strings you want to encode.
Output data
- Resulting hexadecimal codes.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Example
Suppose you want to encode a series of events into hexadecimal-encoded data:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose To Hex.
Set Delimiter to
Space
.Set Bytes per line to
0
.Give your Output field a name and click Save. The values in your input field will be encoded. For example:
Hello World! -> 48 65 6c 6c 6f 20 57 6f 72 6c 64
Last updated
Was this helpful?