Elasticsearch Version
8.9.0, tested also on 8.5 and 8.6
Installed Plugins
No response
Java Version
bundled
OS Version
N/A
Problem Description
When using the fingerprint processor there are unexpected results with showing the actual method's hex representation. For example using the method MD5 and the value a.
Expected:
hex: 0cc175b9c0f1b6a831c399e269772661
base64: DMF1ucDxtqgxw5niaXcmYQ==
Fingerprint Processor:
hex: 7687355dbc955b0074758acb4d5f9a
base64: dg91NXbylVsAdHWKy01fpg==
Steps to Reproduce
POST _ingest/pipeline/_simulate
{
"pipeline": {
"processors": [
{
"fingerprint": {
"fields": ["a"],
"method": "MD5",
"target_field": "test"
}
}
]
},
"docs": [
{
"_source": {
"a": "a"
}
}
]
}
Logs (if relevant)
{
"docs": [
{
"doc": {
"_index": "_index",
"_id": "_id",
"_version": "-3",
"_source": {
"test": "dg91NXbylVsAdHWKy01fpg==",
"a": "a"
},
"_ingest": {
"timestamp": "2023-08-10T06:19:10.716599155Z"
}
}
}
]
Elasticsearch Version
8.9.0, tested also on 8.5 and 8.6
Installed Plugins
No response
Java Version
bundled
OS Version
N/A
Problem Description
When using the fingerprint processor there are unexpected results with showing the actual method's hex representation. For example using the method
MD5and the valuea.Expected:
hex:
0cc175b9c0f1b6a831c399e269772661base64:
DMF1ucDxtqgxw5niaXcmYQ==Fingerprint Processor:
hex:
7687355dbc955b0074758acb4d5f9abase64:
dg91NXbylVsAdHWKy01fpg==Steps to Reproduce
Logs (if relevant)