Azure Classroom Series – 02/Oct/2020

Log Analysis in Azure

  • Setup:
    • Create a Windows Server (With Os diagnostics enabled)
    • Create a Linux Server (With Os diagnostics enabled)
    • Create a Database

Configuring diagnostic settings on resources

  • Two kinds of diagnostic logs are available in Azure Monitor
    • Tenant Logs:
      • These logs consits of all the tenent-level services that exist outside Azure Subscription. Example: Azure Active Directory Logs
    • Resource Logs: These logs consists of data from resources deployed in Azure Subscription Eg: Virtual Machine, SQL Server
  • Enabling diagnostic settings
    • VM: Navigate to Monitoring and Diagnostic Settings and enble guest-level monitoring
    • Linux VM Guest Level Diagnostic Details Preview Preview Preview Preview
    • Windows VM Guest Level Diagnostic Details Preview
    • Enable Diagnostic setting for other resources as well
    • Now wait for atleast 20 mins before some logs appear and now we can analyze the logs by using queries Refer Here for docs on KQL (Kusto Query Language)
    • Creating alert from log query Refer Here

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube