Newer Version Available

This content describes an older version of this product. View Latest

Visualforce Event Type

Visualforce events contain details of Visualforce requests. Requests can originate from the browser (UI).

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.

Fields

Field Details
CLIENT_IP
Type
String
Description
The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from Salesforce Workbench or AppExchange) is shown as “Salesforce.com IP”.
Example
96.43.144.26
CONTROLLER_TYPE
Type
Number
Description
The type of controller that’s used by the requested Visualforce page.
CPU_TIME
Type
Number
Description
The CPU time in milliseconds used to complete the request. This field indicates the amount of activity taking place in the app server layer, highlighting pieces of Apex or Visualforce code that need refactoring.
DB_BLOCKS
Type
Number
Description
Indicates how much activity is occurring in the database. A high value for this field suggests that adding indexes or filters on your queries would benefit performance.
DB_CPU_TIME
Type
Number
Description
Allows you to monitor trends in database uptime.
DB_TOTAL_TIME
Type
Number
Description
The time in nanoseconds for a database round trip. Compare this field to CPU_TIME to determine whether performance issues are occurring in the database layer or in your own code.
EVENT_TYPE
Type
String
Description
The type of event.
Example
ReportExport, URI, API, RestApi, and so on. For details, see EventLogFile Supported Event Types.
HTTP_METHOD
Type
String
Description
The HTTP method of the request—GET, POST, PUT, and so on.
IS_AJAX_REQUEST
Type
Boolean
Description
The value is true if the request is a partial page request.
IS_FIRST_REQUEST
Type
Boolean
Description
1 if this page is the first Visualforce transaction in the request, or 0 if it isn't.
LOGIN_KEY
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
MANAGED_PACKAGE_NAMESPACE
Type
String
Description
If the page is part of a managed package, the namespace of that package.
ORGANIZATION_ID
Type
Id
Description
The 15-character ID of the organization.
Example
00D000000000123
PAGE_NAME
Type
String
Description
The name of the Visualforce page that was requested.
QUERY
Type
String
Description
The SOQL query, if one was performed.
REQUEST_ID
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
REQUEST_SIZE
Type
Number
Description
The size of the request body, in bytes.
REQUEST_STATUS
Type
String
Description
The status of the request for a page view or user interface action.
Possible Values
  • S: Success
  • F: Failure
  • U: Undefined
  • A: Authorization Error
  • R: Redirect
  • N: Not Found
REQUEST_TYPE
Type
String
Description
The request type.
Possible Values
  • page: a normal request for a page
  • content_UI: a content request for a page that originated in the user interface
  • content_apex: a content request initiated by an Apex call
  • PDF_UI: a request for a page in PDF format through the user interface
  • PDF_apex: a request for PDF format by an Apex call (usually a Web Service call)
RESPONSE_SIZE
Type
Number
Description
The size of the response, in bytes.
RUN_TIME
Type
Number
Description
The amount of time that the request took in milliseconds.
SESSION_KEY
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
TIMESTAMP
Type
String
Description
The access time of Salesforce services.
Example
20130715233322.670
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ)
Example
2015-07-27T11:32:59.555Z
URI
Type
String
Description
The URI of the page that’s receiving the request.
Example
/home/home.jsp
URI_ID_DERIVED
Type
ID
Description
The 18-character case insensitive ID of the URI of the page that’s receiving the request.
USER_AGENT
Type
Number
Description
The numeric code for the type of client used to make the request (for example, the browser, application, or API).
USER_ID
Type
Id
Description
The 15-character ID of the user who’s using Salesforce services through the UI or the API.
Example
00530000009M943
USER_ID_DERIVED
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
VIEW_STATE_SIZE
Type
Number
Description
The size of the Visualforce view state, in bytes.