Event Monitor

Monitor Salesforce platform events in real-time with TurboKit's Event Monitor.

Event Monitor

TurboKit's Event Monitor provides a powerful interface for monitoring Salesforce platform events in real-time, allowing developers and administrators to track and debug event-driven integrations.

Overview

Platform events in Salesforce provide a publish-subscribe model for integrating systems and applications. The Event Monitor in TurboKit makes it easy to subscribe to platform event channels, view event payloads, and replay historical events.

Key Features

  • Real-time Event Monitoring: Subscribe to platform event channels and receive events in real-time
  • Event Channel Selection: Choose from standard or custom platform event channels
  • Event Replay: Replay historical events using replay IDs
  • JSON Visualization: View event payloads in a formatted JSON viewer
  • Event History: Access a history of received events
  • Copy Functionality: Copy event data as JSON for further analysis
  • Production Safeguards: Special warnings and confirmations when working with production environments

Using Event Monitor

Subscribing to Event Channels

  1. Open TurboKit and select "Event Monitor"
  2. Choose the channel type (Standard Platform Event or Custom Platform Event)
  3. Select the specific event channel from the dropdown
  4. Set the replay option:
    • -1: Only new events (default)
    • -2: All events (use with caution)
    • Specific ID: Events from a specific replay ID
  5. Click "Subscribe" to start receiving events

Viewing Events

Once subscribed to an event channel, the Event Monitor will display events as they occur:

  • Events are displayed in the Event Result area
  • Each event shows the complete JSON payload
  • Click on an event to select it for copying
  • Use the "Copy" button to copy the selected event or all events as JSON
  • Use the "Clear" button to clear the event history

Replay Options

The Event Monitor supports different replay options:

  • -1 (Default): Only receive new events that occur after subscribing
  • -2 (All Events): Receive all stored events plus new events (use with caution)
  • Specific ID: Receive events starting from a specific replay ID

When using the -2 option, the Event Monitor will display a confirmation dialog to warn about potential performance impacts, especially in production environments.

Best Practices

  • Use the default replay option (-1) for most monitoring scenarios
  • Use the -2 option sparingly, especially in production environments
  • Be mindful of daily event delivery limits
  • Clear the event history periodically when monitoring high-volume event channels
  • Test event subscriptions in sandbox environments before using in production
  • Use specific replay IDs when troubleshooting specific event sequences

Integration with Other Features

The Event Monitor integrates with other TurboKit features:

  • Use with REST API Explorer to understand the API calls for publishing events
  • Combine with Data Export to correlate events with data changes
  • Use alongside Organization Limits to monitor event usage and limits