How to create from Logs a chart in Metrics?

%3CLINGO-SUB%20id%3D%22lingo-sub-1516212%22%20slang%3D%22en-US%22%3EHow%20to%20create%20from%20Logs%20a%20chart%20in%20Metrics%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1516212%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20have%20got%20in%20my%20Azure%20resource%20group%20(tenant%20-%20subscription)%26nbsp%3Bone%20Log%20Analytics%20Workspace.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELog%20Analytics%20Workspace%20consume%20data%20(metrics)%20from%20my%20on-premise%20virtual%20machine%20by%20Log%20Analytics%20Agent.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20see%20data%20(metrics)%20at%20Logs%2C%20that%20is%20ok.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20I%20want%20to%20see%26nbsp%3Bdata%20(metrics)%20at%20Azure%20Monitor%20-%20Metrics%2C%20I%20do%20not%20see%20any.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERespectively%20I%20see%20empty%20chart%20with%20metrics%20for%20example%3A%20Avg.%20Disc%20sec%2FRead%20but%3CBR%20%2F%3Eat%26nbsp%3BLogs%20I%20have%20many%20records%20from%20metric%26nbsp%3BAvg.%20Disc%20sec%2FRead.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20advice%20me%20what%20I%20will%20must%20do%20to%20display%20data%20from%20Logs%20at%20Metrics%20charts%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20your%20reply%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELada%20Cernik%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1516212%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Monitor%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1518290%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20create%20from%20Logs%20a%20chart%20in%20Metrics%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1518290%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F566426%22%20target%3D%22_blank%22%3E%40lacoi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIts%20a%20little%20hard%20to%20see%20(maybe%20my%20eyesight)%20from%20your%205th%20picture%2C%20but%20its%20looks%20like%20you%20are%20trying%20to%20look%20at%20the%20metrics%20of%20the%20workspace%20rather%20than%20the%20resource%20(Virtual%20Machine).%26nbsp%3B%20Swap%20the%20%3CEM%3Enamespace%3C%2FEM%3E%20to%20the%20metric%20you%20want%20to%20see.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202020-07-13%20095347.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204998iC56F4779E518A79B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Annotation%202020-07-13%20095347.jpg%22%20alt%3D%22Annotation%202020-07-13%20095347.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20look%20in%20the%20Overview%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Foverview%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ELogs%20(where%20you%20have%20the%20%3CSTRONG%3EPERF%3C%2FSTRONG%3E%20table%20are%20in%20%22logs%22%20workspace%20(one%20you%20setup%20and%20name)%2C%20but%20Metrics%20are%20in%20another%20workspace%20(which%20you%20don't%20have%20to%20worry%20about...its%20provided%20top%20customers)%3B%20so%20you%20can%20just%20look%20for%20the%20resource.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,
I have got in my Azure resource group (tenant - subscription) one Log Analytics Workspace.

 

Log Analytics Workspace consume data (metrics) from my on-premise virtual machine by Log Analytics Agent.

 

I see data (metrics) at Logs, that is ok.

 

But when I want to see data (metrics) at Azure Monitor - Metrics, I do not see any.

 

Respectively I see empty chart with metrics for example: Avg. Disc sec/Read but
at Logs I have many records from metric Avg. Disc sec/Read.

 

Can you advice me what I will must do to display data from Logs at Metrics charts?

 

Thank you in advance for your reply

 

Lada Cernik

2 Replies

@lacoi 

 

Its a little hard to see (maybe my eyesight) from your 5th picture, but its looks like you are trying to look at the metrics of the workspace rather than the resource (Virtual Machine).  Swap the namespace to the metric you want to see.

Annotation 2020-07-13 095347.jpg

 

If you look in the Overview: https://docs.microsoft.com/en-us/azure/azure-monitor/overview

Logs (where you have the PERF table are in "logs" workspace (one you setup and name), but Metrics are in another workspace (which you don't have to worry about...its provided top customers); so you can just look for the resource.  

 

Hi, @Clive Watson.

I think that my problem is

that I collect data only from Windows agent (Log analytics agent at on-promise OS Windows).

I do not collect data from other resources (like Azure VM and so on).

I find out the source

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-platform#compare-azure-monitor-me... where is: 

Data sources include

MetricsPlatform metrics collected from Azure resources. Applications monitored by Application Insights. Custom defined by application or API.

LogsApplication and resource logs. Monitoring solutions. Agents and VM extensions.
Application requests and exceptions. Azure Security Center. Data Collector API.

 

Thank you for reply.