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
2
votes
2 answers

How can I see or filter traces for the logger name in Azure Application Insights?

When an ILogger is initialised, we give it a name which is often the type name. When logs are written through it this value is clearly printed to the console. Also, the severity filtering in config works via this name. However, I can't seem to see…
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
2
votes
1 answer

how to send metrics with OpenCensus

I am trying to send metrics in Python using OpenCensus and Azure Application Insights. Ideally I would like to send some Python dictionaries with arbitrary structure, however it seems that OpenCensus is "automatically listening to logging/print…
TPPZ
  • 4,447
  • 10
  • 61
  • 106
2
votes
0 answers

Azure Log Analytics returning wrong duplicates

when pushing the IIS logs to Azure log analytics, then Azure log analytics produces multiple results for 1 row! I have 2 Azure Windows VMs with a load balancer in front of them, doing round robin. For example, in the IIS log file of server 1 (on…
Herbi
  • 103
  • 8
2
votes
1 answer

Azure Logic Apps - Logging for Business Audit

I have built an integration solution between 2 systems. Azure Logic App provides logged capability but it is mainly meant for Azure developers. I have a requirment to maintain logging of my logic app based on some predefined events as mentioned…
Varun05
  • 389
  • 3
  • 13
2
votes
1 answer

How to add Azure Scaleset to Log Analytics

How do I add Azure Scale Set to Log analytics. From log analytics I am able to see the VM but unlike VMs the connect button is not enabled. What do I need to do. to enable this connection.
kumar
  • 8,207
  • 20
  • 85
  • 176
2
votes
2 answers

Can you see the Firewall Rule that was triggered on Azure Application Gateway WAF

We're using the Application Gateway WAF in prevention mode and it's blocking some of our Mobile App Client requests. I switched the WAF into Detection mode and output the logs to Log Analytics. I can see some information about the requests being…
David C
  • 501
  • 1
  • 4
  • 16
2
votes
0 answers

unable to connect Azure china log analytics from Grafana

Able to connect to Azure rest of world Log analytics from Grafana but not to china Azure log analytics. Followed the same steps . Getting below error : Successfully queried the Azure Monitor service. Azure Log Analytics: Cannot connect to Azure…
2
votes
2 answers

How to ingest Azure web app/web job custom logs into a Azure Monitor Log analytics workspace

We have websites and webjobs hosted in Azure app services that log custom application log data to Azure blob storage (using Monitoring > App service Logs > Application Logging (Blob) option in the app service). We would like to send these log files…
2
votes
1 answer

Query to Get Percentage Failed Requests Azure Application Insights

I am trying to build an ALERT for a condition where in a timespan of 15mins if the number of FailedRequests were Greater than 99% of the requests received I want to raise the Alert. I have written a KQL Query but unfortunately it just fires of even…
2
votes
3 answers

Azure Log Analytics (Kusto) Convert from hex

Is there a way to convert from hex in Kusto? I see a scalar function to convert to hex, but I want to convert from hex. https://learn.microsoft.com/en-us/azure/kusto/query/tohexfunction
Sean
  • 63
  • 1
  • 4
2
votes
1 answer

kusto language pivot 2 columns

I have following query in kusto language: AzureActivity | where ResourceProvider == "Microsoft.Compute" | where OperationName in ('Deallocate Virtual Machine','Start Virtual Machine') | where ActivityStatus == 'Succeeded' | order by Resource…
achahbar
  • 901
  • 3
  • 21
  • 47
2
votes
2 answers

Restrict Log Analytics logging per deployment or container

We've seen our Log Analytics costs spike and found that the ContainerLog table had grown drastically. This appears to be all stdout/stderr logs from the containers. Is it possible to restrict logging to this table, at least for some deployments or…
Dave New
  • 38,496
  • 59
  • 215
  • 394
2
votes
4 answers

Querying Log Analytics So That It Returns a List of All Table Names

I am using Python to call queries against my Azure Log Analytics Workspace. In order to provide maximum scalability, I would like to implement a query which returns all table names within my Log Analytics workspace. Essentially, I would like to…
2
votes
2 answers

Azure Log Analytics - Alerts Advice

I have a question about azure log analytics alerts, in that I don't quite understand how the time frame works within the context of setting up an alert based on an aggregated value. I have the code below: Event | where Source == "EventLog" and…
OptimusPrime
  • 777
  • 16
  • 25
2
votes
1 answer

Kusto queries render function ignores specified Y range

I'm having a problem with the analytics tools, specifically the Analytics inside Application Insights as well as the Logs analytics inside a Log Analytics workspace. Regardless of query or chart type, when I specify with(ymin=x, ymax=y) values to…