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

Adding NSG to Log Analytics Workspace fails

Trying to add a Network Security Group to a Log Analytics Workspace, getting the following error. This used to work in version 5.0.0 but no longer works with 5.0.1. Set-AzureRmDiagnosticSetting -ResourceId $NsgFrontendSubnet.Id -WorkspaceId…
Felix Bodmer
  • 291
  • 2
  • 16
0
votes
0 answers

log analytics to collect and analyse IIS Logs

I have Web API application deployed in azure cloud service. cloud service instance auto scale is enabled . some time instance count will be 2 and sometimes it will be 6 based on demand. I want to collect iis logs from server. and also i want to…
0
votes
1 answer

Split custom fields in Power BI

I am getting data from Azure Log Analytics to Power BI using the M Language Query generated directly from the OMS Portal. The issue that, the custom columns are getting loaded into the Power BI in a single column in the below format with the column…
0
votes
1 answer

Where Azure Log Analytics store the data

I started to study Azure Log Analytics and I'm wondering a very simple question: where are stored the data? Is there a kind of database behind this resource? How can I access that? If not, is there a way to "redirect" the logs into a particular…
Brianenno
  • 51
  • 9
0
votes
1 answer

How to enable Custom Logs for Azure Log Analytics?

I am trying to enable Custom Logs for Azure Log Analytics. I looked at the official documentation which says this: After you are redirected to the OMS portal, click the Settings tile on the top right-hand side of the page. I also found this stack…
JKennedy
  • 18,150
  • 17
  • 114
  • 198
0
votes
1 answer

App Insights 'join' that returns only the first result

I have a job running hourly (at slightly different times) and logging metrics into Application Insights. I want to trigger an alert based on the metrics from the latest job run. let metrics = customMetrics | where ... | extend run = bin(timestamp,…
Iain
  • 1,797
  • 1
  • 20
  • 38
0
votes
1 answer

Azure Application Insights Analytics Query join by parsed url and summarize

I need to combine requests and customMetrics tables by parsed url. On output it should have common parsed url, avg duration of requests and avg value of requests from CustomMetrics. This code doesn't work ^( let parseUrlOwn = (stringUrl:string) { …
RaShe
  • 1,851
  • 3
  • 28
  • 42
0
votes
1 answer

Log Analytics API does not show in the AAD registered app API list

I'm using Azure Log Analytics to write application logs to it, like trace and error logs and also audit logs. I would need to be able to query this log data in my web application in a flexible way (no static searches), so I came up to their REST…
0
votes
2 answers

How to fetch data from OMS workspace

I read the documentation yesterday and done some coding with python to fetch data in the following way. It's working fine. import logging as log import adal import requests import json import datetime from pprint import pprint # Details of…
Sachin Aryal
  • 781
  • 14
  • 36
0
votes
1 answer

How to group values on a distinct runID

hi I'm trying to group some values related to a run Id by that run ID. so what i have is: AzureDiagnostics | where resource_workflowName_s =="RABE_REST_CARUS_V2" | where resource_actionName_s != "" and resource_actionName_s ==…
H4p7ic
  • 1,669
  • 2
  • 32
  • 61
0
votes
2 answers

Azure Log Analytics 403 error

Getting error 403 whenever I'm trying to save any changes in the Advanced setting of the Azure Log Analytics. I'm the owner of the subscription and still getting this error.Please check to attached file for more clarity. Please help me.
kevin peter
  • 541
  • 1
  • 4
  • 19
0
votes
1 answer

Configuring Azure log analytics

I am following this documentation https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-monitor to configure a monitoring solution on AKS with the following yaml file apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name:…
user_mda
  • 18,148
  • 27
  • 82
  • 145
0
votes
1 answer

Application insights to Log analytics customDimentions cuts stacktrace data

Hi i am wondering why my stack trace gets cut when i'm logging it in log analytics with Application insight? as you can see in the image i don't get the whole stack trace for some reason. i'm logging it like this in my application: catch…
0
votes
2 answers

Disk query in Log Analytics on Azure

I was wondering if I could get some help with Log analytics. New to this so bear with me. I'm trying to create a query that will provide informtaion on disk utilisation in Azure. I've gottwo commands (below), however I'm not able to merge them as I…
Norrin Rad
  • 881
  • 2
  • 18
  • 42
0
votes
0 answers

Which is the best way to copy all dashboards from one workspace to another in Azure?

I have one workspace in Azure Cloud and in which I have lot's of Dashboard, savedSearches and Alerts in Log-Analytics(OMS). Now I want to copy everything into another workspace how can I do that? One way that I know is I can export every dashboard…
JavaCoder
  • 11
  • 4