Logstash / Enrich processor event sample rate

Hi,

I have multiple CSVs files with sensors data. Each data file holds the timestamp and the numeric value of the sensor at that time. Each sensor has a different sample rate.

For a exemple we have a temperature sensor sampling at 1 event per second:

timestamp;value
1607073048000;13.3
1607073049000;13.5
1607073050000;13.2
....

I am looking for the way to ingest data at a given sample rate. Let's say 2 event per second.
With the data shown above I would need to "duplicate" data in order to have 2 events per second.
Is there a way to do that with logstash or with enrich processors ?

How can I decide when to do interpolation or not ?

Thank you for your help

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.