Forum Widgets
Latest Discussions
Availability on OMS
Hi everyone. I'm trying to find a way of getting Availability of servers on OMS, but I can't find any... By Availability I mean the % of uptime of a given server during a certain period of time. So, if a server was up 98 of a total 100 hours, the availability for that period is 98%. I'm looking to do that in OMS, but I'm not sure it's possible. Thanks in advance.Solved34KViews0likes36CommentsGeolocation query from IP address
Hi, Any idea if that's possible (and if yes - how) to add resolving of IP address to geolocation and any other IP information in a query in Log Analytics? For example, part of the message body I have in custom log is IP address, I would like to add a column (e.g. - extend) that resolves this IP address to its location in the world. Alternatively, if there was an option to call a rest service during query, I could call something like ipstack, and receive the required information. An example of simple query: MyEvents | extend IPAddress = extractjson("$.request.ipaddress", Message) | extend Country = extractgeo("$.country", IPAddress) Hopefully that was clear enough 🙂 Thanks! P.S. In PowerBI this can be achieved with Json.Document(Web.Contents("rest service url")....philip-patrickJan 08, 2019Copper Contributor43KViews0likes25CommentsAlert "Monitor Condition" never changes
We're starting our journey from SCOM to Azure Monitor and have run into an issue with Azure Alerts (sorry for posting this in Azure Log Analytics, but there is no Azure Monitor Tech Community). I've noticed that when an Azure Alert is generated, that the Monitor Condition never changes from "Fired" to "Resolved". According to the https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-unified-alerts#alert-rules, the Monitor Condition, "Indicates whether the condition that created a metric alert has been resolved. Metric alert rules sample a particular metric at regular intervals. If the criteria in the alert rule is met, then a new alert is created with a condition of "fired." When the metric is sampled again, if the criteria is still met, then nothing happens. If the criteria is not met, then the condition of the alert is changed to "resolved." The next time that the criteria is met, another alert is created with a condition of "fired."" Despite the condition no longer being met (for instance, a service down), the Monitor Condition never changes. Am I missing something?ScottAllisonOct 03, 2018Iron Contributor19KViews4likes25CommentsMachine not sedning pings
Kusto query Heartbeat | where TimeGenerated > ago(24h) | where Computer != "NH-CMVMAAZ.networkhg.org.uk" and Computer != "UAT-WVD-REL86-0.networkhg.org.uk" | summarize LastCall = max(TimeGenerated) by Computer, ComputerEnvironment | where LastCall < ago(10m I need assistance with this query, I don't want to be reported for the following servers in not sending pings, those severs get shutdown at 10:00pm UK time and starts at 6:00am uk time. I don't want those servers to be reported from 10:00pm to 6:00am, how can I amend my existing query and make this possibleArslan11May 04, 2020Brass Contributor5.3KViews0likes25CommentsTable count from custom log
Hello, I would like to get the count of table name reference in my custom log which is pushed to the Log analytics. The custom log structure is given below. 020-08-31 16:15:38 ProxyEngine [INFO] api invoked by user abcd with db user as default api user 2020-08-31 16:15:38 JdbcTemplateService [DEBUG] getting basic api user userapi 2020-08-31 16:15:38 SqlTrigger [INFO] sql fired is select * from table_1 2020-08-31 16:15:39 SqlTrigger [INFO] total records found 301 2020-08-31 16:15:39 SqlTrigger [INFO] done fetching of data 2020-08-31 16:15:50 ProxyEngine [INFO] api invoked by user xyz with db user as default api user 2020-08-31 16:15:50 JdbcTemplateService [DEBUG] getting basic api user userapi 2020-08-31 16:15:50 SqlTrigger [INFO] sql fired is select * from table_2 2020-08-31 16:15:51 SqlTrigger [INFO] total records found 305 2020-08-31 16:15:51 SqlTrigger [INFO] done fetching of data 2020-08-31 16:16:02 ProxyEngine [INFO] api invoked by user abcd with db user as default api user 2020-08-31 16:16:02 JdbcTemplateService [DEBUG] getting basic api user userapi 2020-08-31 16:16:02 SqlTrigger [INFO] sql fired is select * from table_1 2020-08-31 16:16:34 SqlTrigger [INFO] total records found 301 2020-08-31 16:16:34 SqlTrigger [INFO] done fetching of data The expected output Table name count table_1 2 table_2 1 Can someone provide the KQL query to get the above output? thanks in advance.alchem_rjSep 01, 2020Copper Contributor6.8KViews0likes23CommentsAzure Backup Report
Hi Team, Can anyone help me to generate the report using Log Analytics workspace in azure backupSolvedKalaimaniJul 09, 2020Brass Contributor8.2KViews0likes22CommentsLog Analytics Workspace with Multiple subscription
Hi Everyone, Good Day! I have couple doubts in Log analytics could you please help me to understand! 1. to my understanding we can created a workspace with only one subscription. Which means the log analytics will monitor only the resource are part of that subscriptions. Am i right? 2. if i have multiple workspaces for multiple subscriptions then is that possible to bring all of them under one Dashboard? Thanks in advanceSolvedS_I_KaleelJan 24, 2019Copper Contributor50KViews0likes18CommentsKQL question
AzureActivity | summarize LastActivity = max(TimeGenerated) by ResourceProvider, ResourceGroup | join kind = innerunique( AzureActivity | summarize Operations = count() by ResourceGroup, ResourceProvider) on ResourceGroup, ResourceProvider |project ResourceProvider, ResourceGroup, Operations, LastActivity |sort by Operations The above KQL is used to print 4 columns I need to print the fifth column as well that highlights the percentage of operations per Resource Group and Resource provider. There have to 5 columns in the result Resource Provider, Resource Group,Number of Operations (Activities), Last activity time, Percentage Can someone help me with this?uditk14Jun 22, 2020Copper Contributor6.2KViews0likes16CommentsAfter change log analytics workspace VM shows "Enabling - Waiting for data" for hours
Hello, after changing the Log Analytics Worspace, the Azure Monitor shows "Enabling - Waiting for data" for my VMs This display has been up for several hours. The VMs are also not monitored in the display. As soon as I request values via the query, they are displayed correctly. What can I do to see the display in Azure Monitor correctly again? Thanks Regards StefanStefanKiJun 06, 2020Iron Contributor8.2KViews0likes16Comments
Resources
Tags
- azure monitor1,092 Topics
- Azure Log Analytics400 Topics
- Query Language247 Topics
- Log Analytics63 Topics
- Custom Logs and Custom Fields18 Topics
- solutions17 Topics
- Metrics15 Topics
- Workbooks14 Topics
- alerts14 Topics
- application insights13 Topics