Loading

ES|QL TO_LOWER function

Embedded
str

String expression. If null, the function returns null. The input can be a single-valued column or expression, or a multi-valued column or expression .

Returns a new string representing the input string converted to lower case.

str result
keyword keyword
text keyword
ROW message = "Some Text"
| EVAL message_lower = TO_LOWER(message)
		
message:keyword message_lower:keyword
Some Text some text

ROW v = TO_LOWER(["Some", "Text"])
		
v:keyword
["some", "text"]