Option to save Realm Logs to a collection
Currently logs in a Realm app are viewable via the UI or via the API.
The API limits return results to a maximum at 100 a time.
I would like to be able to save logs (errors, especially) into a collection so that I can query or analyze them how I see fit.
The current work-around is ensuring that each of my functions has an appropriate try/catch/log, effectively replicating the logging Realm already does. Put another way, please expose the logs in a way that we can truly query them.
3
votes
Eve Ragins
shared this idea
Hi all - please check out Log Forwarding which lets you store logs to a certain cluster or be handled by a serverless function https://docs.mongodb.com/realm/logs/forward-logs/