Loading
Salesforce now sends email only from verified domains. Read More
Set Up and Maintain Your Salesforce Organization
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Real-Time Event Monitoring Data Streaming

          Real-Time Event Monitoring Data Streaming

          Use Real-Time Event Monitoring to subscribe to standard events published by Salesforce to monitor activity in your org. You can subscribe to this data from an external data system of your choice using a Pub/Sub API client, or use event relays to send the real-time events to Amazon EventBridge.

          Required Editions

          Available in both Salesforce Classic (not available in all orgs) and Lightning Experience.

          Available in: Enterprise, Unlimited, and Developer Editions

          Requires Salesforce Shield or Salesforce Event Monitoring add-on subscriptions.

          Data is streamed using a publish-subscribe model. Salesforce publishes streaming data to an event subscription channel, and your app subscribes, or listens, to the event channel to get the data close to real time. Streaming events are retained for up to three days. Real-Time Event Monitoring’s streaming events don’t count against your Platform Events delivery allocation. Some system protection limits apply. For example, Salesforce delivers a maximum of 50 million real-time events per day.

          Tip
          Tip To more efficiently obtain and process event data from three days ago or less, we recommend querying events from big objects instead of subscribing to past events in a stream.

          To send real-time events to Amazon EventBridge, where you can store and process the events, use event relays.

          Here are some examples.

          Event ObjectUse CaseConsiderations
          ApiEventStreamDetect when a user queries sensitive data, such as patent records.Object is available only in Real-Time Event Monitoring.
          ApiAnomalyEventTrack anomalies in how users make API calls.Object is available only in Real-Time Event Monitoring.
          BulkApiResultEventTrack when a user downloads the results of a Bulk API or Bulk API 2.0 request.Object is available only in Real-Time Event Monitoring.
          ConcurLongRunApexErrEventDetect errors that occur when an org exceeds the concurrent long-running Apex limit. Object is available only in Real-Time Event Monitoring.
          CredentialStuffingEventTrack when a user successfully logs into Salesforce during an identified credential stuffing attack. Credential stuffing refers to large-scale automated login requests using stolen user credentials. Object is available only in Real-Time Event Monitoring.
          FileEventDetects file-related events, such as when a user downloads a file.Object is available only in Real-Time Event Monitoring.
          LightningUriEventStreamDetect when a user creates, accesses, updates, or deletes a record containing sensitive data in Lightning Experience.Object is available only in Real-Time Event Monitoring.
          ListViewEventStreamDetect when a user accesses, updates, or exports list view data using Salesforce Classic, Lightning Experience, or the API.Object is available only in Real-Time Event Monitoring.
          LoginAsEventStreamDetect when a Salesforce admin logs in as another user and track the admin’s activities.Object is available only in Real-Time Event Monitoring.
          LoginEventStreamDetect when a user tries to log in under certain conditions—for example, from an unsupported browser or from an IP address that is outside of your corporate range.Object is available only in Real-Time Event Monitoring.
          LogoutEventStreamDetect when a user logs out of Salesforce by clicking Log Out in the Salesforce UI.Object is available to all customers.
          MobileEmailEventTrack your users’ email activity in a Salesforce mobile app.Object is available only in Real-Time Event Monitoring and Enhanced Mobile App Security.
          MobileEnforcedPolicyEventTrack enforcement of Enhanced Mobile Security policy events on a Salesforce mobile app.Object is available only in Real-Time Event Monitoring and Enhanced Mobile App Security.
          MobileScreenshotEventTrack your users’ screenshots in a Salesforce mobile app.Object is available only in Real-Time Event Monitoring and Enhanced Mobile App Security.
          MobileTelephonyEventTrack your users’ phone calls and text messages in a Salesforce mobile app.Object is available only in Real-Time Event Monitoring and Enhanced Mobile App Security.
          PermissionSetEvent Detect permission assignment changes in permission sets and permission set groups.Object is available only in Real-Time Event Monitoring.
          ReportAnomalyEventTrack anomalies in how users run or export reports.Object is available only in Real-Time Event Monitoring.
          ReportEventStreamDetect when a user creates, runs, updates, or exports a report that contains sensitive data.Object is available only in Real-Time Event Monitoring.
          SessionHijackingEventTrack when unauthorized users gain ownership of a Salesforce user’s session with a stolen session identifier.Object is available only in Real-Time Event Monitoring.
          UriEventStreamDetect when a user creates, accesses, updates, or deletes a record containing sensitive data in Salesforce Classic.Object is available only in Real-Time Event Monitoring

          For more information about building apps that listen to streaming data channels, see the Pub/Sub API Developer Guide.

          For a quick start about subscribing to streaming events, see the Java Quick Start for Publishing and Subscribing to Events in the Pub/Sub API Developer Guide. The quick start shows how to subscribe to a platform event using a Java client. Follow the steps and supply the subscription channel for a real-time event.

          For reference documentation of the standard platform events and the corresponding big objects, see Real-Time Event Monitoring Objects in the Platform Events Developer Guide.

           
          Loading
          Salesforce Help | Article