# Some word should not be transmitted

**URL:** <https://discuss.elastic.co/t/some-word-should-not-be-transmitted/300185>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 21, 2022, 10:12am UTC](https://discuss.elastic.co/t/some-word-should-not-be-transmitted/300185 "2022-03-21T10:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peyofe](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@peyofe](https://discuss.elastic.co/u/peyofe)\
**Post date:** [March 21, 2022, 10:12am UTC](https://discuss.elastic.co/t/some-word-should-not-be-transmitted/300185/1 "2022-03-21T10:12:27Z")

</div>

Hi.  
I have a question. I have a log with followings fileds:

_User;Target;IP-Adress;PrivateCode_  
_Name1;Server1;127.0.0.1;CD4523_  
_Name2;Server21;127.0.0.2;CD4542_  
_Name3;Server421;127.0.0.3;CD4556_

Filebeat reading the log and transmitted all Lines to Elastic. That work fine.  
But the problem was, the "PrivateCode" should not be transmitted for data protection reasons.  
Who can I solve this?  
perhaps with "exclude\_line"?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [March 21, 2022, 3:12pm UTC](https://discuss.elastic.co/t/some-word-should-not-be-transmitted/300185/2 "2022-03-21T15:12:19Z")

</div>

Yup, `exclude_lines` could be an option: [Filebeat : how to exclude lines - #2 by Shaoranlaos](https://discuss.elastic.co/t/filebeat-how-to-exclude-lines/282306/2)

---

<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:** [April 18, 2022, 5:13pm UTC](https://discuss.elastic.co/t/some-word-should-not-be-transmitted/300185/3 "2022-04-18T17:13:05Z")

</div>

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