Loading

ES|QL FROM_BASE64 function

Decodes a base64 string.

Embedded
string

A base64 string.

Decode a base64 string.

Returns null and adds a warning header to the response if the decoded bytes are not well-formed UTF-8.

string result
keyword keyword
text keyword
ROW a = "ZWxhc3RpYw=="
| EVAL d = FROM_BASE64(a)
		
a:keyword d:keyword
ZWxhc3RpYw== elastic