Eventum Logo

Eventum

Input

timestamps

Input plugin that emits timestamps from a predefined list or a file.

Emits timestamps from a predefined list or a file. Use this when you need events at specific, known times — for example, to reproduce a scenario or fill gaps in a dataset.

Parameters

ParameterTypeDefaultConstraintsDescription
sourcelist of datetimes or pathRequiredInline list of ISO 8601 timestamps, or path to a file with one timestamp per line.
tagslist of strings[]Tags attached to every timestamp. Accessible in templates via tags.

Timestamps must be in ascending order.

Examples

Inline list:

input:
  - timestamps:
      source:
        - "2024-06-01T09:00:00"
        - "2024-06-01T09:15:00"
        - "2024-06-01T09:30:00"
        - "2024-06-01T10:00:00"

From a file (one ISO 8601 timestamp per line):

input:
  - timestamps:
      source: data/timestamps.txt
data/timestamps.txt
2024-06-01T09:00:00
2024-06-01T09:15:00
2024-06-01T09:30:00

On this page