# How to mask the data using Filebeats processors

**URL:** <https://discuss.elastic.co/t/how-to-mask-the-data-using-filebeats-processors/230058>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 28, 2020, 1:19am UTC](https://discuss.elastic.co/t/how-to-mask-the-data-using-filebeats-processors/230058 "2020-04-28T01:19:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elkdeveloper](https://avatars.discourse-cdn.com/v4/letter/e/ee59a6/32.png) [@elkdeveloper](https://discuss.elastic.co/u/elkdeveloper)\
**Post date:** [April 28, 2020, 1:19am UTC](https://discuss.elastic.co/t/how-to-mask-the-data-using-filebeats-processors/230058/1 "2020-04-28T01:19:44Z")

</div>

Dear All,  
'I am new to the elk and planning to implement filebeats for custom logs in one of the application. Mask the data within the tags before sending to logstash using filebeat processors. please verify the below info and suggest. '

Actual application Log  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
'\>\>\>|2020-04-26T18:25:39.280-0700|\<MF\>\<Pattern\>RR\</Pattern\>\<Type\>R\</Type\>\<UUID\>198abcda2083452011ea20bfc2200a415f610000c8653000\</UUID\>\<ApplicationID\>XYZ\</ApplicationID\>\<Account\> **01234** \</Account\>\</MF\>'

Required output to send to logstash  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
'\>\>\>|2020-04-26T18:25:39.280-0700|\<MF\>\<Pattern\>RR\</Pattern\>\<Type\>R\</Type\>\<UUID\>198abcda2083452011ea20bfc2200a415f610000c8653000\</UUID\>\<ApplicationID\>XYZ\</ApplicationID\>\<Account\> **XXXXXX** \</Account\>\</MF\>'

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 26, 2020, 1:19am UTC](https://discuss.elastic.co/t/how-to-mask-the-data-using-filebeats-processors/230058/2 "2020-05-26T01:19:53Z")

</div>

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