Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
Stay organized with collections
Save and categorize content based on your preferences.
Dialogflow API requests and responses can optionally be logged to
Cloud logging
for your agent.
You can also control the
region
in which these logs are stored.
Enable Cloud logging
To enable or disable Cloud logging for your agent,
see the logging options in the
agent's general settings.
Viewing Cloud logs
Once you enable Cloud logging for an agent,
you can browse these logs using the
Cloud Logs Explorer.
The following is a partial list of log entry titles used by Dialogflow:
Dialogflow Request
Dialogflow Response
Dialogflow webhook request
Dialogflow webhook response
Dialogflow webhook error
Request and response log entries have a jsonPayload field in the JSON format.
The content of this payload resembles the structure
of like-named Dialogflow API REST requests and responses as defined in
Dialogflow reference documentation.
Regionalization
By default, Dialogflow Cloud log entries are routed to the
_Default logs bucket,
which is global.
If you have data residency requirements for your project,
you can route your logs to a region-specific logs bucket.
For instructions, see
regionalizing your project's logs using logs buckets.
Limitations
If Dialogflow response exceeds the Cloud logging log entry size
limit, the QueryResult.diagnosticInfo field is not included
in the logs.
At most 500 turns will be logged for each conversation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["Dialogflow API requests and responses can be optionally logged to Cloud Logging for your agent, which can be enabled or disabled in the agent's general settings."],["Once enabled, logs can be viewed using the Cloud Logs Explorer, and log entry titles include Dialogflow Request, Response, webhook request, webhook response, and webhook error."],["The content of the `jsonPayload` field within request and response log entries resembles the structure of corresponding Dialogflow API REST requests and responses."],["By default, Dialogflow Cloud log entries are routed to the global _Default logs bucket, but they can be directed to a region-specific bucket to meet data residency requirements."],["If a Dialogflow response is too big, the `QueryResult.diagnosticInfo` field is omitted from the Cloud logging logs, and at most 500 turns will be logged per conversation."]]],[]]