Logout Event Type
Contains details of user sessions ending or being revoked.
Logout Event Type is used by EventLogFile (ELF). It isn’t a real-time event. For the LogoutEvent real-time event, which is part of Real-Time Event Monitoring (RTEM), see LogoutEvent in the Platform Events Developer Guide.
These scenarios count as logout events.
- Logging out via the UI
- Session expiration
- Revoking access for a connected app
- Calling the Salesforce revocation endpoint
- Salesforce disabling a connected app
- For batch operations where multiple sessions are revoked at once, Salesforce records only one logout event. You can tell that it’s a batch operation because there’s no user ID.
For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.
-
Type: String
-
Description: The type of API request.
-
Possible values:
D- Apex ClassE- SOAP EnterpriseM- SOAP MetadataP- SOAP PartnerS- SOAP ApexT- SOAP Toolingf- Feedl- Live Agentp- SOAP ClientSync
- Type: String
- Description: The version of the API that’s being used.
- Example:
36.0
-
Type: Number
-
Description: The application type that was in use upon logging out.
-
Example Values:
1000: Application1007: SFDC Application1014: Chat2501: CTI2514: OAuth3475: SFDC Partner Portal
-
Type: String
-
Description: The identifier string returned by the browser used at login.
-
Example Values:
Go-http-client/1.1Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv%3A50.0) Gecko/20100101 Firefox/50.0Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
- Type: String
- Description: The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”.
- Example:
96.43.144.26
- Type: Number
- Description: The version of the client that was in use upon logging out.
- Type: String
- Description: The type of event. The value is always
Logout.
- Type: String
- Description: The string that ties together all events in a given user’s login session. It starts with a login event and ends with either a logout event or the user session expiring.
- Example:
GeJCsym5eyvtEK2I
- Type: Id
- Description: The 15-character ID of the organization.
- Example:
00D000000000123
-
Type: Number
-
Description: The code for the client platform. If a timeout caused the logout, this field is null.
-
Example Values:
1000: Windows1008: Windows 20031013: Windows 8.11015: Windows 102003: Macintosh/Apple OSX4000: Linux5005: Android5006: iPhone5007: iPad5200: Android 10.0
- Type: String
- Description: The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same
REQUEST_ID. - Example:
3nWgxWbDKWWDIk0FKfF5DV
- Type: Number
- Description: The screen resolution of the client. If a timeout caused the logout, this field is null.
- Type: String
- Description: The user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started.
- Example:
d7DEq/ANa7nNZZVD
-
Type: String
-
Description: The security level of the session that was used when logging out.
-
Possible values:
1- Standard Session10- High-Assurance Session
-
Type: String
-
Description: The session type that was used when logging out.
-
Possible values:
A- APII- APIOnlyUserN- ChatterNetworksZ- ChatterNetworksAPIOnlyC- ContentP- OauthApprovalUIO- Oauth2T- SiteStudioR- SitePreviewS- SubstituteUserB- TempContentExchangeG- TempOauthAccessTokenFrontdoorY- TempVisualforceExchangeF- TempUIFrontdoorU- UIE- UserSiteV- VisualforceW- WDC_API
- Type: String
- Description: The access time of Salesforce services in GMT.
- Example:
20130715233322.670When a customer logs out by using the Logout button, theTIMESTAMPfield records the actual logout time. However, when a customer is logged out automatically, Salesforce detects the event by using a process that runs every 15 minutes.TIMESTAMPvalues can reflect a logout time up to 15 minutes later than the actual automatic logout time.
- Type: DateTime
- Description: The access time of Salesforce services in ISO8601-compatible format (
YYYY-MM-DDTHH:MM:SS.sssZ). The timezone is GMT. - Example:
2015-07-27T11:32:59.555Z
- Type: Id
- Description: The 15-character ID of the user who’s using Salesforce services through the UI or the API.
- Example:
00530000009M943
- Type: Id
- Description: The 18-character case-insensitive ID of the user who’s using Salesforce services through the UI or the API.
- Example:
00590000000I1SNIA0
- Type: Boolean
- Description: The value is 1 if the user intentionally logged out of the organization by clicking the Logout button. If the user’s session timed out due to inactivity or another implicit logout action, the value is 0.
-
Type: String
-
Description: The category of user license of the user that logged out.
-
Possible values:
A- Automated Processb- High Volume PortalC- Customer Portal UserD- External WhoF- Self-ServiceG- GuestL- Package License ManagerN- Salesforce to Salesforcen- CSN OnlyO- Power Customo- CustomP- Partnerp- Customer Portal ManagerS- StandardX- Salesforce Administrator