Questions tagged [azure-log-analytics]

Use for Azure Monitor Log Analytics questions (was: OMS)

Azure Monitor Log Analytics is a service in Azure that monitors your cloud and on-premises environments to maintain their availability and performance (used to be known as Operations Management Suite - OMS). It collects data generated by resources in your cloud and on-premises environments and from other monitoring tools to provide analysis across multiple sources. This article provides a brief discussion of the value that Log Analytics provides, an overview of how it operates, and links to more detailed content so you can dig further.

1047 questions
0
votes
1 answer

get current status instead timerange

in Azure workbooks with the below query I am able to get avg of 2 columns a as per time range selected but here least time we can select is 30 mins we have a requirement to show last 1 min status of the result for that I need another column and show…
Dev Reddy
  • 29
  • 1
  • 7
0
votes
1 answer

Azure VM diagnostics for SQL server not showing in log analytics

I have enabled sql server as part of performance counters. but when I a check log analytics or under metrics or Monitor. I see nothing. does it take time for data to come through? or some more setting is required.
kumar
  • 8,207
  • 20
  • 85
  • 176
0
votes
1 answer

Is there a way to see all resources sending logs to a log analytics workspace?

I know that I can go to "Azure Resources" to view the resources that are connected, but it doesn't list everything that I have set to point to the workspace. For instance, CDN endpoints don't have a setting that you can configure in the portal, but…
Kathrine Stack
  • 189
  • 1
  • 2
  • 14
0
votes
1 answer

Azure LogAnalytics query for disabled Traffic Manager Profile

I'm looking to query Azure Network/"trafficManagerProfiles events from Log Analytics and more specifically when Traffic Manager Profile is in status Disabled. I've managed to find a specific event and found that I need to look at "profileStatus"…
0
votes
1 answer

Azure Automation Update Managemet schedules can be removed using powershell, but they still exist in the portal

If I used Get-AzAutomationSchedule for my automation account, I get nothing in return because I used Remove-AzAutomationSchedule for all of them. But if I look in the portal, every schedule I've deployed is there present. If I select a schedule that…
0
votes
1 answer

Azure - Unable to remove Log Analytics and solution

I’m trying to delete a log analytics and a solution but I’m unable to do it using the portal because of errors. Already made sure that nothing is referencing the log analytics (exception is the solution). Tried to do it using azure powershell but…
FEST
  • 813
  • 2
  • 14
  • 37
0
votes
1 answer

Azure long-term audit log

We have a medical application that requires to store audit logs for 6 years (HIPAA requirement). Looking at the new Azure Monitor service, it seems it will retain information for a maximum of 730 days (see…
Jaime
  • 5,770
  • 4
  • 23
  • 50
0
votes
1 answer

How do I make my dashboard widget render as a barchart and not a table - Azure Dashboard

I have a custom log query that works fine and renders properly in App-Insights as a bar chart as I have specified. However, when trying to show it on a Dashboard, it only shows the chart data and I can't figure out how to get it to render as a…
0
votes
1 answer

setAzVMextension to connect VM to Log analytics

With the following code I want to connect my VMs to my log analytics workspace. $ResourceGroup = "stackoverflow" $WorkspaceName = "dontberudepls" $AllVMs = Get-AzVM -ResourceGroupName $ResourceGroup for ($i=0; $i -lt $AllVMs.length;…
achahbar
  • 901
  • 3
  • 21
  • 47
0
votes
1 answer

Track Resource deletion from Azure ActivityLog in LogAnalytics

I am trying to alert/visualize Resource changes like creation/deletion of Azure resources using Log Analytics/OMS. I am able to find new deployments using: AzureActivity | where ActivityStatus == 'Succeeded' and OperationNameValue contains …
Sumesh
  • 123
  • 2
  • 13
0
votes
2 answers

PatchResourceNotFound error while calling azure rest API

when i am calling below log alerts azure rest api able to enable/disable only application insights) same api when calling alerts created on log analytics its throwing error "PatchResourceNotFound"…
Dev Reddy
  • 29
  • 1
  • 7
0
votes
1 answer

Is there any KQL queries to extract page views, download counts from the W3C IISlogs on Azure-Log analytics?

We're trying to extract page views, file download count, users list from w3c IIS logs. we want to define what's page view, i.e. any user stayed on same page more than 10 sec to be a one page view. anything less is not a page view. w3c logs doesn't…
Raj
  • 15
  • 6
0
votes
1 answer

Log analytics query optimization

I run this query on log analytics Perf | where TimeGenerated >= ago(5m) | join kind = inner …
Zack ISSOIR
  • 964
  • 11
  • 24
0
votes
1 answer

Possibilities of tracing REST trace time with azure log analytics similar to zipkin

We are in process to keep all monitoring and logging stuff outside of AKS. we got some success with Azure log analytics as well. I am checking if Azure log analytics provide any feature similar to zipkin. i.e. providing trace of REST API.
Ganesh Pol
  • 413
  • 1
  • 8
  • 29
0
votes
1 answer

Create Azure SQL Analytics via Powershell

I'm wondering if there is a specific Powershell command to create Azure SQL Analytics resource. So far I've only found how to enable sending diagnostics logs to a Log Analytics workspace. I assume I can try arm template, but it will be nice if…