May 14 2019 12:28 AM
May 14 2019 11:40 AM
SolutionHello @Admin O365
ASR can send its diagnostic data to Log Analytics from there you can see status and messages etc...
See docs: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-azure-metrics-logs
AzureDiagnostics | where OperationName startswith "AzureSiteRecoveryEvent" | extend parseJSON = parse_json(healthErrors_s) | summarize count() by OperationName , ResourceProvider, affectedResourceName_s, tostring(parseJSON.[0].errorMessage)
You can run this query in the demo workspace from here
Which produces this output
Jan 23 2020 08:30 AM - edited Jan 23 2020 09:59 AM
Is it possible to create a query to see Daily data change rate like you can see on the Azure UI Portal, I can't find a value/variable to use, thanks.
The example fails on my workspace but works ok in the Azure demo
Jan 24 2020 01:03 AM
I don't seem to be able to open your error file (will try again later); do you have the data it requires?
AzureDiagnostics
| where TimeGenerated > ago(24h)
| where Category in ("AzureSiteRecoveryProtectedDiskDataChurn", "AzureSiteRecoveryReplicationDataUploadRate")
| extend CategoryS = case(Category contains "Churn", "DataChurn", Category contains "Upload", "UploadRate", "none")
Do you see all required Columns?
Perhaps, try this, and send us the results (if the data is ok to share)?
Jan 24 2020 01:18 AM
That's for quick reply, I tried the code you sent and I don't get any output at all, what I am trying to output is the value of disk change that you can see in the "Azure Recovery Vault" were it lists all the replicated items, it shows :
Name >> Rep. Health >> Status >> Rep.Policy >> RPO >> Daily data change rate >> IP >> Rep Errors
I am trying to output the "Daily data change rate" but cannot find a way to do this?
So far I have the below which works ok, but missing the "data change rate" info
Jan 24 2020 06:23 AM
Sorry I don't have a lot of ASR data, and nothing in that last query looks like an integer we can use to work out data change/ rate/ churn etc...
May 14 2019 11:40 AM
SolutionHello @Admin O365
ASR can send its diagnostic data to Log Analytics from there you can see status and messages etc...
See docs: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-azure-metrics-logs
AzureDiagnostics | where OperationName startswith "AzureSiteRecoveryEvent" | extend parseJSON = parse_json(healthErrors_s) | summarize count() by OperationName , ResourceProvider, affectedResourceName_s, tostring(parseJSON.[0].errorMessage)
You can run this query in the demo workspace from here
Which produces this output