# parse-binary Decode `event.payload` from a base64-encoded string to a text string using the specified `encoding`. The output event has `{payload: string}` with the decoded value. Events with no `payload` field are dropped. ## Config **Required:** - `encoding`: One of `utf8`, `ascii`, or `base64` - `utf8`: Decode base64 → UTF-8 string (drops event on invalid UTF-8) - `ascii`: Decode base64 → ASCII string, replacing non-ASCII bytes with `?` - `base64`: Passthrough — payload is already a base64 string, emitted unchanged ## Example ```yaml pipeline: parse-binary: config: encoding: utf8 ```