Skip to content

Commit 8c154bc

Browse files
(AzureCXP) Sorted the output with TimeGenerated
Sorted the output with TimeGenerated resolves MicrosoftDocs/azure-docs#96362
1 parent 9610f62 commit 8c154bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/container-apps/microservices-dapr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ $LOG_ANALYTICS_WORKSPACE_CLIENT_ID=`
339339
340340
az monitor log-analytics query `
341341
--workspace $LOG_ANALYTICS_WORKSPACE_CLIENT_ID `
342-
--analytics-query "ContainerAppConsoleLogs_CL | where ContainerAppName_s == 'nodeapp' and (Log_s contains 'persisted' or Log_s contains 'order') | project ContainerAppName_s, Log_s, TimeGenerated | take 5" `
342+
--analytics-query "ContainerAppConsoleLogs_CL | where ContainerAppName_s == 'nodeapp' and (Log_s contains 'persisted' or Log_s contains 'order') | project ContainerAppName_s, Log_s, TimeGenerated | sort by TimeGenerated | take 5" `
343343
--out table
344344
```
345345

0 commit comments

Comments
 (0)