External Custom Apex Callout Event Type

External Custom Apex Callout events represent external data callouts via custom adapters for Salesforce Connect. This event type is available in the EventLogFile object in API version 40.0 and later.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer Guide.

Fields 

ACTION 

  • Type: String

  • Description: Action performed by the callout.

  • Possible values:

    • query
    • upsert
    • delete

ENTITY 

  • Type: String
  • Description: Name of the external object being accessed.
  • Example: Order

EVENT_TYPE 

  • Type: String
  • Description: Type of event. Value is always ExternalCustomApexCallout.

EXECUTE_MS 

  • Type: Number
  • Description: How long it took (in milliseconds) for Salesforce to prepare and execute the query. Available in API version 42.0 and later.
  • Example: 102

FETCH_MS 

  • Type: Number
  • Description: How long it took (in milliseconds) to retrieve the query results from the external system. Available in API version 42.0 and later.
  • Example: 607

FILTER 

  • Type: Text
  • Description: Field expressions to filter which rows to return. Corresponds to WHERE in SOQL queries.
  • Example: Filter:[columnName=CustomerID, columnValue=537, subfilters=null, tableName=Order, type=EQUALS]

LIMIT 

  • Type: Number
  • Description: Maximum number of rows to return for a query. Corresponds to LIMIT in SOQL queries.
  • Example: 200

MESSAGE 

  • Type: String
  • Description: Error or warning message associated with the failed call.
  • Example: System.UnexpectedException: Query is either selecting too many fields or the filter conditions are too complicated

OFFSET 

  • Type: Number
  • Description: Number of rows to skip when paging through a result set. Corresponds to OFFSET in SOQL queries.
  • Example: 0 (default)

ORDERBY 

  • Type: String
  • Description: Field or column to use for sorting query results, and whether to sort the results in ascending (default) or descending order. Corresponds to ORDER BY in SOQL queries.
  • Example: (Order:[columnName=OrderDate, direction=ASCENDING, tableName=Order])

ORGANIZATION_ID 

  • Type: Id
  • Description: 15-character ID of the organization.
  • Example: 00D000000000123

REQUEST_ID 

  • Type: String
  • Description: Unique ID of a transaction. A transaction can contain one or more events. All events in a transaction have the same REQUEST_ID.
  • Example: 4A13-HSKv3CKs-0FKfceaV

ROWS 

  • Type: Number

  • Description: Total number of records in the result set.

    The value is always -1 if the custom adapter’s DataSource.Provider class doesn’t declare the QUERY_TOTAL_SIZE capability.

  • Example: 200

ROWS_FETCHED 

  • Type: Number
  • Description: Number of rows fetched by the callout. Available in API version 42.0 and later.
  • Example: 200

SELECT 

  • Type: String

  • Description: Comma-separated list of fields being queried. Corresponds to SELECT in SOQL queries.

  • Example:

    1(ColumnSelection:[aggregation=NONE, columnName=Name, tableName=Order], ColumnSelection:[aggregation=NONE, columnName=CustomerID, tableName=Order], ColumnSelection:[aggregation=NONE, columnName=OrderDate, tableName=Order])

STATUS 

  • Type: Boolean

  • Description: Whether the query was successful.

  • Possible values:

    • 1 - Success
    • 0 - Failed
    • Empty - Failed with no logged status or message

THROUGHPUT 

  • Type: Number
  • Description: Number of records retrieved in one second.
  • Example: 302.57

TIMESTAMP 

  • Type: String
  • Description: The access time of Salesforce services in GMT.
  • Example: 20130715233322.670

SUBQUERIES 

  • Type: Number
  • Description: Reserved for future use.

TIMESTAMP_DERIVED 

  • Type: DateTime
  • Description: The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ). The timezone is GMT.
  • Example: 2015-07-27T11:32:59.555Z

TOTAL_MS 

  • Type: Number
  • Description: How long it took (in milliseconds) to prepare and execute the query and to retrieve the query results.
  • Example: 709

USER_ID 

  • Type: Id
  • Description: 15-character ID of the user accessing the external system.
  • Example: 00530000009M943

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!