-
Hi everyone,
What I want is that the output to the file (or other sink output) has the timestamp of the generated metric event, like this:
Is ok even if the timestamp is in other format (for example epoch), but I need it as part of the event, as a field. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use window_start() or window_end(). Please check https://ekuiper.org/docs/en/latest/sqls/functions/other_functions.html#window-start |
Beta Was this translation helpful? Give feedback.
Use window_start() or window_end(). Please check https://ekuiper.org/docs/en/latest/sqls/functions/other_functions.html#window-start