Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,606 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, trying to capture "Ingestion Volume" from Azure Log analytics using the Azure Rest API. Buts the
script "js_workspace_usage",type: "javascript" do
code = <<-EOS function filterUsage(data)
{ var usage = []; data.forEach(function(workspace) {
if (workspace.properties.ingestion > 100) {
usage.push({ workspace_id: workspace.id,
workspace_name: workspace.name, daily_data_ingestion: workspace.properties.ingestion
}); } });
return usage; } EOS