You are here:
Store and Query Log Data with Event Log Objects
The Event Log Object framework surfaces event data stored in standard objects called Event Log Objects. They store critical event data that you can query via Salesforce Platform APIs. Event log objects contain many but not all events currently represented in the Event Log File framework. Unlike Event Log Files, which surface event data as CSV files, Event Log Objects allow querying of similar data via SOQL.
| Available in: Salesforce Classic (not available in all orgs), and Lightning Experience |
Available in: Enterprise, Performance, and Unlimited Editions Requires Salesforce Shield or Salesforce Event Monitoring add-on subscriptions. |
| User Permissions Needed | |
To query and view event log object data: |
View Event Log Object Data |
Event Log Object data is available with minimal delay, enabling earlier detection of security and performance incidents. Write advanced SOQL queries to filter or aggregate log data. Event Log Objects are also available to analyze in CRM Analytics using Salesforce Direct, so you can visualize data in a variety of chart types. Because you can access Event Log Objects via Salesforce Platform APIs, you can build custom applications in the Lightning UI for event specific use cases.
Enable Event Log Objects through the Event Manager tab in Setup:
- From Setup, in the Quick Find Box, enter Permission, and select Permission Sets.
- Select View Event Log Object Data to access all Event Log Objects. You can alternatively select Event Monitoring User to gain access to all of your Event Monitoring data.
- Security Query: Which users are exporting the most rows via
reports?
SELECT UserIdentifier, SUM(RowCount) FROM ReportEventLog WHERE Origin='ReportExported' AND DAY_ONLY(Timestamp) > LAST_N_DAYS:10 Group By UserIdentifier Order by SUM(RowCount) DESC - APM Query: What is the number of unexpected apex exceptions
grouped by Exception Category?
SELECT ExceptionCategory, COUNT(Timestamp) FROM ApexUnexpectedExcpEventLog WHERE DAY_ONLY(Timestamp) > LAST_N_DAYS:10 GROUP BY ExceptionCategory ORDER BY COUNT(Timestamp) DESC - Product Intelligence Query: What are the most loaded lightning
pages?
SELECT COUNT(Timestamp), PageUrl FROM LightningPageViewEventLog WHERE DAY_ONLY(Timestamp) > LAST_N_DAYS:10 GROUP BY PageUrl ORDER BY COUNT(Timestamp) DESC
For detailed information about each available Event Log Object, see these topics in the Object Reference for the Salesforce Platform.
X-SFDC-REQUEST-ID header with a
32 character OTEL compatible TraceId or a 22 -character alphanumeric
Id. Using SOQL, search for the Event Monitoring logs with this
RequestId to correlate the logs and see the unit of work performed
as a part of the API transaction.- AnalyticsChangeEventLog
- AnalyticsDownloadEventLog
- AnalyticsInteractEventLog
- AnalyticsPerfEventLog
- ApexCalloutEventLog
- ApexExecutionEventLog
- ApexExtlCalloutEventLog
- ApexRestApiEventLog
- ApexSoapApiEventLog
- ApexTriggerEventLog
- ApexUnexpectedExcpEventLog
- ApiTotalUsageEventLog
- AsyncReportRunEventLog
- AttachmentEventLog
- AuraRequestEventLog
- BlockedRedirectEventLog
- BulkApiEventLog
- BulkApi2EventLog
- BulkApiRequestEventLog
- ChangeSetOperationEventLog
- ConcurApexLimitEventLog
- ContentDistributionEventLog
- ContentDocLinkEventLog
- ContentTransferEventLog
- ContCalloutSummaryEventLog
- CspViolationEventLog
- DatabaseSaveEventLog
- DocAtchDownloadEventLog
- FlowNavMetricEventLog
- GroupMembershipEventLog
- InsufficientAccessEventLog
- InvocableActionEventLog
- KnowledgeArticleEventLog
- LightningErrorEventLog
- LightningLoggerEventLog
- LightningPageViewEventLog
- LightningPrfmEventLog
- LoginAsEventLog
- LoginEventLog
- LogoutEventLog
- MetadataApiOpEventLog
- NamedCredentialEventLog
- PackageInstallEventLog
- PermissionUpdateEventLog
- QueuedExecutionEventLog
- ReportEventLog
- ReportExportEventLog
- RestApiEventLog
- SalesforceLoginAsEventLog
- SandboxStatusEventLog
- SiteEventLog
- SearchEventLog
- SearchClickEventLog
- SoapApiEventLog
- TransactionSecurityEventLog
- UniqueQueryEventLog
- UriEventLog
- UiAgentInteractionEventLog
- UiTelemetryNavTmEventLog
- UiTelemetryRsrcTmEventLog
- VisualforceRequestEventLog
- Analyze Log Data with Salesforce Direct
Transform your log data into clear, insightful visualizations. Explore Event Log Objects in CRM Analytics with Salesforce Direct using a variety of engaging chart types. - Best Practices and Considerations for Leveraging Event Log Object Data
It’s important to understand the recommended practices and limitations for the Event Log Object framework to get the most out of your log data. Here are some tips to ensure your queries run smoothly. - Event Log Objects Analytics
The new suite of analytic dashboards provide deep, actionable insights across the three critical sectors of an organization: Platform Performance, Data Security, and User Adoption. By providing unprecedented visibility into org activities, users can shift from reactive problem-solving to proactive platform management.

