Linspace
Description
Input plugin for generating specified count of events linearly spaced in time interval.
Parameters
Usage name: linspace
Supported modes: sample
Parameter | Expected value | Required | Description |
---|---|---|---|
start | <datetime> (see format here) | Yes | Start time of interval |
end | <datetime> | Yes | End time of interval |
count | <int> | Yes | Number of events within interval |
endpoint | <bool> | No, default is True | Whether to include end point of interval |
Example
linspace:
start: "2024-01-01T00:00:00.000Z"
end: "2024-01-31T00:00:00.000Z"
count: 31
endpoint: true