İngilizce dilinde oku

Aracılığıyla paylaş


AFSAuditLogs tablosu için sorgular

Azure portalında bu sorguları kullanma hakkında bilgi için bkz . Log Analytics öğreticisi. REST API için bkz . Sorgu.

Toplama işlemleri sorgusu

Belirli bir süre için tüm UnsuspendAmlFilesystem isteklerini listeleyin.

AFSAuditLogs
// The OperationName below can be replaced by obtain other operations such as "RebootAmlFilesystemNode" or "AmlFSRefreshHSMToken".
| where OperationName has "UnsuspendAmlFilesystem"
| project TimeGenerated, _ResourceId, ActivityId, ResultSignature, ResultDescription, Location
| sort by TimeGenerated asc
| limit 100

Yetkisiz istekler sorgusu

Özel olmayan erişim nedeniyle başarısız AMLFilesystems isteklerinin sayısı.

AFSAuditLogs
// 401 below could be replaced by other result signatures to obtain different operation results.
// For example, 'ResultSignature == 202' to obtain accepted requests.
| where ResultSignature == 401
| summarize count() by _ResourceId, OperationName