Log Analytics

Logs from the application, Azure resources and activity, and CDN will all be gathered inside a single space called log analytics. The logs inside the log analytics can be accessed from the Azure Portal. Below are the steps to open the Log Analytics workspace and to query some logs.

  1. Open your resource group.
  2. Select the Log Analytics workspace resource for your subscription, it should be called cvt{id}-{subscription-name}.
  3. On the sidebar, select Logs under General.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitecore/core-log_published.png

     
  4. You will be greeted with a landing menu for the Logs Query page, this contains commonly used log query, you can close this menu by clicking the x symbol on the top right corner.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitecore/core-log2_published.png

     
  5. You have now opened the Log Query page, here you can query all the logs that are coming from your Cloudvanti subscription.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitecore/core-log3_published.png

     
  6. To use predefine query provided by Cloudvanti, the query is under the Custom Logs section
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitecore/core-log4_published.png

     
  7. For the Sitecore website, users can query the logs from the website using SitecoreApp_CL.
Some logs take about 5-10 minute before appearing in log analytic workspace.

To learn more about how to make queries inside the Log Analytics workspace, please refer to this official Microsoft Documentation.