Reputation: 19322
I am using the fingerprint
plugin to create custom _id
fields that should be base64 encoded:
fingerprint {
key => "somekey"
base64encode => true
method => "SHA512"
source => [ "username" ]
target => "[@metadata][custom_id]"
}
truncate {
fields => "[@metadata][custom_id]"
length_bytes => 20
}
However, here is an example key that was created:
lStqstfpWw5OHe+B3FBi
The above is NOT url friendly therefore manipulation by id becomes cumbersome since it needs encoding/decoding.
Any suggestion to make the _id
url friendly?
Upvotes: 1
Views: 71