Approximate match between two fields

is there a way of approximate match in Logstash, between two fields in a document.

what i want to achieve is.. if, sender and recipient name is matching even approximately(30%..)
add field "sender_id" = personal

Try fuzzy search also know as (levenshtein distance). It will definitely work

There's nothing built in for this. You'll probably want to write a custom filter that e.g. computes the Levenshtein distance between two fields values.

Thanks Ravian & Magnus.... will work on to create a compute Levenshtein distance

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