|
@ -13,14 +13,26 @@ Usage |
|
|
===== |
|
|
===== |
|
|
|
|
|
|
|
|
Go to `Reporting / Audit / Rules` to subscribe rules. A rule defines which |
|
|
Go to `Reporting / Audit / Rules` to subscribe rules. A rule defines which |
|
|
operations to log for a given data model. |
|
|
|
|
|
Then, check logs in the `Reporting / Audit / Logs` menu. |
|
|
|
|
|
|
|
|
operations to log for a given data model: |
|
|
|
|
|
|
|
|
|
|
|
.. image:: /auditlog/static/description/rule.png |
|
|
|
|
|
|
|
|
|
|
|
Then, check logs in the `Reporting / Audit / Logs` menu. You can group them by |
|
|
|
|
|
user sessions, date, data model or HTTP requests: |
|
|
|
|
|
|
|
|
|
|
|
.. image:: /auditlog/static/description/logs.png |
|
|
|
|
|
|
|
|
|
|
|
Get the details: |
|
|
|
|
|
|
|
|
|
|
|
.. image:: /auditlog/static/description/log.png |
|
|
|
|
|
|
|
|
A scheduled action exists to delete logs older than 6 months (180 days) |
|
|
A scheduled action exists to delete logs older than 6 months (180 days) |
|
|
automatically but is not enabled by default. |
|
|
automatically but is not enabled by default. |
|
|
To activate it and/or change the delay, go to the |
|
|
To activate it and/or change the delay, go to the |
|
|
`Configuration / Technical / Automation / Scheduled Actions` menu and edit the |
|
|
`Configuration / Technical / Automation / Scheduled Actions` menu and edit the |
|
|
`Auto-vacuum audit logs` entry. |
|
|
|
|
|
|
|
|
`Auto-vacuum audit logs` entry: |
|
|
|
|
|
|
|
|
|
|
|
.. image:: /auditlog/static/description/autovacuum.png |
|
|
|
|
|
|
|
|
During installation, a one-time script will migrate any existing data from the |
|
|
During installation, a one-time script will migrate any existing data from the |
|
|
`audittrail` module (rules and logs). |
|
|
`audittrail` module (rules and logs). |
|
@ -49,6 +61,11 @@ Contributors |
|
|
* Sebastien Alix <sebastien.alix@osiell.com> |
|
|
* Sebastien Alix <sebastien.alix@osiell.com> |
|
|
* Holger Brunn <hbrunn@therp.nl> |
|
|
* Holger Brunn <hbrunn@therp.nl> |
|
|
|
|
|
|
|
|
|
|
|
Images |
|
|
|
|
|
------ |
|
|
|
|
|
|
|
|
|
|
|
* Icon: built with different icons from the `Oxygen theme <https://en.wikipedia.org/wiki/Oxygen_Project>`_ (LGPL) |
|
|
|
|
|
|
|
|
Maintainer |
|
|
Maintainer |
|
|
---------- |
|
|
---------- |
|
|
|
|
|
|
|
|