How To Read Logs From Windows using python
dev.to·3d·
Discuss: DEV
🪟Awesome windows command-line
Preview
Report Post

Hello there! In this blog post, I am sharing one of the steps from my SOAR project. By completing this guide, you will be able to retrieve Windows logs using Python.

1}Understanding Windows Logs Before retrieving logs using Python, you must understand where Windows stores logs and how they are structured.

Open Event Viewer → expand Windows Logs. You will see: Application Security Setup System Forwarded Events Each category contains events stored in a structured format.

2}Windows Event Structure Windows event has 5 parts. Log Name : Application, Security, System, Setup. Level : The level of security e.g, Info, warning, Critical, Verbose. Data and Time : When event has occurred. Source : The program, service or component that generated the event. Event ID : A unique …

Similar Posts

Loading similar posts...