View a markdown version of this page

Hashing functions - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Hashing functions

You can use hashing functions in fields and filter commands.

Function

Result type

Description

md5(fieldName: string)

string

Computes the MD5 hash of the string value.

sha256(fieldName: string)

string

Computes the SHA-256 hash of the string value.