New PowerShell scripts to streamline Azure Monitor Logs query and data collection
Updated: August 13, 2019
Two new scripts are available now in PowerShell Gallery to streamline the query and collection of logs into Azure Monitor Logs:
- Invoke-AzOperationalInsightsQueryExport - streamline querying Azure Monitor Logs and export of its results to file.
- Upload-AzMonitorLog - Upload the result of every PowerShell command to Azure Monitor Logs as custom log using Azure Monitor Data Collector API. It allows easy upload of files, process list or any other piece of information that PowerShell can collect.