Forum Discussion
MuthuKugan
Feb 22, 2022Former Employee
Sigin Logs of Azure Virtual Machine
Hi, Is there any way to find out number of users logged in into each azure vm's and signed in user information from azure portal. In log Analytics workspace also we verified, we couldn't able to see ...
pazdedav
Feb 22, 2022Iron Contributor
Sign in to Azure VMs (e.g., an RDP or an SSH session) is a 'data plane' operation that is logged on the VM level in the Event log (or syslog), not in the Azure Activity Log (unless you are using Azure AD Sign-in to VMs feature). There is a way to collect System Event Log (or syslog) to Log Analytics using Log Analytics agent, but this needs to be configured properly.
MuthuKugan
Feb 23, 2022Former Employee
pazdedav ok, Thanks for the comment. can u provide the exact steps on collecting system event log to log analytics.
- pazdedavFeb 24, 2022Iron ContributorOne of the options is to use the Microsoft Monitoring Agent (MMA), also known as Log Analytics Agent and use the following article to configure Event Logs as 'data sources': https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-windows-events
- Tejasree12032Jun 30, 2022Copper Contributor
But in logs the username was not specified. How we can find which user has logged in.