Invoke-AzOperationalInsightsQueryExport

1.3

This script takes a SubscriptionID, ResourceGroup (of the log analytics workspace), workspaceName as parameters, ExportDirectory, Interval for Timespan, and
either a SavedSearchID or a Query and provides the option to export raw data from the target Log Analytics workspace to an export file.  All parameters are optional
and if not provided, will automatically build l
This script takes a SubscriptionID, ResourceGroup (of the log analytics workspace), workspaceName as parameters, ExportDirectory, Interval for Timespan, and
either a SavedSearchID or a Query and provides the option to export raw data from the target Log Analytics workspace to an export file.  All parameters are optional
and if not provided, will automatically build logic for you given answers to menu items.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Invoke-AzOperationalInsightsQueryExport

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft

Package Details

Author(s)

  • jbritt@microsoft.com

Functions

Add-IndexNumberToArray

Dependencies

This script has no dependencies.

Release Notes

April 26, 2020 1.3
Updated the Export format to CSV. Special thanks to Alex Delino (San Diego State University) for their input on
exporting to CSV as well as providing sample recommended updates).
Also provided a console only option to avoid export file if desired using switch "-Console"

FileList

Version History

Version Downloads Last updated
1.3 (current version) 1,857 4/27/2020
1.2 177 8/6/2019