Hashing functions - Amazon CloudWatch Logs
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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.