06-15-2020 11:40 AM
I am using ElasticSearch for audit logging. I have set all the configurations required in nuxeo.conf. How can I fetch audit logs for a period of time and for group creation or permission and other activities?
06-16-2020 12:40 PM
Hello,
I think it depends on how are you going to access those logs, and the purpose of doing it. For example, if you just want to access with administrations purpose, you can check them directly in ElasticSearch using the "Head" plugin for Google Chrome browser: https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm](https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm).
If you want to work with Audits inside your nuxeo instance, you can use the "Audit API" for it: https://doc.nuxeo.com/nxdoc/audit/#querying-the-audit-data-store
And if you want to manage all the audits, you can even use Kibana, connecting it to your ElasticSearch instance. It is similar as the "ElasticSearch Head" plugin, but with a lot of advanced features.
Regards.
06-17-2020 09:57 AM
Hello,
If you need to get the audit trail records for a document, you have to use our REST API adapter: /api/v1/id/{docId}/@audit. You can have a look to the page provider we're using: https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewComponent... . If you need more detailed information on audit, please refer to the Audit Documentation Page
Regards
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.