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

Is there any way to enable Log Analytics on Logic app once it is created?

I want to know is there any way to enable Log Analytics on Logic app once it is already created? I can able to see option is there while creating a new logic app but what if logic app is already created , How to enable Log Analytics on those logic…
Neo
  • 15,491
  • 59
  • 215
  • 405
0
votes
2 answers

How to gather logging of multiple resources in Azure (VM, SQL db, custom logging) - best approach?

I have multiple VMs up and running on the Azure cloud (Citrix workers, fileservers, database servers, DC, etc.) on those citrix workers I have some applications running. So far so good, Now I want to gather logging information: Server health…
0
votes
1 answer

Split dynamic column into multiple rows using using mv-expand

While using mv-expand on a dynamic value column I expect to get separate rows for each value in the column. Ultimately I want to count each separate value using summarize The dynamic value column can contain one or multiple values of any number…
0
votes
1 answer

getting duplicates records when joining in kql

We have a requirement to get status of windows service when it is started and stopped do that I have returned one query, but I am facing issue when joining 2 tables to get output. I have tried using inner and left outer joins but still getting…
Dev Reddy
  • 29
  • 1
  • 7
0
votes
2 answers

adding parameter in workbook in azure log portal

I am trying to add parameter in workbook in azure logportal. I check this article but didnot find more example for this. https://learn.microsoft.com/en-us/azure/azure-monitor/app/usage-workbooks#adding-parameter-sections Below is the query of my…
0
votes
1 answer

Azure Log Analytic > Same query but different results when pinned on a Dashboard

My below query returns a table with the corresponding values union (traces), (customEvents) | where timestamp <= now() | summarize Users=dcount(user_AuthenticatedId) by Country=client_CountryOrRegion | sort by Users desc Results: When pinning the…
Salim
  • 495
  • 3
  • 20
0
votes
1 answer

Azure Automation diagnostics not saved

What I'm trying to create is a solution where we have an Azure Automation account running some scripts and that the error messages generated from the jobs are saved in an Azure resource where we can setup alerts and analyze the errors. The Azure…
0
votes
1 answer

Getting user initiated restart information of a VM through Log Analytics

Is there any way to get user initiated restart in azure VM as if the VM is started or restarted from portal then it will display in activity log but how can i get information about restart or start of VM if any user initiated it from inside the VM…
0
votes
1 answer

With Azure Log Analytics, is there has a way to set an alert rule based on the Search Query Results?

With Azure Log Analytics, I use the log to monitor something and I'm setting up a new alert based on the query results. How do I need to set the coding/query? I tried on writing some coding to see the performance of CPU, memory on Azure Log and…
Arthur
  • 103
  • 11
0
votes
1 answer

How do I read and write to immutable blob storage in azure

I would like to put audit data in immutable blob storage. Is there a specific format that needs to be written in? Also once written how do we query or see this data in case we have to look at the data. Would log analytic be able to this?
kumar
  • 8,207
  • 20
  • 85
  • 176
0
votes
0 answers

How to check which Virtual Machine are registered in log anlytics workspace using api call?

I want to check whether my Virtual Machine is registered in log anlytics workspace or not.
paras mehta
  • 159
  • 1
  • 2
  • 7
0
votes
1 answer

Azure shared dashboard is not be updated

I have such a query: let start=datetime("2019-06-22T01:44:00.000"); let end=datetime("2019-06-22T07:44:00.000"); let timeGrain=5m; let dataset1= requests | where timestamp > start and timestamp < end ; dataset1 | summarize Gesamt=sum(itemCount) ,…
Kaja
  • 2,962
  • 18
  • 63
  • 99
0
votes
2 answers

Stop Creation of Log Analytics Workspaces

I want to stop creation of Log Analytics workspaces, what is the best way to achieve this? can you do this via azure policies, if so how? thank you in advance, Kelly
kay106
  • 65
  • 5
0
votes
0 answers

Replacing parameters based on outcomes

in the below script we are checking avg availability of URL status in the selected time range and also latest health status for last 3 minutes all works good but as you know log analytics data injection is slow few times because of that when…
Dev Reddy
  • 29
  • 1
  • 7
0
votes
1 answer

Querying IIS logs from blob using Azure Log Analytics (formerly OMS)

I am attempting to use Azure Log analytics to query IIS logs that sit in four separate storage accounts (based on region) that are generated from our WebApps. Is this possible? I'm only seeing azure activity logs on my queries - I'm very new to log…