Running a sample query

  • Last update on January 20th, 2025

This guide will show you how to run a sample query in the Azure Portal. 

Remember that to run a sample query you must set up a Log Analytics workspace in Configuration Manager.

 

To run a sample query, follow the steps below:

  1. Navigate to Log Analytics Workspaces in portal.azure.com
  1. Select the desired workspace, which, in our case, will be the “SimeonCloud” workspace 
  1. Go to “logs” and close the “Queries hub” pop up
  1. Add the KQL (Kusto Query Language) query, for example conditional access policy changes
  1. Select the Time range

  1. Run the query

The query will return results, if successful.

As the query has returned results, we can proceed with creating our custom alert.