---
schema_version: "1"
id: 8ece0014656d374141d6c5b337616d2b46354f133cfdbbff6d4820216312195f
title: GraphQL Query Event Type
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_eventlogfile_graphql_query.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_eventlogfile_graphql_query.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0a93417f86498d6eb18ee05bb4351203a44e12249851d4d1b08a7b6b4649bea6
description: GraphQL Query events contain information about executed queries, including total execution time, the number of invocations, and any reported errors.
---
# GraphQL Query Event Type

GraphQL Query events contain information about executed queries, including total execution time, the number of invocations, and any reported errors.

For details about event monitoring, see the [Trailhead Event Monitoring module](https://trailhead.salesforce.com/en/modules/event_monitoring/units/event_monitoring_intro "HTML (New Window)") or [REST API Developer’s Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_rest.meta/api_rest/using_resources_event_log_files.htm "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| APP\_TYPE | 
Type

String

Description

The name of the application that the user accessed.



 |
| CLIENT\_IP | 

Type

String

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.



 |
| CPU\_TIME | 

Type

Number

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.



 |
| ELAPSED\_TIME\_MS | 

Type

Number

Description

The time, in milliseconds, that it took for the GraphQL query to complete.



 |
| EVENT\_TYPE | 

Type

String

Description

The type of event.



 |
| EXCEPTION | 

Type

String

Description

Exception message if the request encountered an error. Empty indicates successful execution.



 |
| LOGIN\_KEY | 

Type

String

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.



 |
| OPERATION\_NAME | 

Type

String

Description

The name of the GraphQL query. If the query was anonymous (i.e., no name was provided in the query string), this field will usually be empty or null in the logs.



 |
| ORGANIZATION\_ID | 

Type

Id

Description

The 15-character ID of the organization.

For example: 00D000000000123.



 |
| QUERY | 

Type

String

Description

The GraphQL JSON query.



 |
| QUERY\_LENGTH | 

Type

Number

Description

The length of the GraphQL JSON query in characters.



 |
| 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: TID:000000000000c00fff.



 |
| RUN\_TIME | 

Type

Number

Description

The amount of time that the request took in milliseconds.



 |
| SESSION\_KEY | 

Type

String

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

String

Description

The time that the flow was executed in GMT.

For example: 20210606032436.520.



 |
| TIMESTAMP\_DERIVED | 

Type

CHECK

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. The timezone is GMT.



 |
| URI | 

Type

String

Description

The URI of the page that’s receiving the request.

For example: /home/home.jsp.



 |
| URI\_ID\_DERIVED | 

Type

String

Description

The 18-character case insensitive ID of the URI of the page that’s receiving the request.



 |
| USER\_ID | 

Type

Id

Description

The 15-character ID of the user who executed the flow through the UI or the API.

For example: 00530000009M943.



 |
| USER\_ID\_DERIVED | 

Type

String

Description

The 18-character case insensitive ID of the user who’s using Salesforce services through the UI or the API.

For example: 00590000000I1SNIA0.



 |
| USER\_TYPE | 

Type

String

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.





 |
| VARIABLES | 

Type

String

Description

A JSON string containing the name-value pairs of the variables used in the GraphQL operation.



 |