Newer Version Available

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

Search Event Type

Search events contain details about the user’s search query. All searches within the app, including Communities, are included. However, unauthenticated users won’t have a unique Salesforce user ID.

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

Fields

Field Details
EVENT_TYPE
Type
String
Description
The type of event. Value is always Search. For details, see EventLogFile Supported Event Types.
NUM_RESULTS
Type
Number
Description
Number of results returned by the search query.
Possible Values
  • 0
  • 25
  • 1000
ORGANIZATION_ID
Type
Id
Description
The 15-character ID of the organization.
Example
00D000000000123
PREFIXES_SEARCHED
Type
String
Description
Space-separated list of key prefixes that were searched.
Example
001 006 ka0
QUERY_ID
Type
String
Description
Unique ID of the search query.
Example
-2vx8relit08r
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
SEARCH_QUERY
Type
String
Description
The first 100 characters of the search query.
Example
Salesforce
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
USER_ID
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