@grow-codes/aws-cloudwatch-logs - v0.1.1
    Preparing search index...

    Function planLogEventBatches

    • Applies the per-event size policy, sorts events by timestamp (stable) and splits them into batches that respect every PutLogEvents limit. Throws ValidationError for invalid timestamps, non-string messages, or an oversized event with oversizePolicy: "error".

      Parameters

      Returns BatchPlan