---
schema_version: "1"
id: f7b184c614fc34498e860aa5ff85fea1e9c658036ca3c6255f0f939da0535fbf
title: BulkApi2EventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_bulkapi2eventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_bulkapi2eventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 17cc4f41b7a68edade2be10dbd5ec25970c106d8bcde1d5a7e5f764b53fa3cb2
description: Bulk API 2 event logs contain details about Bulk API 2.0 requests. This object is available in API version 61.0 and later.
---
# BulkApi2EventLog

Bulk API 2 event logs contain details about Bulk API 2.0 requests. 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 |
| --- | --- |
| ClientIp | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”. For example: 96.43.144.26.



 |
| CpuTime | 

Type

double

Properties

Filter, Nillable, Sort

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.



 |
| ErrorMessage | 

Type

string

Properties

Filter, Nillable, Sort

Description

The error message returned on failure.



 |
| FailedRecordCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The total number of records that failed. For example: 150.



 |
| JobIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The 15-character ID of the Bulk API 2.0 job.



 |
| JobStatus | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The job’s current status.



 |
| 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. For example: GeJCsym5eyvtEK2I.



 |
| ObjectType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The type of event. The value is always BulkApi2.



 |
| OperationType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The type of Bulk API 2.0 operation that was performed.



 |
| ProcessedRecordCount | 

Type

double

Properties

Filter, Group, Nillable, Sort

Description

Number of records processed for this event. For example: 980.The number of records processed is reported differently for ingest and query jobs.

For _ingest_ jobs:

- Events with a status of InProgress report (if applicable) the number of records processed.

For _query_ jobs:

- Events with a status of JobComplete or InProgress report (if applicable) the number of records processed.





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



 |
| ResultSize | 

Type

double

Properties

Filter, Nillable, Sort

Description

Number of megabytes returned in query. Empty for ingest jobs. For example: 670.

ResultSizeMb currently does not emit events, but is shown here as a placeholder for future enhancement.





 |
| RunTime | 

Type

double

Properties

Filter, 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 RequestId. For example: 3nWgxWbDKWWDIk0FKfF5DV.



 |
| 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. For example: d7DEq/ANa7nNZZVD.



 |
| 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.



 |
| Uri | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The URI of the page that’s receiving the request. For example: /home/home.jsp.



 |
| UserIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

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



 |