:wave: We use the Popular Queries analytics rules...
# community-help
j
👋 We use the Popular Queries analytics rules and use the notification option in Typesense Cloud to send an email on a weekly basis. Is there a way to limit what is sent so we get the most popular queries that week? At the moment each weekly email is pretty similar without much variation, which is expected, but not that useful for keeping on top of trends. Any ideas?
j
We only track the last X queries in Typesense (defined by the "Limit" in the analytics rule"), and not the timestamps. Best way to achieve what you're looking to do is to write a cron job on your side that deletes all the documents inside the destination collection every week
j
I thought that might be the case, thanks Jason 🙌
👍 1