# Delete explanation in message field

**URL:** <https://discuss.elastic.co/t/delete-explanation-in-message-field/196554>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [August 23, 2019, 3:16pm UTC](https://discuss.elastic.co/t/delete-explanation-in-message-field/196554 "2019-08-23T15:16:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![herrBez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/herrbez/32/46108_2.png) [@herrBez](https://discuss.elastic.co/u/herrBez)\
**Post date:** [August 23, 2019, 3:16pm UTC](https://discuss.elastic.co/t/delete-explanation-in-message-field/196554/1 "2019-08-23T15:16:23Z")

</div>

Hi There,

I am importing logs with winlogbeat 7.3.0. All works fine 🙂

However, some of the events I am collecting contains sometimes an explanation inside a message, e.g., 4679

[https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4769](https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4769)

which I do not need (is redundant and always the same for all the events of the same class) and occupy space in the shards.

I am wondering if it is possible to delete the explanation from "This event" to the end of the line through a processor, or if it is better to deal with the problem from the EventViewer itself.

Let me know if the question is off topic.

Thank you,  
Mirko

---

<div class="post-metadata">

**Author:** ![herrBez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/herrbez/32/46108_2.png) [@herrBez](https://discuss.elastic.co/u/herrBez)\
**Post date:** [August 30, 2019, 6:54am UTC](https://discuss.elastic.co/t/delete-explanation-in-message-field/196554/2 "2019-08-30T06:54:07Z")

</div>

I wrote a winlogbeat "script" processor that keeps the portion of message that matches a given pattern.

---

<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:** [September 27, 2019, 6:54am UTC](https://discuss.elastic.co/t/delete-explanation-in-message-field/196554/3 "2019-09-27T06:54:13Z")

</div>

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