Azure Monitor for WVD generates a lot of data in Log Analytic Workspace

Copper Contributor

Hi

I enabled last weekend the Azure monitor for our WVD cluster with two session hosts. the reporting is really awesome and very helpful to become an overview about the system.

But in just one day it generated 5GB of logs for just two session hosts. In the pay-as-you go price model we needed to pay 16$ for this single day. In the end of a month there will be costs around 500$. That is almost as much as we pay for both session hosts.

 

Is there a way to reduce the amount of collected data?

 

Thanks

J

 

5 Replies

Hi Jürg, please have a look at this article:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/manage-cost-storage

There is some info on how to adjust the volume. Regards, Tom Wechsler

@breakplease 

@breakplease 

 

To be honest mine cost nothing (Beside alerts costs), but I log only the critical stuff that I want.

Note that, It might lead to empty charts from the Microsoft exemple.

 

It really come down to what, how often and the data retention that will grow your analytic size.

Like Tom said, I strongly suggest that you put a datacap per day of what you want to pay.

After that, if you miss some data, now it is the time to thinking about stop logging stuff that you don't need.

 

I made a query for you where you can pin point, which table is pumping so much data.

(It will probably be a VM monitoring that you will have to tune down or remove some counters.)

 

Usage
where IsBillable == true
summarize TotalVolumeGB = sum(Quantity) / 1000 by bin(TimeGenerated, 1d), DataType
render barchart 

@fmartel 

hi fmartel

 

thanks for your post. I really appreciate!

 

I used your query and saw that almost 100% of all data came from the perfromace counters. I changed the intervall and deleted some. Also I added a daily cap for 0.5GB. 

 

Have a great new year’s eve.

Jürg

@TomWechsler 

Salut Tom. Thanks for your answer. Looking forward to end of January :) Happy new year and cheers

Jürg

@breakplease Almost all of our 8GB a day usage comes from the perf counters to. I have added the ones mentioned in the MS setup article i followed. Do you have some suggestions to which can be deleted, and maybe a good and usable intervall for the counters? Thanx :)