---
schema_version: "1"
id: a2facaf6c53d7f3fbd46bdf094c8a020fd86b4cbeb700a9f241ef92c367bb435
title: SiteEventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_siteeventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_siteeventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3dcca06edfb1e3e24f4a287e4f3cd84e6af843ef22dd30090be08fc3b6638b13
description: SiteEventLog stores details of Site.com requests. Requests can originate from the browser (UI). This object is available in API version 62.0 and later.
---
# SiteEventLog

SiteEventLog stores details of Site.com requests. Requests can originate from the browser (UI). This object is available in API version 62.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 |
| --- | --- |
| 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.



 |
| DatabaseTotalTime | 

Type

double

Properties

Filter, Nillable, Sort

Description

The time in nanoseconds for a database round trip. Includes time spent in the JDBC driver, network to the database, and DB\_CPU\_TIME. Compare this field to CPU\_TIME to determine whether performance issues are occurring in the database layer or in your own code.



 |
| HttpHeaders | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The HTTP headers that were sent in the request.



 |
| HttpMethod | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The HTTP method of the request. For example: GET, POST, PUT, and so on.



 |
| IsApi | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

The default value is false.



 |
| IsError | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

True if this page was an error page.

The default value is false.



 |
| IsFirstRequest | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

True if this page is the first Visualforce transaction in the request.

The default value is false.



 |
| IsGuest | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

True if this page was a guest (unauthenticated) request.

The default value is false.



 |
| IsSecure | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

True if this request is secure.

The default value is false.



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



 |
| PageName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The name of the Visualforce page that was requested.



 |
| QueryString | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The SOQL query, if one was performed.



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



 |
| RequestStatus | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The status of the request for a page view or user interface action. This field can have a blank value.

For example:

- S— Success. Salesforce handled the request successfully. If an Apex controller throws an exception, this status is also returned.
- F— Failure. Typically 4xx or 5xx HTTP codes, such as no permission to view page, page took too long to render, page is read-only.

- U— Undefined.
- A—Authorization error.
- R— Redirect. Typically a 3xx HTTP code, possibly initiated by an Apex controller in a Visualforce page.
- N—Not Found. 404 error.





 |
| RequestType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The request type.

Possible values are:

- page—a normal request for a page
- content\_UI—a content request for a page that originated in the user interface
- content\_apex—a content request initiated by an Apex call
- PDF\_UI—a request for a page in PDF format through the user interface
- PDF\_apex—a request for PDF format by an Apex call (usually a Web Service call)





 |
| RunTime | 

Type

double

Properties

Filter, Nillable, Sort

Description

The amount of time that the request took in milliseconds.



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



 |
| SiteIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The 15-character ID of the Site.com site.



 |
| Timestamp | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The access time of Salesforce services in GMT. For example: 20130715233322.670.



 |
| 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 18-character ID of the user who’s using Salesforce services through the UI or the API. For example: 00530000009M943YAS.



 |
| UserType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The category of user license.

Possible values are:

- CsnOnly—Users whose access to the application is limited to Chatter. This user type includes Chatter Free and Chatter moderator users.
- CspLitePortal—CSP Lite Portal license. Users whose access is limited because they’re organization customers and access the application through a customer portal or an Experience Cloud site.
- CustomerSuccess—Customer Success license. Users whose access is limited because they’re organization customers and access the application through a customer portal.
- Guest—Users whose access is limited so that your customers can view and interact with your site without logging in.
- PowerCustomerSuccess—Power Customer Success license. Users whose access is limited because they’re organization customers and access the application through a customer portal. Users with this license type can view and edit data they directly own or data owned by or shared with users below them in the customer portal role hierarchy.
- PowerPartner—Power Partner license. Users whose access is limited because they’re partners and typically access the application through a partner portal or site.
- SelfService—Users whose access is limited because they’re organization customers and access the application through a self-service portal.
- Standard—Standard user license. This user type also includes Salesforce Platform and Salesforce Platform One user licenses, and admins for this org.





 |