Connect
Pick how the page gets its data. Live is quickest. Manual needs no token. Demo is made-up data for learning the steps.
- Open Azure Cloud Shell in your tenant, or any terminal signed in with
az login. Lighthouse access works too. - Don't know the workspace ID? This lists the workspaces you can see:
workspace-ids.sh
az monitor log-analytics workspace list --query "[].{Name:name, WorkspaceId:customerId}" -o table - Get a Log Analytics access token (it lasts about an hour) and paste it below. It only lets the page run queries, so it can read your logs and nothing else:
get-token.sh
az account get-access-token --resource https://api.loganalytics.io --query accessToken -o tsvIf the table that grew sits on the Basic or data lake tier, queries against it are charged per GB scanned. The page sends a time range with every query, so it only reads the days it's looking at.
Use this when you can't get a token. Each step gives you a query to run in the workspace's Logs blade. Export the result with Export > CSV (all columns) and drop the file into the step, or paste the CSV text. Up to four queries, one per step. Everything stays in this page.
Made-up data for a workspace with a few spikes in it, including a backlog on a data lake table. Good for learning the steps or showing someone. Nothing is queried.
How this works
Copy finding gives you the answer as text for a ticket or email. All times are UTC.
Finding