User Tools

Site Tools


trisul_audit_logger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
trisul_audit_logger [2024/09/20 15:27] – created parthatrisul_audit_logger [2024/10/09 16:08] (current) partha
Line 1: Line 1:
 +====== what is Audit Log ======
 +
 +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.
 +
 +
 +====== How to use it ======
 +
 +trisul writes all the audit logs in a fill called ''audit.log'' which is located in 
 +<code bash> usr/local/var/log/trisul-hub/webtrisul/ </code>
 +
 +you can open this file and see the logs.
 +
 +
 +====== Log Format ======
 +
 +Here is an example audit log entry
 +<code bash> 19-09-2024 18:39:14 INFO 192.168.1.20 127.0.0.1 user default - User successfully logged in </code>
 +
 +===== Format =====
 +
 +^ 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 |
 +
 +<note>
 +HTTP Real IP allows you to get the true client IP rather than the IP of the proxy.
 +
 +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.
 +</note>
 +
 +
  
  
-audit log 
trisul_audit_logger.1726826235.txt.gz · Last modified: 2024/09/20 15:27 by partha