Query per la tabella ABSBotRequests
Client per Direct Line canale
Log dei client per Direct Line richieste di canale.
// 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
Da bot a canali
Log delle richieste dal bot ai canali.
// 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
Canali da bot
Log delle richieste dai canali al bot.
// 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
Richieste da Facebook ad Azure servizio Bot
Log delle richieste da Facebook al canale servizio Bot Facebook di Azure.
// 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
Richieste da Azure servizio Bot all'API di Facebook
Log delle richieste dal canale servizio Bot Facebook di Azure all'API di Facebook.
// 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
Attività inviate dai client a Direct Line
Log delle richieste di invio di attività da un client a Direct Line canale.
// 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
Log del canale Direct Line
Recuperare i log associati al canale Direct Line.
// This query retrieves logs of requests related to Direct Line channel.
ABSBotRequests
| where Channel == "directline"
| sort by TimeGenerated desc
Richieste non riuscite
Elenco dei log delle richieste non riuscite.
// 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
Grafico a linee dei codici di risposta del canale Direct Line
Grafico a linee che mostra Direct Line i codici di risposta delle richieste del canale.
// 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
Grafico a linee durata richieste
Grafico a linee che mostra i tempi di risposta/durata delle richieste per ogni operazione.
// This query displays a Line Chart showing requests response duration per operation.
ABSBotRequests
| summarize DurationMs = avg(DurationMs) by bin(TimeGenerated, 5m), OperationName
| render timechart
Grafico a linee dei codici di risposta
Grafico a linee che mostra i codici di stato della risposta delle richieste.
// Display a Line Chart of requests response status codes.
ABSBotRequests
| summarize Number_Of_Requests = count() by tostring(ResultCode), bin(TimeGenerated, 5m)
| render timechart
Grafico a torta dei codici di risposta
Grafico a torta che mostra i codici di stato della risposta delle richieste.
// Display a Pie Chart showing requests response status codes.
ABSBotRequests
| summarize count() by tostring(ResultCode)
| render piechart
Grafico a torta delle operazioni di richiesta
Grafico a torta che mostra le operazioni delle richieste.
// 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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per