I want to get the average executionTime for every 10 minutes. I can’t figure out what to do next to transform this data to something that looks like
Timestamp
average executionTime
2025-02-27 03:20:00
1200
2025-02-27 03:30:00
1300
2025-02-27 03:40:00
1100
2025-02-27 03:50:00
1180
I think I’ve tried most of the other transformations that might be relevant like group by, reduce, histogram, partition, either I’m doing something wrong with those or I’m missing a step.
If it’s relevant, the datasource of this are logs in opensearch, each row in the screenshot is 1 log message where I just extracted the timestamp and executionTime data.
Sorry I’m new to this, how should I give the sample data? what format?
Is the data in the screenshot not enough? it’s just logs but I only captured the timestamp field and executionTime, although the execution time was a string so I had to convert it to number as seen in the screenshot as well.