1. mike S
  2. PowerServer
  3. Saturday, 29 April 2023 15: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

 



There are no replies made for this question yet.
However, you are not allowed to reply to this question.