This operation is used to encode data into a Base64 string. Base64 is a binary-to-text encoding method commonly used to encode binary data (like images or files) into text that can be easily transmitted over text-based protocols such as email, JSON, or XML. It’s also used for data storage, ensuring the data remains ASCII-safe.
These are the input/output expected data types for this operation:
- The string you want to encode.
- Resulting Base64 string.
Suppose you want to encode a series of events into Base64:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose To Base64.
Give your Output field a name and click Save. The values in your input field will be encoded. 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.