Sep 19 2018
02:28 AM
- last edited on
Apr 07 2022
05:29 PM
by
TechCommunityAP
Sep 19 2018
02:28 AM
- last edited on
Apr 07 2022
05:29 PM
by
TechCommunityAP
"No query statement found"
Any thoughts on why this unmodified sample doesn't work (anymore)?
/D
Sep 20 2018 09:43 AM - edited Sep 20 2018 09:44 AM
Hi Don,
That error means the query was not "found" when you clicked the "Run" button, and that's usually because the cursor was on an empty line. Try placing the query editor's cursor anywhere on the query text itself, and then click "Run".
On another note, we have many examples you can use:
1. On our examples GitHub repo
2. Now available "Select queries" on the Azure Log Analytics "Logs" page (also available through Help->Examples)
HTH,
Noa
Sep 21 2018 01:39 AM
Unless I remove the empty line before Update, or ctrl-a to select all it doesn't work when placing the cursor at the start of the query, but then it works. Thx.