Loading

Understanding the Discrepancy Between DailyBulkApiBatches Usage and Event Log File (ELF) Record Counts

Udgivelsesdato: Nov 3, 2026
Beskrivelse

Explains why the DailyBulkApiBatches limit counter on the Bulk Data Load Jobs page does not match the row counts found in Bulk API and Bulk API 2.0 Event Log Files (ELF).

Metric / ToolWhat It MeasuresScope & Mechanics
DailyBulkApiBatchesRate-limit allocation counterTracks actual batches consumed against the org's rolling 24-hour limit (e.g., 15,000 batches).
Event Log Files (ELF)Audit & activity event monitoring logCaptures audit records corresponding to individual lifecycle phases and operations within a job.

Key Reasons for the Count Difference

  1. Bulk API 2.0 Ingest vs. Query Jobs:

    • In Bulk API 2.0, only ingest jobs consume batches against the DailyBulkApiBatches allocation.

    • Bulk API 2.0 query jobs do not consume batches and do not increment the DailyBulkApiBatches counter.

    • Event Log Files log events for both ingest and query jobs, inflating the total ELF row count relative to the batch allocation counter.

  2. Lifecycle State Logging in Bulk API 2.0:

    • A classic Bulk API (v1) event log roughly correlates to one entry per batch.

    • Bulk API 2.0 logs discrete events across multiple phases of a single job’s lifecycle (such as job creation, chunking/sub-batching, batch execution, result consolidation, and job completion).

    • Summing all Bulk API 2.0 ELF rows counts multiple intermediate lifecycle events for a single ingest job.

Løsning

This behavior is working as Designed.

The two numbers measure different things:

  • DailyBulkApiBatches counts only the batches that count against your org's 24-hour limit.

  • Event Log Files (ELF) record every activity step (audit logs) and naturally have a much higher count.

Why the Counts Don't Match

  1. Bulk API 2.0 Queries: Query jobs do not consume daily batch limits, but they are still recorded in Event Log Files.

  2. Lifecycle Events: Bulk API 2.0 logs multiple events per job (creation, chunking, processing, and completion), rather than just one entry per batch.

How to Reconcile the Numbers

To match Event Log Files to your DailyBulkApiBatches count over the same 24-hour window:

  1. Count all Bulk API (v1) batch events.

  2. Add only the Bulk API 2.0 Ingest sub-batches.

  3. Exclude all Bulk API 2.0 query jobs and lifecycle state events (such as job created or closed).

Vidensartikelnummer

005465982

 
Indlæser
Salesforce Help | Article