Skip to main content
Version: 1.x

Checksum

Filter plugin : Checksum​

Description​

Calculate checksum(default algorithm is SHA1) of specific field and add a new field with the checksum value.

Options​

nametyperequireddefault value
methodstringnoSHA1
source_fieldstringnoraw_message
target_fieldstringnochecksum
method [string]​

Checksum algorithm, supports SHA1,MD5 and CRC32 now.

source_field [string]​

Source field

target_field [string]​

Target field

Examples​

checksum {
source_field = "deviceId"
target_field = "device_crc32"
method = "CRC32"
}

Get CRC32 checksum from deviceId, and set it to device_crc32