-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from MicrosoftDocs/main
Publish to live, Tuesday 4 AM PST, 9/17
- Loading branch information
Showing
1,104 changed files
with
53,272 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,846 changes: 1,846 additions & 0 deletions
1,846
articles/azure-monitor/reference/queries-by-table.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: Example log table queries for AACAudit | ||
description: Example queries for AACAudit log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AACAudit table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Most recent delete key-value operations | ||
|
||
|
||
List the most recent deleting key-value operations in App Config data plane. | ||
|
||
```query | ||
// This query helps retrieve the most recent 10 audit logs for deleting key-value operations in App Configuration data plane. | ||
AACAudit | ||
| where EventCategory == "ApplicationManagement" and OperationName == "delete-keyvalue" | ||
| where TimeGenerated > ago(1h) | ||
| sort by TimeGenerated desc | ||
| limit 10 | ||
``` | ||
|
||
|
||
|
||
### Most recent client error | ||
|
||
|
||
Lists the most recent failures because of client error. | ||
|
||
```query | ||
// This query helps list the most recent 10 audit logs for failures because of client error. | ||
AACAudit | ||
| where ResultType == "ClientError" and TimeGenerated > ago(1h) | ||
| sort by TimeGenerated desc | ||
| limit 10 | ||
``` | ||
|
65 changes: 65 additions & 0 deletions
65
articles/azure-monitor/reference/queries/aachttprequest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: Example log table queries for AACHttpRequest | ||
description: Example queries for AACHttpRequest log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AACHttpRequest table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Throttled Requests | ||
|
||
|
||
Lists of throttled requests to the App Config Service. | ||
|
||
```query | ||
// This query helps retrieve logs for throttled requests during past one hour. | ||
AACHttpRequest | ||
| where StatusCode == 429 and TimeGenerated > ago(1h) | ||
| sort by TimeGenerated desc | ||
``` | ||
|
||
|
||
|
||
### Most common server errors | ||
|
||
|
||
Lists the most common error Status Code and a corresponding count. | ||
|
||
```query | ||
// This query helps retrieve logs for failed requests during past one hour by status code. | ||
AACHttpRequest | ||
| where StatusCode >= 500 and TimeGenerated > ago(1h) | ||
| summarize ErrorCount=count() by StatusCode | ||
| project StatusCode, ErrorCount | ||
| sort by ErrorCount desc | ||
``` | ||
|
||
|
||
|
||
### Most Active Clients by IP Address | ||
|
||
|
||
Lists the most common IP Addresses to communicate with the App Config Service. | ||
|
||
```query | ||
// This query helps count requests by top 10 most active client IP addresses. | ||
AACHttpRequest | ||
| summarize Count=count() by ClientIPAddress | ||
| project ClientIPAddress, Count | ||
| sort by Count desc | ||
| limit 10 | ||
``` | ||
|
30 changes: 30 additions & 0 deletions
30
articles/azure-monitor/reference/queries/aadcustomsecurityattributeauditlogs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: Example log table queries for AADCustomSecurityAttributeAuditLogs | ||
description: Example queries for AADCustomSecurityAttributeAuditLogs log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADCustomSecurityAttributeAuditLogs table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### User's custom security attribute audits | ||
|
||
|
||
Returns custom security attribute audit logs for a specific user. | ||
|
||
```query | ||
AADCustomSecurityAttributeAuditLogs | ||
| extend targetUPN = parse_json(TargetResources)[0].userPrincipalName | ||
| where targetUPN == 'CSALogTester@tenant.com' | ||
| limit 100 | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
articles/azure-monitor/reference/queries/aaddomainservicesaccountlogon.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesAccountLogon | ||
description: Example queries for AADDomainServicesAccountLogon log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesAccountLogon table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesAccountLogon table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesAccountLogon table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesAccountLogon | ||
| top 10 by TimeGenerated | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
articles/azure-monitor/reference/queries/aaddomainservicesaccountmanagement.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesAccountManagement | ||
description: Example queries for AADDomainServicesAccountManagement log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesAccountManagement table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesAccountManagement table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesAccountManagement table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesAccountManagement | ||
| top 10 by TimeGenerated | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
...cles/azure-monitor/reference/queries/aaddomainservicesdirectoryserviceaccess.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesDirectoryServiceAccess | ||
description: Example queries for AADDomainServicesDirectoryServiceAccess log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesDirectoryServiceAccess table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesDirectoryServiceAccess table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesDirectoryServiceAccess table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesDirectoryServiceAccess | ||
| top 10 by TimeGenerated | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
articles/azure-monitor/reference/queries/aaddomainserviceslogonlogoff.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesLogonLogoff | ||
description: Example queries for AADDomainServicesLogonLogoff log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesLogonLogoff table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesLogonLogoff table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesLogonLogoff table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesLogonLogoff | ||
| top 10 by TimeGenerated | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
articles/azure-monitor/reference/queries/aaddomainservicespolicychange.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesPolicyChange | ||
description: Example queries for AADDomainServicesPolicyChange log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesPolicyChange table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesPolicyChange table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesPolicyChange table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesPolicyChange | ||
| top 10 by TimeGenerated | ||
``` | ||
|
28 changes: 28 additions & 0 deletions
28
articles/azure-monitor/reference/queries/aaddomainservicesprivilegeuse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Example log table queries for AADDomainServicesPrivilegeUse | ||
description: Example queries for AADDomainServicesPrivilegeUse log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADDomainServicesPrivilegeUse table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Show logs from AADDomainServicesPrivilegeUse table | ||
|
||
|
||
Lists the latest logs in AADDomainServicesPrivilegeUse table, sorted by time (latest first). | ||
|
||
```query | ||
AADDomainServicesPrivilegeUse | ||
| top 10 by TimeGenerated | ||
``` | ||
|
31 changes: 31 additions & 0 deletions
31
articles/azure-monitor/reference/queries/aadmanagedidentitysigninlogs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: Example log table queries for AADManagedIdentitySignInLogs | ||
description: Example queries for AADManagedIdentitySignInLogs log table | ||
ms.topic: reference | ||
ms.service: azure-monitor | ||
ms.author: edbaynash | ||
author: EdB-MSFT | ||
ms.date: 09/16/2024 | ||
|
||
# NOTE: This content is automatically generated using API calls to Azure. Any edits made on these files will be overwritten in the next run of the script. | ||
|
||
--- | ||
|
||
# Queries for the AADManagedIdentitySignInLogs table | ||
|
||
For information on using these queries in the Azure portal, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial). For the REST API, see [Query](/rest/api/loganalytics/query). | ||
|
||
|
||
### Most active managed identities | ||
|
||
|
||
Gets list of top 100 most active managed identities for the last day. | ||
|
||
```query | ||
AADManagedIdentitySignInLogs | ||
| where TimeGenerated > ago(1d) | ||
| summarize CountPerManagedIdentity = count() by ServicePrincipalId | ||
| order by CountPerManagedIdentity desc | ||
| take 100 | ||
``` | ||
|
Oops, something went wrong.