Search Event Type

Search events contain details about the user’s search query. All searches within the app, including Experience Cloud sites, 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. The value is always Search.
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.
For 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.
For 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 in GMT.
For example: 20130715233322.670.
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).
For example: 2015-07-27T11:32:59.555Z. Timezone is GMT.
USER_ID
Type
Id
Description
The 15-character case insensitive ID of the user who’s using Salesforce services through the UI or the API.
For example: 00590000000I1SNIA0.