requests
| where success == "False" and timestamp >= ago(7d)
| join kind= inner traces on operation_Id
| project operation_Id , timestamp, message, severityLevel, appName
| order by timestamp, operation_Id
Note: severityLevel :- 1 = Info and 3 = Error
requests
| where success == "False" and timestamp >= ago(7d)
| join kind= inner (
traces
| where severityLevel == 3
) on operation_Id
| project operation_Id , timestamp, message, severityLevel
| order by timestamp, operation_Id
requests
| where success == "False" and timestamp >= ago(7d)
| join kind= inner (
traces
| where severityLevel == 3
) on operation_Id
| summarize event_count=count() by bin(timestamp, 1h)
| render timechart
union *
| count
requests
| count
requests
| where timestamp >= ago(1d)
| where operation_Name matches regex ".*Func"
| limit 10
| order by timestamp desc
requests
| where timestamp >= ago(1d)
| where * has "function"
requests
| where timestamp > ago(1d)
| where duration > 1000
| limit 100
| order by duration desc
traces
| where timestamp <= ago(1d)
| where message has "header"
| extend jsonObj = parse_json(message)
| project timestamp, messageTimestamp=jsonObj.messageTimestamp, message
| limit 1000
| order by timestamp desc
requests
| where timestamp > ago(1d)
| extend responseBucket = iff(duration > 1000, "Too long", "Ok")
| project name, duration , responseBucket
requests
| where timestamp > ago(7d)
| summarize slaMet=count(duration<2000),slaBreached=count(duration>=2000) by bin(timestamp, 1h)
| render timechart
requests
| where timestamp > ago(7d)
| summarize slaMet=count(duration<2000),slaBreached=count(duration>=2000), totalCount=count() by bin(timestamp, 1h)
| extend pctIndex = slaMet * 100.0/totalCount
| project pctIndex ,timestamp
| render timechart
requests
| where timestamp > ago(1d)
| summarize percentiles(duration, 50, 95), reqCount100s=count()/100 by bin(timestamp, 1h)
| render timechart
requests
| where timestamp >= ago(7d)
| where success == "False"
| summarize arg_max(timestamp, name, resultCode) by cloud_RoleInstance
traces
| where timestamp >= ago(7d)
| summarize Count=count() by message
| reduce by message
pageViews
| where timestamp >= ago(7d)
| summarize dcount(name) by session_Id
| order by session_Id
pageViews
| where timestamp >= ago(7d)
| summarize dcount(name) by session_Id
| order by dcount_name
pageViews
| where timestamp >= ago(7d)
| order by timestamp desc
| summarize pageVisited = makelist(name) by session_Id
| top 10
pageViews
| where timestamp >= ago(7d)
| order by timestamp desc
| summarize pageVisited = makelist(name) by session_Id
| summarize count() by tostring(pageVisited)
| top 10 by count_ desc
traces
| where timestamp > ago(3d)
| join kind= inner (
traces
| extend jsonObj = parse_json(message)
| where timestamp > ago(3d)
| where message matches regex ".*RAM01355"
| limit 1
) on operation_Id
| order by timestamp asc
traces
| extend jsonObj = parse_json(message)
| where operation_Name == "ApplicationName"
| where timestamp > ago(30d)
| search "2c2373f5-5adb-4552-9b44-f303770c4abc"
| limit 50
| order by timestamp asc
let start = datetime(2019-01-25T00:00);
customMetrics
| where timestamp > start
| where timestamp < start +1m
| where name == "Function1 Successes"
| summarize uniqueVMCount=dcount(cloud_RoleInstance)
let start = datetime(2019-01-25T00:00);
customMetrics
| where timestamp > start
| where timestamp < start +1m
| where name == "Function1 Successes"
| summarize sum(value) by cloud_RoleInstance
| render piechart
let start = datetime(2019-01-30T00:00);
customMetrics
| where timestamp > start
| where timestamp < start +1d
| where name in ("Func Successes", "Func Failures" ,"Func Duration")
| summarize sum(value) by name, timestamp
| render timechart
let operationids = toscalar ( // convert single column to value
traces
| where operation_Name == "Function" and message contains "1560"
| summarize makeset(operation_Id));
traces
| where operation_Id in (operationids)
traces
| where operation_Name == "Function" and message contains "1560"
| distinct operation_Id
traces
| extend functionName = tostring(customDimensions["prop__functionName"])
| extend instanceId = tostring(customDimensions["prop__instanceId"])
| extend state = tostring(customDimensions["prop__state"])
| extend isReplay = tobool(customDimensions["prop__isReplay"])
| extend output = tostring(customDimensions["prop__output"])
| extend functionType = tostring(customDimensions["prop__functionType"])
| where isReplay != true
| project timestamp, instanceId , functionName ,state, output , appName = cloud_RoleName , functionType
| summarize arg_max(timestamp, *) by instanceId
| order by timestamp desc nulls last