azure-log-analytics

Error setting up Azure Function within Azure Resource under Log Analytics Workspace

[亡魂溺海] 提交于 2019-12-02 08:59:54
I have error setting up Azure Function within Azure Resource under Log Analytics Workspace. When only AllMetrics is checked, it works. But whenever FunctionExecutionLogs is checked, error occurs like below: 1.Nav to your log analytics workspace in azure portal. 2.in the left blade, select Workspace Data Sources -> Azure Resources, then click your azure function there. Check FunctionExecutionLogs and error occurs. Any idea? Setup data used by Azure Log Analytics with Azure Fucntions Update We would like to understand more on Application InSights and Log Analytics, and use the best tool for us.

Unable to add Custom logs to Log Analytics

…衆ロ難τιáo~ 提交于 2019-12-02 04:05:09
Hi All, I am unable to add custom logs Log analytics -> Advanced Settings -> Data->Custom Logs though in the connected resource it's showing my machine connected. am I missing some thing? PS : I am using azure trail account Currently, Custom Logs is in preview, you need enable it on OMS Portal firstly. Firstly, click OMS Portal . Then, enable Custom Logs feature. 来源: https://stackoverflow.com/questions/49034162/unable-to-add-custom-logs-to-log-analytics

How to create comments in Azure Log Analytics

旧巷老猫 提交于 2019-12-01 23:18:20
I'm trying to create comments in my Azure Log Analytics queries and I'm stumped. Part of my challenge I think is treating this system as if it were SQL, which it is clearly not. using "--" for instance results in a syntax error traces | where severityLevel > 1 -- this is an example of a line comment | where message !contains "DiagnosticsLogger.GetMethod contains message 1" | where message !contains "DiagnosticsLogger.GetMethod contains message 2" | summarize by timestamp, message, severityLevel Couldn't find anything for search term "Comment" either on the https://docs.loganalytics.io