Data Masking in Elasticsearch Index

How can I mask Data in Elastisearch Index field.

Ex: Have a Description field which contains email id inside it

I just want to replace the email id with some string 'xxx' and leave other part of description as it.

Is there any filter available to do this

Thanks & Regards,

You probably need to do that in your application layer. You can totally hide fields from the user depending on the roles this user has. This requires a platinum commercial license though.

You can at index time replace the value by a fingerprint though. That could May be solve your use case.

Thanks David.

Will explore on fingerprint.


use Spring Elastic Data and add listener to encrypt and decrypt before and after Data load and data pull respectively.

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