зеркало из
1
0
Форкнуть 0

Adding reference to AzCopy and md file.

This commit is contained in:
Maxim Lukiyanov 2013-12-16 22:45:41 -08:00
Родитель cd7c3704da
Коммит 1704d53016
2 изменённых файлов: 26 добавлений и 3 удалений

Просмотреть файл

@ -8,10 +8,12 @@
the transient HDInsight cluster which is provisioned for the duration of the script execution. The script also creates new storage account to store output
of the analysis. The output files can be imported into Excel or other graphing tool to build graphic chart of values.
.EXAMPLE
.\AnalyzeWebSiteApplicationLogs.ps1 -Website "MyWebsiteName" -LogStorageAccount "MyWebSiteLogStorageAccount"
Note: This script uses AzCopy utility downloadable form here: http://go.microsoft.com/fwlink/?LinkId=287086
.\AnalyzeWebSiteApplicationLogs.ps1 -Website "MyWebsiteName" -LogStorageAccount "MyWebSiteLogStorageAccount" `
.EXAMPLE
.\AnalyzeWebSiteApplicationLog.ps1 -Website "MyWebsiteName" -LogStorageAccount "MyWebSiteLogStorageAccount"
.\AnalyzeWebSiteApplicationLog.ps1 -Website "MyWebsiteName" -LogStorageAccount "MyWebSiteLogStorageAccount" `
-Location "North Europe" -ClusterSizeInNodes 4
#>

Просмотреть файл

@ -0,0 +1,21 @@
# AnalyzeWebSiteApplicationLog
## Description ##
Analyzes azure web site application logs using transient HDInsight cluster.
If azure web site is configured to store application logs in azure blob storage this script can be used to generate performance metrics of
the web site based on the following pattern in application log message: "Perf: <perfmetricname> took <number>". The script will calculate for each
perf metric found in the logs its average value and CSV formatted table of the metric values for each time-stamp. Processing of the data is performed on
the transient HDInsight cluster which is provisioned for the duration of the script execution. The script also creates new storage account to store output
of the analysis. The output files can be imported into Excel or other graphing tool to build graphic chart of values.
**Note:** This script uses AzCopy utility downloadable form here: http://go.microsoft.com/fwlink/?LinkId=287086
## Scenario ##
Analyze performance of Azure Web Site based on application logs.
## Requirements ##
- PowerShell Version 3.0
- Windows Azure PowerShell December 2013
- AzCopy
## See Also ##
- Set-AzureSubscription