# Droping winlog.event\_data.LogonType: "3"

**URL:** <https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [May 10, 2020, 11:09am UTC](https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883 "2020-05-10T11:09:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubekpk](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@kubekpk](https://discuss.elastic.co/u/kubekpk)\
**Post date:** [May 10, 2020, 11:09am UTC](https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883/1 "2020-05-10T11:09:07Z")

</div>

Hello,  
Starting with ELK ,I'm trying to drop the following event without success  
winlog.event\_data.LogonType: "3"  
Can someone help?

```
- name: Security
 ignore_older: 24h
 event_id: 4624, 4625, 7045, 4758, 4743, 4734, 4730, 4726, 4648, 4776, 4768, 1102, 106, 4662, 
 4728, 4729, 4672, 4767, 4740
 processors:
 - drop_event.when:
    and:
    - equals.event_id: 4624
    - equals.winlog.event_data.LogonType: "3"'
```

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [May 10, 2020, 12:42pm UTC](https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883/2 "2020-05-10T12:42:09Z")

</div>

Hey @kubekpk,

I think the condition for `event_id` should be `equals.winlog.event_id: 4624`, as the `event_id` field is under a `winlog` object.

You can take a look to this topic, where a similar configuration is discussed: [Filter system logons](https://discuss.elastic.co/t/filter-system-logons/225001)

---

<div class="post-metadata">

**Author:** ![kubekpk](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@kubekpk](https://discuss.elastic.co/u/kubekpk)\
**Post date:** [May 11, 2020, 11:27am UTC](https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883/3 "2020-05-11T11:27:49Z")

</div>

Thx.

---

<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:** [June 8, 2020, 11:35am UTC](https://discuss.elastic.co/t/droping-winlog-event-data-logontype-3/231883/4 "2020-06-08T11:35:42Z")

</div>

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