Event logs capture the events and user messages in an agent session to help you test and
troubleshoot your agent. In supported agent types, enable enhanced event logs to store
conversation data and view all session activity in one place. When enhanced event logs
aren't enabled, events associated with agent and user messages (such as Message sent: and
User response:) are logged, but the messages themselves aren't included in the
event.
Required Editions
Event logs store key details about each session to help you interpret the
session activity.
| Column |
Description |
| Connection |
Indicates the channel of the agent session. |
| Dropped |
Indicates that the session ended for a reason other than the user
ending it, such as a timeout or error. |
| Duration |
Indicates the length of the agent session. |
| Error |
Indicates that an error occurred in the session. |
Enable enhanced event logs to view user messages as well as agent messages and events. View more
information about the session, including any errors, when you click the session ID.
While enhanced event logs aren’t required for Agentforce Testing Center or Agent
Builder, they can add valuable context for testing. We recommend that you enable
them as part of your overall testing strategy.
To use event logs, verify Data 360 in your org and turn on
Einstein data collection and storage. Event logs store information for
seven days and consumes Data 360 credits. See Generative AI Usage and Billing
-
From Setup, in the Quick Find box, enter and then select Agentforce
Agents.
-
Select your agent.
-
Click the edit icon next to Keep a record of conversations with
enhanced event logs to review agent behavior.
-
Select Keep a record of conversations with enhanced event logs to
review agent behavior.
-
Save your changes.