Skip to content

endsWith

The endsWith function returns true if the first argument ends with the second argument.

Usage

endsWith(field, "suffix")

Example:

where endsWith(message, ".log")

This matches records where the message field ends with “.log”.