---
schema_version: "1"
id: 5fe688d756a31b8fbfaedc8819553b2886be1cad7ecf75a689432e9d40f5aa78
title: UniqueQueryEventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_uniquequeryeventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_uniquequeryeventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 700e35d6b1795c48180dc73c4c825ad2e1ca5c5a90acff860fbbba8597157348
description: Unique Query events capture specific search queries (SOQL), filter IDs, and report IDs that are processed, along with the underlying database queries (SQL). This object is available in API version 65.0 and later.
---
# UniqueQueryEventLog

Unique Query events capture specific search queries (SOQL), filter IDs, and report IDs that are processed, along with the underlying database queries (SQL). This object is available in API version 65.0 and later.

## 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 |
| --- | --- |
| BotIdentifier | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the bot.



 |
| BotSessionIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The bot session ID.



 |
| LoginKey | 

Type

string

Properties

Filter, Group, Nillable, Sort

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.







 |
| PlannerIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the agent planner.



 |
| QueryIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The text of the SOQL query run or the Id of the report or list view run.



 |
| QueryType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The input type to the optimizer that was translated.



 |
| 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 REQUEST\_ID.



 |
| SessionKey | 

Type

string

Properties

Filter, Group, Nillable, Sort

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.



 |
| SqlIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The unique identifier generated for the database query. (Its SQL Id in the ELF);



 |
| Timestamp | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Timestamp at which the log event was generated.



 |
| UserId | 

Type

reference

Properties

Nillable

Description

The origin user’s unique ID. For example, 005000000000123.

A polymorphic relationship field.

Relationship Name

User

Relationship Type

Lookup

Refers To

User



 |