Overview
This article details how to retrieve logs for Aembit Edge Components running on Windows.
Relates To
Deployment Type: Windows VM (Server 2019/2022)
Components:
aembit-agent-controller,aembit-agent-proxyLog Path:
C:\ProgramData\Aembit\
Cause (Symptom)
Use this guide if:
The Aembit services appear as "Stopped" in the Services snap-in (
services.msc).You need to verify if the Agent Proxy is successfully intercepting Windows workload traffic.
Solution
1. Locate the Log Directory Aembit components store their persistent activity and error logs in the ProgramData folder.
Path:
C:\ProgramData\Aembit\logs\
2. Tail Logs via PowerShell To watch logs in real-time (the equivalent of tail -f), use the Get-Content command. This is the most effective way to catch errors during a service restart.
PowerShell
# Watch the Controller Logs
Get-Content -Path "C:\ProgramData\Aembit\AgentController\logs\log" -Wait -Tail 20
# Watch the Proxy Logs
Get-Content -Path "C:\ProgramData\Aembit\AgentProxy\Logs\log" -Wait -Tail 203. Verify Service Lifecycle Events If the log files are not being generated, the service may be failing before it can write to the disk. In this case, check the Windows Event Viewer:
Open Event Viewer (
eventvwr.msc).Navigate to Windows Logs > Application.
Filter for Source:
AembitAgentControllerorAembitAgentProxy.