[closed] Kapacitor UDF: How to read timestamp in UDF?


I have a UDF in which I am need to use timestamp in my code (inside point method as my UDF wants and provides STREAM). I need both field value and timestamp for my algorithm. We can select our field value (type double) in point method by using point.fieldsDouble[self._field].
But is it there a way to read timestamp inside an UDF?


I managed to get the time in UDF using point.time