Skip to content

Commit 7078137

Browse files
authored
Merge pull request #113183 from SwathiDhanwada-MSFT/patch-7
(AzureCXP) fixes MicrosoftDocs/azure-docs#53562
2 parents e49bca4 + da0131b commit 7078137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/platform/activity-log-view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To learn more about Change history, see [Get resource changes](../../governance/
6666
Use the [Get-AzLog](https://docs.microsoft.com/powershell/module/az.monitor/get-azlog) cmdlet to retrieve the Activity Log from PowerShell. Following are some common examples.
6767

6868
> [!NOTE]
69-
> `Get-AzLog` only provides 15 days of history. Use the **-MaxEvents** parameter to query the last N events beyond 15 days. To access events older than 15 days, use the REST API or SDK. If you do not include **StartTime**, then the default value is **EndTime** minus one hour. If you do not include **EndTime**, then the default value is current time. All times are in UTC.
69+
> `Get-AzLog` only provides 15 days of history. Use the **-MaxRecord** parameter to query the last N events beyond 15 days. To access events older than 15 days, use the REST API or SDK. If you do not include **StartTime**, then the default value is **EndTime** minus one hour. If you do not include **EndTime**, then the default value is current time. All times are in UTC.
7070
7171

7272
Get log entries created after a particular date time:
@@ -102,7 +102,7 @@ Get-AzLog -Caller '[email protected]'
102102
Get the last 1000 events:
103103

104104
```powershell
105-
Get-AzLog -MaxEvents 1000
105+
Get-AzLog -MaxRecord 1000
106106
```
107107

108108

0 commit comments

Comments
 (0)