User Profile
Meir_Mendelovich
Joined 9 years ago
User Widgets
Recent Discussions
Re: CPU Usage
Hi, Here is a query that shows highest average CPU minutes for computer "foo": Perf | where TimeGenerated > ago(1d) | where CounterName == "% Processor Time" and InstanceName == "_Total" | where Computer == "foo" | summarize avg(CounterValue) by bin(TimeGenerated,1m) | top 10 by avg_CounterValue Azure Monitor Logs query example have several examples that also shows CPU data: Deepwater_831.6KViews0likes0CommentsRe: Help with making the query work
Arslan11 , It seems to me that the query fail to parse because you were using the wrong double quote character. You used ” instead of " There are many different double quote chars that some keyboards change automatically. Other than the quote chars, I have slightly rewritten your query to make it more readable and easy to maintain: ConfigurationChange | where ConfigChangeType == "WindowsServices" and SvcState == "Stopped" and Computer has_any ("NH-P2PAPP01.networkhg.org.uk","NET-P2PLIVEAPP1.networkhg.org.uk","NET-P2PTESTAPP.networkhg.org.uk") and SvcDisplayName in ("Integra eSeries FINPROD","Integra SPC FINPROD","Integra UAS FINPROD","Integra eSeries FINDEV","Integra SPC FINDEV","Integra UAS FINDEV","Integra eSeries Duet","Integra eSeries SPTDEV","Integra eSeries FINARCH")2.3KViews0likes8CommentsRe: azure log analytics FileHash
johnadamsp, The FileHash value is coming from the Security Event on that machine. Log Analytics doesn't calculate file hashes. It is usually coming from here: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/ee844150(v=ws.11) Thanks, Meir 😆3.2KViews0likes0CommentsRe: Application Gateway Logs not shown in Azure Log Analytics
Hi John, Happy to help. Here are answers to your follow up questions: 1. There is a property called "Tenant" in many tables (e.g. Heartbeat) that include the workspace GUID. We are thinking on providing better tools to map stuff. 2. In the case you are describing, the user will be able to access only logs of resources where he has Read access to. If he has access to a VM, he can read the logs. If he doesn't have access, he won't be able to read the logs even if they are on the same workspace.20KViews0likes4CommentsRe: Application Gateway Logs not shown in Azure Log Analytics
John_McCash , From your description it seems that workspace-context access works and resource-context access doesn't. You can see all details on both here: https://aka.ms/logsaccess The first thing that comes into my mind is the resource access mode. See here and make sure that it is "both". If still not working, please approach me directly: meirm@microsoft.com and I would love to get you up and running. Meir 😆20KViews1like6CommentsRe: The workspace() expression is now causing syntax errors when its used on Azure Gov CSP
Hi brian_weatherill, We had a breaking change that probably caused this. It was quickly fixed in public instances, it takes a bit more time on isolated instances. Please let me know if the problem linger. Thanks, Meir 😆910Views0likes0CommentsRe: Azure Monitor - Centralized or per-subscription
Hi, Our recommendation is to have as few workspaces as needed. The needs depands on your business constrains, mainly around regulation. You can see all pros and cons in this article: http://aka.ms/logsdesign I would be more than happy to get feedback on it. Thanks, Meir4.6KViews0likes1CommentRe: Heartbeat query, show negative results
Hi, The most performant way would be to utilize the built-in join operator in its anti flavors: let MyCompList = datatable(Computer:string) [ "SERVER123", "SERVER456", "SERVER789" ]; MyCompList | join kind= leftanti ( Heartbeat | where TimeGenerated > ago(6h) | distinct Computer ) on Computer Thanks, Meir ScottAllison CliveWatson2.3KViews1like0CommentsRe: How to access kusto logs from a different service
Hi, You have many options to integrate the Log data into other systems: 1. You can use the Azure Monitor Logs in Logic Apps to build workflows 2. You can use PowerShell to write scripts: https://docs.microsoft.com/en-us/powershell/module/az.operationalinsights/invoke-azoperationalinsightsquery 3. You can use any REST client as explained here: https://dev.loganalytics.io/ Thanks Meir3.1KViews0likes2Comments
Recent Blog Articles
Making it easier to manage your workspace with a clearer Log Analytics Workspace menu
Customers have been using Azure Monitor Log Analytics workspaces to store and analyze logs for almost a decade. Over these years, the service has evolved, with new options being added and old technol...8KViews6likes3Comments
