# Drop event in procesor result in no records

**URL:** <https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352>\
**Category:** Elastic Agent\
**Created:** [January 18, 2024, 10:51am UTC](https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352 "2024-01-18T10:51:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruben\_Bahntje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruben_bahntje/32/130910_2.png) [@Ruben\_Bahntje](https://discuss.elastic.co/u/Ruben_Bahntje)\
**Post date:** [January 18, 2024, 10:51am UTC](https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352/1 "2024-01-18T10:51:23Z")

</div>

I am using Fleet to configure agent policies for windows servers.  
I configure to get several security events 4624, 4625, 4771 and drop events when LogonType = 3

I ve configure procesor like this:

- drop\_event:  
when:  
equals:  
winlog.event\_data.LogonType: 3

The result is no security channel events are ingested in Elasticsearch.

---

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [January 18, 2024, 11:12am UTC](https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352/2 "2024-01-18T11:12:46Z")

</div>

> [@Ruben\_Bahntje](#):
>
> I am using Fleet to configure agent policies for windows servers.  
> I configure to get several security events 4624, 4625, 4771 and drop events when LogonType = 3
> 
> I ve configure procesor like this:
> 
> - drop\_event:  
> when:  
> equals:  
> winlog.event\_data.LogonType: 3
> 
> The result is no security channel events are ingested in Elasticsearch.

Hi,

Try changing your condition to compare `winlog.event_data.LogonType` to the string "3" instead:

```auto
drop_event:
  when:
    equals:
      winlog.event_data.LogonType: "3"

```

Regards

---

<div class="post-metadata">

**Author:** ![Ruben\_Bahntje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruben_bahntje/32/130910_2.png) [@Ruben\_Bahntje](https://discuss.elastic.co/u/Ruben_Bahntje)\
**Post date:** [January 18, 2024, 1:29pm UTC](https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352/3 "2024-01-18T13:29:07Z")

</div>

Thanks!  
Thats resolve the problem

---

<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:** [February 15, 2024, 1:29pm UTC](https://discuss.elastic.co/t/drop-event-in-procesor-result-in-no-records/351352/4 "2024-02-15T13:29:57Z")

</div>

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