Skip to content

Log Event Reference

Type: Platform Event

API Name: ok__Log_Event__e

Platform event for One Logger logs.

Fields

Label Name Type Required Description
Created By ID CreatedById reference true
Created Date CreatedDate datetime true
Event UUID EventUuid string false
Replay ID ReplayId string false
Batch Child Job ID ok__Batch_Child_Job_Id__c string false ID of the current batch job chunk that is being processed. See setBatchableContext method.
Batch Is Executing ok__Batch_Is_Executing__c boolean true Checked if a batch Apex job published the log.
Batch Job Id ok__Batch_Job_Id__c string false Batch job ID. See setBatchableContext method.
Class Name ok__Class_Name__c string false Class Name is parsed automatically if the source is Apex Class or Apex Trigger. If the source is Anonymous Block and logged using Anonymous Block logger, the Class Name is empty. If the source is Anonymous Block and logged using Apex Class Logger, the Class Name is parsed automatically. If the source is Invocable, then the value is set directly in the triggering process.
Correlation ID ok__Correlation_ID__c string false
Date ok__Date__c date false Logged date.
Datetime ok__Datetime__c datetime false Logged time.
Exception Message ok__Exception_Message__c string false Exception message.
Exception Type ok__Exception_Type__c string false Exception Type.
External Log ID ok__External_Log_Id__c string false Log's ID, unique identifier and same on both, Log record and Log Event.
External Log Type ok__External_Log_Type__c string false SObject type of the external log.
First Error Fields ok__First_Error_Fields__c string false
First Error Message ok__First_Error_Message__c string false
First Error Status Code ok__First_Error_Status_Code__c string false Error status code from first error that occurred. Automatically populated from DML (Exception, Database.Error) or Email.
Full Class Name ok__Full_Class_Name__c string false
Fully Qualified Source ok__Fully_Qualified_Source__c string false A compound string of source, namespace prefix, class name, and line number.
Function Callback Is Executing ok__Function_Callback_Is_Executing__c boolean true Checked if an asynchronous Salesforce Function callback published the log.
Function Name ok__Function_Name__c string false Function Name is parsed automatically if the source is Apex Class or Apex Trigger. If the source is Anonymous Block and logged using Anonymous Block logger, the Function Name is empty. If the source is Anonymous Block and logged using Apex Class Logger, the Function Name is parsed automatically. If the source is Invocable, then the value is set directly in the triggering process.
Future Is Executing ok__Future_Is_Executing__c boolean true Checked if the log is published from a context executed by a method annotated with future.
Http Request Endpoint ok__Http_Request_Endpoint__c string false The URL for the endpoint of the external server for the request.
Http Request Method ok__Http_Request_Method__c string false The type of method used by HttpRequest.
Http Request Body ok__Http_Request__c textarea false HTTP request body.
Http Response Status Code ok__Http_Response_Status_Code__c double false The value of the status code returned in the response.
Http Response Status ok__Http_Response_Status__c string false The status message returned for the response.
Http Response Body ok__Http_Response__c textarea false HTTP response body.
Inbound Email ok__Inbound_Email__c textarea false Messaging.InboundEmail and Messaging.InboundEnvelope data.
Interview Guid ok__Interview_Guid__c string false
Is External Log ok__Is_External_Log__c boolean true Checked if the log is published from external log.
Is Guest User ok__Is_Guest_User__c boolean true Checked if the user isn’t logged in to the Experience Cloud site.
Is Lightning Log ok__Is_Lightning_Log__c boolean true Checked if logged from a lightning component.
Lightning Logger Version ok__Lightning_Logger_Version__c string false
Lightning Transaction ID ok__Lightning_Transaction_Id__c string false ID of the lightning transaction. Used to group logs into a Transaction Log.
Limit Alert ok__Limit_Alert__c boolean true Checked if at least one of the limit alerts is checked.
Limits Aggregate Queries Alert ok__Limits_Aggregate_Queries_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Aggregate Queries Limit ok__Limits_Aggregate_Queries_Limit__c double false Total number of aggregate queries that can be processed with SOQL query statements.
Limits Aggregate Queries ok__Limits_Aggregate_Queries_Percent__c double false Percent of aggregate queries that have been processed with any SOQL query statement.
Limits Aggregate Queries ok__Limits_Aggregate_Queries__c double false Number of aggregate queries that have been processed with any SOQL query statement.
Limits Callouts Alert ok__Limits_Callouts_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Callouts Limit ok__Limits_Callouts_Limit__c double false Total number of Web service statements that can be processed.
Limits Callouts Percent ok__Limits_Callouts_Percent__c double false Percent of Web service statements that have been processed.
Limits Callouts ok__Limits_Callouts__c double false Number of Web service statements that have been processed.
Limits Cpu Time Alert ok__Limits_Cpu_Time_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Cpu Time Limit ok__Limits_Cpu_Time_Limit__c double false Maximum CPU time (in milliseconds) that can be used in a transaction.
Limits Cpu Time Percent ok__Limits_Cpu_Time_Percent__c double false Percent of CPU time (in milliseconds) that has been used in the current transaction.
Limits Cpu Time ok__Limits_Cpu_Time__c double false CPU time (in milliseconds) that has been used in the current transaction.
Limits DML Rows Alert ok__Limits_DML_Rows_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits DML Rows Limit ok__Limits_DML_Rows_Limit__c double false Total number of records that can be processed with any statement that counts against DML limits, such as DML statements, the database.EmptyRecycleBin method, and other methods.
Limits DML Rows Percent ok__Limits_DML_Rows_Percent__c double false Percent of records that have been processed with any statement that counts against DML limits, such as DML statements, the Database.emptyRecycleBin method, and other methods.
Limits DML Rows ok__Limits_DML_Rows__c double false Number of records that have been processed with any statement that counts against DML limits, such as DML statements, the Database.emptyRecycleBin method, and other methods.
Limits DML Statements Alert ok__Limits_DML_Statements_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits DML Statements Limit ok__Limits_DML_Statements_Limit__c double false Total number of DML statements or the database.EmptyRecycleBin methods that can be called.
Limits DML Statements Percent ok__Limits_DML_Statements_Percent__c double false Percent of DML statements (such as insert, update or the database.EmptyRecycleBin method) that have been called.
Limits DML Statements ok__Limits_DML_Statements__c double false Number of DML statements (such as insert, update or the database.EmptyRecycleBin method) that have been called.
Limits Email Invocations Alert ok__Limits_Email_Invocations_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Email Invocations Limit ok__Limits_Email_Invocations_Limit__c double false Total number of email invocation (such as sendEmail) that can be called.
Limits Email Invocations Percent ok__Limits_Email_Invocations_Percent__c double false Percent of email invocations (such as sendEmail) that have been called.
Limits Email Invocations ok__Limits_Email_Invocations__c double false Number of email invocations (such as sendEmail) that have been called.
Limits Future Calls Alert ok__Limits_Future_Calls_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Future Calls Limit ok__Limits_Future_Calls_Limit__c double false Total number of methods with the future annotation that can be executed (not necessarily completed).
Limits Future Calls Percent ok__Limits_Future_Calls_Percent__c double false Percent of methods with the future annotation that have been executed (not necessarily completed).
Limits Future Calls ok__Limits_Future_Calls__c double false Number of methods with the future annotation that have been executed (not necessarily completed).
Limits Heap Size Alert ok__Limits_Heap_Size_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Heap Size Limit ok__Limits_Heap_Size_Limit__c double false Total amount of memory (in bytes) that can be used for the heap.
Limits Heap Size Percent ok__Limits_Heap_Size_Percent__c double false Percent of approximate amount of memory (in bytes) that has been used for the heap.
Limits Heap Size ok__Limits_Heap_Size__c double false Approximate amount of memory (in bytes) that has been used for the heap.
Limits Mobile Push Apex Calls Alert ok__Limits_Mobile_Push_Apex_Calls_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Mobile Push Apex Calls Limit ok__Limits_Mobile_Push_Apex_Calls_Limit__c double false Total number of Apex calls that are allowed per transaction for mobile push notifications.
Limits Mobile Push Apex Calls Percent ok__Limits_Mobile_Push_Apex_Calls_Percent__c double false Percent of Apex calls that have been used by mobile push notifications during the current metering interval.
Limits Mobile Push Apex Calls ok__Limits_Mobile_Push_Apex_Calls__c double false Number of Apex calls that have been used by mobile push notifications during the current metering interval.
Limits Publish Immediate DML Alert ok__Limits_Publish_Immediate_DML_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Publish Immediate DML Limit ok__Limits_Publish_Immediate_DML_Limit__c double false Total number of EventBus.publish statements that can be called for platform events configured to publish immediately.
Limits Publish Immediate DML Percent ok__Limits_Publish_Immediate_DML_Percent__c double false Percent of EventBus.publish calls that have been made for platform events configured to publish immediately.
Limits Publish Immediate DML ok__Limits_Publish_Immediate_DML__c double false Number of EventBus.publish calls that have been made for platform events configured to publish immediately.
Limits Queries Alert ok__Limits_Queries_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Queries Limit ok__Limits_Queries_Limit__c double false Total number of SOQL queries that can be issued.
Limits Queries Percent ok__Limits_Queries_Percent__c double false Percent of SOQL queries that have been issued.
Limits Queries ok__Limits_Queries__c double false Number of SOQL queries that have been issued.
Limits Query Locator Rows Alert ok__Limits_Query_Locator_Rows_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Query Locator Rows Limit ok__Limits_Query_Locator_Rows_Limit__c double false Total number of records that can be returned by issuing SOQL queries.
Limits Query Locator Rows Percent ok__Limits_Query_Locator_Rows_Percent__c double false Percent of records that have been returned by issuing SOQL queries.
Limits Query Locator Rows ok__Limits_Query_Locator_Rows__c double false Number of records that have been returned by issuing SOQL queries.
Limits Queueable Jobs Alert ok__Limits_Queueable_Jobs_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Queueable Jobs Limit ok__Limits_Queueable_Jobs_Limit__c double false Maximum number of queueable jobs that can be added to the queue per transaction. A queueable job corresponds to a class that implements the Queueable interface.
Limits Queueable Jobs Percent ok__Limits_Queueable_Jobs_Percent__c double false Percent of queueable jobs that have been added to the queue per transaction. A queueable job corresponds to a class that implements the Queueable interface.
Limits Queueable Jobs ok__Limits_Queueable_Jobs__c double false Number of queueable jobs that have been added to the queue per transaction. A queueable job corresponds to a class that implements the Queueable interface.
Limits Sosl Queries Alert ok__Limits_Sosl_Queries_Alert__c boolean true Checked if the limit is over the threshold. Check your thresholds in the Logger Admin Console.
Limits Sosl Queries Limit ok__Limits_Sosl_Queries_Limit__c double false Total number of SOSL queries that can be issued.
Limits Sosl Queries Percent ok__Limits_Sosl_Queries_Percent__c double false Percent of SOSL queries that have been issued.
Limits Sosl Queries ok__Limits_Sosl_Queries__c double false Number of SOSL queries that have been issued.
Line Number ok__Line_Number__c double false Line Number is parsed automatically if the source is Apex Class, Apex Trigger, or Anonymous Block.
Log ID ok__Log_ID__c string true
Log Level ok__Log_Level__c string true Level of the log.
Login Application ok__Login_Application__c string false The application used to access the organization.
Login Browser ok__Login_Browser__c string false The current browser version.
Login History ID ok__Login_History_Id__c string false The 18-character ID for a successful login event. When a session is reused, Salesforce updates the LoginHistoryId with the value from the most recent login. This field is available in API version 33.0 and later. This is a relationship field.
Login Platform ok__Login_Platform__c string false Operating system on the login machine.
Login Source Ip ok__Login_Source_Ip__c string false IP address of the end user’s device from which the session started. This address can be an IPv4 or IPv6 address.
Login Type ok__Login_Type__c string false The type of login used to access the session.
Logout Url ok__Logout_Url__c string false The page or view to display after users log out of an Experience Cloud site, or an org if they authenticated using SAML. This field is available in API version 32.0 and later.
Message ok__Message__c textarea false Log Message.
My Domain Name ok__My_Domain_Name__c string false Org's My Domain Name.
Name ok__Name__c string true Name of the log.
Namespace Prefix ok__Namespace_Prefix__c string false Namespace Prefix is parsed automatically if the source is Apex Class or Apex Trigger. If the source is Anonymous Block, the Namespace Prefix is empty. If the source is Invocable, then the value is set directly in the triggering process. If using this logger in a process that is in a managed package, please, set the Namespace Prefix.
One Logger Version ok__One_Logger_Version__c string false
Org Domain URL ok__Org_Domain_URL__c string false Canonical URL of the org.
Organization Id ok__Organization_Id__c string false Context organization's ID.
Organization Name ok__Organization_Name__c string false Context organization's company name.
Outbound Email ok__Outbound_Email__c textarea false Messaging.Email data including MassEmailMessage and SingleEmailMessage.
Payload ok__Payload__c textarea false Payload is any additional generic data to the message.
Plugin Log Event Is Executing ok__Plugin_Log_Event_Is_Executing__c boolean true Is checked when the log is coming from a plugin context.
Plugin Name ok__Plugin_Name__c string false Plugin name of the context.
Plugin Namespace ok__Plugin_Namespace__c string false Plugin namespace of the context.
Profile ID ok__Profile_Id__c string false Profile ID of the user.
Queueable Is Executing ok__Queueable_Is_Executing__c boolean true Checked if a queueable Apex job published the log.
Rest Request Http Method ok__Rest_Request_Http_Method__c string false One of the supported HTTP request methods.
Rest Request Remote Address ok__Rest_Request_Remote_Address__c string false The IP address of the client making the request.
Rest Request Request URI ok__Rest_Request_Request_URI__c string false Everything after the host in the HTTP request string.
Rest Request Resource Path ok__Rest_Request_Resource_Path__c string false The REST resource path for the request.
Rest Request ok__Rest_Request__c textarea false Formatted REST request.
Rest Response Status Code ok__Rest_Response_Status_Code__c double false The response status code.
Rest Response ok__Rest_Response__c textarea false Formatted REST response.
SObject ID 2 ok__SObject_Id_2__c string false ID of the second linked SObject record.
SObject ID ok__SObject_Id__c string false ID of the linked SObject record.
SObject JSON 2 ok__SObject_JSON_2__c textarea false JSON of the second linked SObject record.
SObject JSON ok__SObject_JSON__c textarea false JSON of the linked SObject record.
SObject Type 2 ok__SObject_Type_2__c string false SObject Type of the second linked SObject record.
SObject Type ok__SObject_Type__c string false SObject Type of the linked SObject record.
Sandbox Name ok__Sandbox_Name__c string false Org's Sandbox Name.
Schedulable Cron Trigger Job ID ok__Schedulable_Cron_Trigger_Job_Id__c string false ID of the CronTrigger scheduled job. See setSchedulableContext method.
Schedulable Is Executing ok__Schedulable_Is_Executing__c boolean true Checked if the log is published by a scheduled Apex job.
Session Security Level ok__Session_Security_Level__c string false Standard or High, depending upon the authentication method used.
Session Type ok__Session_Type__c string false The type of session. Common ones are UI, Content, API, and Visualforce.
Session ok__Session__c textarea false Logged By user's session.
Source ok__Source__c string false Log source.
Stack Trace ok__Stack_Trace__c textarea false Stack Trace of the exception.
Tags ok__Tags__c string false Semicolon separated tag names.
Time Zone Display Name ok__Time_Zone_Display_Name__c string false Current user's local time zone’s display name.
Time Zone Id ok__Time_Zone_Id__c string false Current user's local time zone’s ID.
Transaction ID ok__Transaction_Id__c string false ID of the transaction. Used to group logs into a Transaction Log.
Transaction Quiddity ok__Transaction_Quiddity__c string false Quiddity of the transaction.
Trigger Is Executing ok__Trigger_Is_Executing__c boolean true Logged from trigger context.
Trigger Operation ok__Trigger_Operation__c string false Trigger operation.
Trigger SObject Type ok__Trigger_SObject_Type__c string false SObject type of the trigger context.
User Email ok__User_Email__c string false Context user's email.
User Id ok__User_Id__c string false Context user's Id.
User Name ok__User_Name__c string false Context user's name.
User Role ID ok__User_Role_Id__c string false Context user's role ID.
User Type ok__User_Type__c string false Context user's type.
User Username ok__User_Username__c string false Context user's email.
Web Data ok__Web_Data__c textarea false Web data including window location in a JSON.