Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule "replace timestamp"
- when
- true
- then
- debug($message.timestamp);
- let new_date = parse_date(to_string($message.timestamp), "yyyy-MM-dd'T'HH:mm:ss", "BR", "BRT");
- set_field("timestamp", new_date);
- debug($message.timestamp);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement