Is there a way to configure Azure Activity logs to be forwarded to a Log Analytics instance using PowerShell? Essentially the same that can be performed using the Portal as outlined on this page: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-activity-logs#configuration
相关问题
- How to query Log Analytics data into Azure Data Ex
- How to retain data in Azure Log Analytics beyond t
- Unable to add Custom logs to Log Analytics
- How to create comments in Azure Log Analytics
- Connecting Azure Activity Log to Log Analytics ins
相关文章
- How to retain data in Azure Log Analytics beyond t
- Unable to add Custom logs to Log Analytics
- How to create comments in Azure Log Analytics
- Connecting Azure Activity Log to Log Analytics ins
- 在蔚蓝的日志分析.NET SDK跨工作区查询(Cross-workspace queries in
- RoleManager.WriteToLog in Azure Development Fabric
- Azure Log Analytics Query with WHERE clause produc
- Log Analtyics - How to use “inverted commas” withi
You may use the PowerShell cmdlet New-AzureRmOperationalInsightsAzureActivityLogDataSource.
Illustration:
For more information refer https://docs.microsoft.com/en-us/powershell/module/azurerm.operationalinsights/New-AzureRmOperationalInsightsAzureActivityLogDataSource?view=azurermps-6.13.0
Hope this helps!!