a new comer question about databases/collections access logging
- 0
- Self Hosted
- Webhooks
- Web
- REST API
Hi everyone,
I am new to appwrite and currently evaluate it. Thanks for this great tools first of all.
I ran into a question about logging.
I would like to log some incoming request (i.e. users logging in/out, documents the user access, etc ... ) to particular collection in appwrite( say logs
).
May I know is there any "common" practice to implement this ?
Thanks for help in advace.
BR, louis
You could use Events to some extent for this.
But tracking Collection & Document reads
may not be possible. There is a Usage Stat tab usually on the console to see an overall data.
Regarding your use-case for a User
accessing a particular document, you can manually do this by firing a Function that'll update the logs
collection.
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...