Microsoft Windows
Windows host EPS depends heavily on the number of windows events logs generated. Run the below powershell script (as Admin) on a heavily used host such as a domain controller to get a rough idea of activity
# Define the time window: last 24 hours
$startTime = (Get-Date).AddHours(-24)
# Define log names
$logs = @("Application", "System", "Security")
$total = 0
foreach ($log in $logs) {
try {
# Use FilterHashtable with both LogName and StartTime
$filter = @{
LogName = $log
StartTime = $startTime
}
$events = Get-WinEvent -FilterHashtable $filter -ErrorAction Stop
$count = ($events | Measure-Object).Count
$total += $count
Write-Output "$log : $count"
} catch {
Write-Output "$log : Error - $($_.Exception.Message)"
}
}
Write-Output "`nTotal : $total"We recommend onboarding only servers
Servers to take into account
Domain Controllers
File Servers
Critical Servers
App Servers
Run the above script on all your servers and sum up all the EPS value to get an idea how much they’re expected to send.
tags:
Windows Logs
EPS Windows