Restart Queries¶
Use these queries to confirm restart timing, startup loops, and restart correlation with incident windows.
graph TD
A[AppServicePlatformLogs] --> B[Restart Events]
A --> C[Start/Stop Cycles]
B --> D[Correlate with Incidents]
C --> D Run It in the Portal¶
Portal view: Logs blade (Log Analytics query editor)¶

The Logs blade is where the restart-investigation queries below are pasted - this capture shows the Application Insights Logs experience (ai-test-20251107), but the workspace-based Log Analytics blade has the same New Query 1 tab and Run toolbar. Both restart queries target AppServicePlatformLogs, which becomes the leading table identifier once the placeholder Type your query here or click one of the queries to start is replaced. The default Time range: Last 24 hours covers most restart-loop detection windows; for tight restart cycles use the inline Time range selector to drop to Last hour. The No queries history message and the empty Query history pane confirm this is a fresh session - the first Run populates both the result pane and the history.