Audit log is a trisul feature which allows you to monit the overall activities in trisul like login, logout, create/delete user, password change, start/stop node …etc.
trisul writes all the audit logs in a fill called audit.log
which is located in
usr/local/var/log/trisul-hub/webtrisul/
you can open this file and see the logs.
Here is an example audit log entry
19-09-2024 18:39:14 INFO 192.168.1.20 127.0.0.1 user default - User successfully logged in
Name | Sample Value |
---|---|
Time stamp | 19-09-2024 18:39:14 |
Sevierity Level | INFO |
HTTP Real IP | 192.168.1.20 |
Request IP | 127.0.0.1 |
User name | user |
Context name | default |
Log message | User successfully logged in |
If the application is behind a proxy and the X-Forwarded-For header is present, Request IP will typically return the IP of the proxy server instead of the client.