ES|QL TO_BASE64 function Syntax × Parameters string A string. Description Encode a string to a base64 string. Supported types string result keyword keyword text keyword Example ROW a = "elastic" | EVAL e = TO_BASE64(a) a:keyword e:keyword elastic ZWxhc3RpYw==