cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to fetch audit logs?

Ankush_Bandil
Confirmed Champ
Confirmed Champ

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?

2 REPLIES 2

Rodri_
Star Contributor
Star Contributor

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.

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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

Getting started

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.