- mike S
- PowerServer
- Saturday, 29 April 2023 03:41 PM UTC
The azure logs is a great feature and they have a huge number of sample queries for these logs. The samples are NOT context sensitive, so you see hundreds of unrelated and useless examples. Originally, i thought i had my log or possibly environment variables set incorrectly because i only saw entries in the log stream and not the log.
anyway, i did some actual work and researched the horrible query language of the log system (why could they not just use sql for this?!)
Anyway, this is very useful starting point for looking at entries in the log in the last 48 hours.
// Latest Container App user errors
// Get the latest errors generated by user deployed Container Apps.
ContainerAppConsoleLogs_CL
| where time_t > ago(48h)
| sort by time_t asc
| project time_t, Log_s
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.