---
schema_version: "1"
id: cab740a118a76bb3bb01977f6bf8558535c5852debbb7bbc7c53d4c0710ce482
title: SearchEventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_searcheventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_searcheventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8c84c79a60456b60e820f65bd15584130daec64e9a6007d4e6a240fabab9375f
description: Search Event Log provides details about the user’s search query. This object is available in API version 61.0 and later.
---
# SearchEventLog

Search Event Log provides details about the user’s search query. This object is available in API version 61.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see [EventLogFile](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm).

## Supported Calls

describeSObjects(), query()

## Special Access Rules

To access this object, you must have the View Event Log Object Data user permission.

## Fields

| Field | Details |
| --- | --- |
| PrefixesSearched | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

A space-delineated list of key prefixes that are searched.



 |
| QueryIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Unique ID of the search query.



 |
| RequestIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

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 RequestIdentifier. For example: 3nWgxWbDKWWDIk0FKfF5DV.



 |
| ResultCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number of results returned by the search query.



 |
| SearchQuery | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The first 100 characters of the search query.



 |
| Timestamp | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The access time of Salesforce services in GMT. For example, 2020-01-20T19:12:26.965Z. Milliseconds are the most granular setting.



 |
| UserIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the user who’s using Salesforce services through the UI or the API. For example: 00530000009M943.



 |

## Usage

All searches within the app, including Experience Cloud sites, are included. However, unauthenticated guest users don’t have a unique Salesforce user ID.