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:
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