tokenHash() Query Function

Calculates a “structure hash” which is equal for similarly structured input.

Parameters

Name

Type

Required

Default

Description

field

string

Yes

The name of the field to hash.

as

string

No

_tokenHash

The name of output field, defaults to _tokenHash.

The implied parameter is field.

Examples

Replace the value in the ssn field with the hash of the existing value, also replacing it in @rawstring

humio
tokenHash(ssn)