Forum Widgets
Latest Discussions
Azure Monitor Alert for low disk space percent and MB
Hello, I am trying to create a KQL query that will alert me if the diskspace percentage exceeds a percentage threshold. But I also want the alert to show how much used space and free space is left in MB. I have the below query that shows the percentage. How can I get it to show theused space and free space is left in MB? Thank you. InsightsMetrics | where Origin == "vm.azm.ms" | where Namespace == "LogicalDisk" and Name == "FreeSpacePercentage" | summarize LogicalDiskSpacePercentageFreeAverage = avg(Val) by bin(TimeGenerated, 15m), Computer, _ResourceIdJoseO1335Nov 06, 2024Copper Contributor76Views0likes1CommentAzure Deployment Dashboard
Is there a way build dashboard view for Deployment status (Active, Successful, Failed) from activity logs across subscriptions on my tenant. I tried Azure Resource Graph table deploymentresources , but does not provide who (actor) and when details. Please advise.SolvedkudumumNov 04, 2024Copper Contributor77Views0likes1CommentHelp with LogAnalytics in Azure
I have a LogAnalytics Workspace and a workbook. I want to create custom tables. when I try to create a Custom DCR table on the 2nd screen it wants me to import a .json file. WTF? I have no .json file, I just want to create a few tables and then use PowerShell to write data to them. why is this asking for a .json file? How do I create this .json file? what is the format of this .json file? If I have 5 fields (or 5 tables I want to create) T1, T2, T3, T4, T5 Also, is there any really good YouTube vids on creating workbooks? What I really want to do is collect data from systems using PowerShell and then write that data to my workbook. Any detailed instruction on doing that would be nice. Thanks.MattH010101Nov 01, 2024Copper Contributor85Views0likes1CommentMetricsQueryClient returning different results based on timespan
I'm using the PythonMetricsQueryClient to list out how many tokens were usedon certain days via the APIM policy "azure-openai-emit-token-metric". The problem is that when I call the query_resource() function with "timespan" set for the entire month of October, I get different results for token count usage for today's date than when I set the "timespan" to just the last 48 hours. For example, when setting the timespan to be from 10/20/2024 to 10/22/2024, I see 34 prompt tokens for today's date. But if I set the timespan to be 10/1/24 to 11/1/24, I see 0 prompt tokens for today's date. Is this a known issue? It is documented somewhere?BenjaminN700Oct 21, 2024Copper Contributor70Views0likes0CommentsAzure Monitor agent sends logs to two LA workspaces in different accounts
Our company has many different Azure accounts and subscriptions. Can we install AMA on one server to support sending logs to LA workspaces under different accounts? For example, logs are sent to East Asia and China (East Asia and China are physically isolated)kimmytliuOct 21, 2024Copper Contributor86Views0likes0CommentsUnable to access Log analytics workspace even with Global admin.
Hi team, I am getting following error message. I am logged in with Global admin and trying to access log analytics table from Azure Portal. As per the error below it is referecning to AMPL but not sure how to remove the same. I tried creating new log anlaytics still facing the same error while accessing the table in it. {"error":{"message":"The provided credentials have insufficient access to perform the requested operation","code":"InsufficientAccessError","correlationId":"d7495369-b7a4-4c09-813d-58d3d392a568","innererror":{"code":"PrivateLinkValidationFailedError","message":"Private link connection does not allow querying resource '/subscriptions/0b7140c5-XXX-424058357e6e/resourceGroups/insight/providers/microsoft.operationalinsights/workspaces/avdins' not attached to the current scope"}}}amolpawar87Oct 03, 2024Copper Contributor1.2KViews1like3CommentsPushing Log Analytics Workspace tables into SQL databases
Hi, I am trying to push Log Analytics data into PowerBI with a custom refresh schedule. Since this is not already supported by PowerBI I am trying to push it into a SQL database instead which is then connected to PowerBI. Is there a specific script I can run to achieve this and then use a task scheduler to push the data regularly? Suggestions for a different approach will also be helpful. Thank YouMitali645Sep 11, 2024Copper Contributor3KViews0likes2CommentsAzure Monitor and Grafana
Hi All, Has anyone been able to setup Azure Monitor in Grafana to pull and display metric data? I have no issue connecting and finding log data (resources), but I cannot get any metric data to be discovered by the Grafana plugin. I can see and use the metric data in Azure, but not in Grafana. The account configured has read over the resources and will display log data fine. Any help and suggestions would be appreciated. Thanks.DavinderDSep 03, 2024Copper Contributor128Views0likes0CommentsREST endpoint for querying in log traces (kusto based)
Do anyone here know if there exists a REST endpoint for querying in log traces (kusto based) like this sample: traces | where timestamp > ago(60m) | parse message with xx "instance=" instance "," yy | summarize ['instances'] = dcount(instance) by bin(timestamp, 60sec) It works in Azure portal but I would like to execute the query programmatically and not through a UI. /kristiankhmi905Aug 23, 2024Copper Contributor174Views0likes1CommentAzure Monitoring Agent Extension - no update
Hello, I am using Azure Arc along with the AzureMonitorLinuxAgent and AzureMonitorWindowsAgent extensions. However, I've encountered multiple instances where the version listed in the changelog for the Azure Monitor Agent extension (Azure Monitor Agent extension versions - Azure Monitor | Microsoft Learn)is newer than the version I can see in the portal - also with azure cli or powershell, the newest version is missing - i only see the previous one. Has anyone else experienced this issue? Last time they had to redeploy something in westeurope But i guess this is no coincidence Thanks if somebody can share there experience or can help...C02_PSAug 12, 2024Copper Contributor293Views0likes0Comments
Resources
Tags
- Azure Monitor1,092 Topics
- Azure Log Analytics392 Topics
- Query Language246 Topics
- Log Analytics57 Topics
- Custom Logs and Custom Fields17 Topics
- Solutions17 Topics
- Metrics14 Topics
- Workbooks13 Topics
- Alerts12 Topics
- Application Insights12 Topics