Skip to main content
Data and cost estimation for Log Analytics
  1. Posts/

Data and cost estimation for Log Analytics

·208 words·1 min
Christoph Petersen
Author
Christoph Petersen

A while ago I wrote an article on how to estimate data consumption for Log Analytics. Since then there were changes to the way that Log Analytics tracks the volume and the cost associated with data flowing into the workspace.

The documentation on standard properties in Log Analytics records now lists two new attributes that are of interest: _isBillable and _BilledSize.

Clive Watson went out and built queries that are very handy to answer questions that are commonly asked such as Which solution is free? or How much data is stored for a certain solution? or even How much data are my Network Security Groups generating? I recommend to take a look at his blog post to easily answer these questions.

In my original post I built a query that presents the data volume by solution. With the changes made this query now looks as follows:

let daystoSearch = 1d;
union withsource = tt *
| where TimeGenerated > ago(daystoSearch)
| summarize 
    RecordCount=count(),
    MbperRecord = round(sum(_BilledSize / 1024 / 1024) / count(), 4),
    TotalMBytes= round(sum(_BilledSize / 1024 / 1024), 2)
by SolutionName = tt, _IsBillable
| sort by SolutionName asc

Take that query for a spin in the Log Analytics playground, and you’ll get something like the following:

Data volume by solution

Related

Azure Monitoring & Operations hackathon

·171 words·1 min
A request that I get many times is to provide guidance and best-practices on how to implement monitoring and operations management with and/or for Azure. Most organizations have subtle differences which makes it hard to put out a generic concept of how to enable this. There are high-level ideas but in my discussions with customers and partners I’m hearing that this is not detailed enough.

Data volume estimation for Log Analytics

·274 words·2 mins
[UPDATE 02/12/2019] There has been changes to the way Log Analytics tracks usage data. Check out the post on the updated mechanisms.