Megosztás a következőn keresztül:


Az ABSBotRequests tábla lekérdezései

Ügyfelek Direct Line csatornára

Az ügyfelek naplói a csatornakérések Direct Line.

// All the API calls that clients make to Direct Line channel
// e.g. Generate a Token, Refresh a Token, Post an Activity, Get Activities, GetAttachments, etc.
// You can adjust the limit value to the number of logs you would like to retrieve.
ABSBotRequests
| where OperationName contains "ClientToDirectLine"
| sort by TimeGenerated desc
| limit 100

Robot csatornákhoz

A robottól a csatornákra irányuló kérések naplói.

// This shows logs of requests sent by the bot to Azure Bot Service channels.
// You can adjust the limit value to the number of logs you would like to retrieve.
ABSBotRequests
| where OperationName contains "BotToChannel"
| sort by TimeGenerated desc
| limit 100

Csatornák a robothoz

A csatornáktól a robothoz érkező kérések naplói.

// This query retrieves logs of requests sent from Azure Bot Service channels to the bot.
// You can adjust the limit value to the number of logs you would like to retrieve.
ABSBotRequests
| where OperationName contains "ChannelToBot"
| sort by TimeGenerated desc
| limit 100

Kérések Facebook az Azure Bot Service

A Facebook az Azure Bot Service Facebook Channel felé irányuló kérések naplói.

// To retrieve logs for another channel, replace FacebookToChannel with the respective channel request operation name 
// e.g. SlackToChannel, KikToChannel, GroupmeToChannel, LineToChannel, SMSToChannel, TelegramToChannel and EmailToChannel.
ABSBotRequests
| where OperationName contains "FacebookToChannel"
| sort by TimeGenerated desc

Kérések az Azure Bot Service-tól Facebook API-hoz

Az Azure Bot Service Facebook Channel és Facebook API felé irányuló kérések naplói.

// To retrieve logs for another channel, replace ChannelToFacebookAPI with the respective channel request operation name 
// e.g. ChannelToSlackAPI, ChannelToGroupmeAPI, ChannelToKikAPI, ChannelToLineAPI, ChannelToSMSAPI, ChannelToTelegramAPI and ChannelToEmailAPI.
ABSBotRequests
| where OperationName contains "ChannelToFacebookAPI"
| sort by TimeGenerated desc

Ügyfelektől Direct Line küldött tevékenységek

Naplók a tevékenységek ügyfélről Direct Line csatornára való küldésére irányuló kérelmekről.

// This query displays logs of requests sent from a client such as WebChat to Direct Line channel.
// Replace 'SendAnActivity:ClientToDirectLine' with any operation name whose logs you would like to retrieve.
ABSBotRequests
| where OperationName == 'SendAnActivity:ClientToDirectLine'
| sort by TimeGenerated desc

csatornanaplók Direct Line

Kérje le Direct Line csatornához társított naplókat.

// This query retrieves logs of requests related to Direct Line channel.
ABSBotRequests
| where Channel == "directline"
| sort by TimeGenerated desc

Sikertelen kérelmek

Sikertelen kérések naplóinak listája.

// Retrieve all logs of requests that have not been successful within a selected time range.
ABSBotRequests
| where ResultCode < 200 or ResultCode >= 300
| sort by TimeGenerated desc

Direct Line csatorna válaszkódjainak vonaldiagramja

Vonaldiagram Direct Line csatornakérések válaszkódjait.

// This query displays a Line Chart showing requests related to Direct Line channel.
ABSBotRequests
| where Channel == "directline"
| summarize Number_Of_Requests = count() by tostring(ResultCode), bin(TimeGenerated, 5m)
| render timechart

Kérelmek időtartamának vonaldiagramja

Vonaldiagram a kérések válaszideje/időtartama műveletenként.

// This query displays a Line Chart showing requests response duration per operation.
ABSBotRequests
| summarize DurationMs = avg(DurationMs)  by bin(TimeGenerated, 5m), OperationName
| render timechart

Válaszkódok vonaldiagramja

Vonaldiagram a kérések válaszállapotkódjaival.

// Display a Line Chart of requests response status codes.
ABSBotRequests
| summarize Number_Of_Requests = count() by tostring(ResultCode), bin(TimeGenerated, 5m)
| render timechart

Válaszkódok – Tortadiagram

A kérések válaszállapotkódjait ábrázoló tortadiagram.

// Display a Pie Chart showing requests response status codes.
ABSBotRequests
| summarize count() by tostring(ResultCode)      
| render piechart

Kérelemműveletek tortadiagramja

A kérelemműveleteket ábrázoló tortadiagram.

// Display a Pie Chart showing requests by operation name.
// This gives a perspective of the request operations percentage distribution in the selected time range.
ABSBotRequests
| summarize count() by tostring(OperationName)      
| render piechart