Next.js Discord

Discord Forum

How can i implement user activity logging?

Unanswered
Dwarf Crocodile posted this in #help-forum
Open in Discord
Avatar
Dwarf CrocodileOP
My FE is on react, and BE on flask.
Both FE and BE are on same EC2. I have nginx configured on it.

I am using CloudWatch on my Cloudfront distribution (for my S3 files), to know how frequently my S3 files are being accessed/fetched. But I want more granular information.

I want to logg user details:
Who logged in, timestamp, what he did inside my dashboard, what he accessed, location and other useful userData.

How can i do it? Is there any AWS service that can help? Do i need to make any changes to my code base as well to logg stuff?

(If there are multiple ways do let me know)

0 Replies