Skip to main content
Version: 0.91.0

Calculate Duration


Description

This processor calculates the duration for a given stream with a start timestamp and an end timestamp.


Required input

Two timestamp fields


Configuration

  • Start Timestamp: The first timestamp (t1)
  • End Timestamp: The second timestamp (t2)
  • Time Unit of the result

Output

Appends a new field with the difference of t2 and t1