Filter by timestamp or offset
This page describes how to view the most recents messages in Lenses.
View the most recent messages
Filter by timestamp
SELECT * FROM mytopic WHERE _meta.timestamp > now() - "5m" LIMIT 100;Filter by offset
SELECT * FROM mytopic WHERE _meta.offset >= LAST_OFFSET() - 10 LIMIT 100;Slice from the past
Filter by timestamp
SELECT *
FROM position_reports
WHERE
_meta.timestamp > "2020-04-01" AND
_meta.timestamp < "2020-04-02";
Filter by Offset
Last updated
Was this helpful?

