Fingerprint filter- Key from Document

Hi All,

I am using fingerprint filter with SHA256, I want to use key for the plugin dynamically (.i.e based on the document attribute) As shown below group_id is a document attribute and tenant_id is the document attribute too. However what i see the the plugin is using key as static string "tenant_id" rather than dynamic values based on document. Can key take dynamic values like source parametr or its always static

json{
source => "message"
}
fingerprint {
source => "group_id"
key => "tenant_id"
target => "[@metadata][fingerprint]"
method => "SHA256"
#base64encode => true
}

The key is static.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.