# Get Windows Defender logs in Logstash using Winlogbeat

**URL:** https://discuss.elastic.co/t/get-windows-defender-logs-in-logstash-using-winlogbeat/281538
**Category:** Beats
**Tags:** winlogbeat
**Created:** [August 16, 2021, 11:42am UTC](https://discuss.elastic.co/t/get-windows-defender-logs-in-logstash-using-winlogbeat/281538 "2021-08-16T11:42:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Logstash\_logs](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@Logstash\_logs](https://discuss.elastic.co/u/Logstash_logs)
#### Post date: [August 16, 2021, 11:42am UTC](https://discuss.elastic.co/t/get-windows-defender-logs-in-logstash-using-winlogbeat/281538/1 "2021-08-16T11:42:24Z")

</div>

Hi, I'm trying to send windows defender logs to logstash using winlogbeat. I added  
name: Microsoft-Windows-Windows Defender/Operational in winlogbeat.yml file but not getting any logs related to defender only Microsoft-Windows-Security-Auditing related logs we are getting. We need to do any other changes other than adding name in yml file(restarting winlogbeat).

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/e/debc700dcd010d715323cb627613d8bff49d7418.png)

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [August 17, 2021, 11:39am UTC](https://discuss.elastic.co/t/get-windows-defender-logs-in-logstash-using-winlogbeat/281538/2 "2021-08-17T11:39:43Z")

</div>

As a test I would recommend to comment out all other winlogbeat.event\_logs and leave just the Windows Defender. Then enable `logging.level: debug` and startup Winlogbeat.

Then take a look at the log file and see what it's doing.

---

<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 14, 2021, 11:39am UTC](https://discuss.elastic.co/t/get-windows-defender-logs-in-logstash-using-winlogbeat/281538/3 "2021-09-14T11:39:50Z")

</div>

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