Data masking with filebeat

courtesy from and

Sometimes we do need to mask out confidential information before employing them for analysis. In this blog, we would take the challenge to use filebeat (instead of logstash or elasticsearch ingest node).

First of all, we need to prepare a dataset. For simplicity, it would be like the following: