Hello Leo Lee,
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Apologies for confusion, enabling the Log Analytics (LA) agent in Azure Virtual Desktop Insights (AVDI) allows you to collect diagnostic information from your session hosts and send it to a Log Analytics workspace.
This diagnostic information can include performance metrics, event logs, and other data that can help you troubleshoot issues with your session hosts.
Hope this helps.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.