Loading

ES|QL TO_BASE64 function

Encodes a string to a base64 string.

Embedded
string

A string.

Encode a string to a base64 string.

string result
keyword keyword
text keyword
ROW a = "elastic"
| EVAL e = TO_BASE64(a)
		
a:keyword e:keyword
elastic ZWxhc3RpYw==