Add how to filter on time and how to get query string.