|
|
@ -389,18 +389,18 @@ models such as <tt class="docutils literal">create</tt>, <tt class="docutils lit |
|
|
|
<h1><a class="toc-backref" href="#id1">Usage</a></h1> |
|
|
|
<p>Go to <cite>Settings / Technical / Audit / Rules</cite> to subscribe rules. A rule defines |
|
|
|
which operations to log for a given data model.</p> |
|
|
|
<img alt="/auditlog/static/description/rule.png" src="/auditlog/static/description/rule.png" /> |
|
|
|
<img alt="https://raw.githubusercontent.com/auditlog/static/description/rule.png" src="https://raw.githubusercontent.com/auditlog/static/description/rule.png" /> |
|
|
|
<p>Then, check logs in the <cite>Settings / Technical / Audit / Logs</cite> menu. You can |
|
|
|
group them by user sessions, date, data model or HTTP requests:</p> |
|
|
|
<img alt="/auditlog/static/description/logs.png" src="/auditlog/static/description/logs.png" /> |
|
|
|
<img alt="https://raw.githubusercontent.com/auditlog/static/description/logs.png" src="https://raw.githubusercontent.com/auditlog/static/description/logs.png" /> |
|
|
|
<p>Get the details:</p> |
|
|
|
<img alt="/auditlog/static/description/log.png" src="/auditlog/static/description/log.png" /> |
|
|
|
<img alt="https://raw.githubusercontent.com/auditlog/static/description/log.png" src="https://raw.githubusercontent.com/auditlog/static/description/log.png" /> |
|
|
|
<p>A scheduled action exists to delete logs older than 6 months (180 days) |
|
|
|
automatically but is not enabled by default. |
|
|
|
To activate it and/or change the delay, go to the |
|
|
|
<cite>Configuration / Technical / Automation / Scheduled Actions</cite> menu and edit the |
|
|
|
<cite>Auto-vacuum audit logs</cite> entry:</p> |
|
|
|
<img alt="/auditlog/static/description/autovacuum.png" src="/auditlog/static/description/autovacuum.png" /> |
|
|
|
<img alt="https://raw.githubusercontent.com/auditlog/static/description/autovacuum.png" src="https://raw.githubusercontent.com/auditlog/static/description/autovacuum.png" /> |
|
|
|
</div> |
|
|
|
<div class="section" id="known-issues-roadmap"> |
|
|
|
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1> |
|
|
|