Closed
Description
Component(s)
pkg/ottl
Is your feature request related to a problem? Please describe.
Log receivers can output raw bytes (See Azure Event Hub). OTTL does not have the ability to parse these bytes into something human readable.
Describe the solution you'd like
A functionality similar to pkg/stanza/decode, which can take string or []byte input, and output it in a human readable format using a configured encoding (ascii, utf-8, etc).
Describe alternatives you've considered
- OTTL String function outputs Hexidecimal
- OTTL Base64Decode function is close (for the azure usecase) but cannot read []byte
Additional context
No response