Skip to main content
AWlodarczyk
Silver ⭐️⭐️
December 16, 2021
Solved

Cloudera Manager (CDP private cloud) audit logs

Hello,

We need to export Cloudera Manager audit logs (not to be confused with Ranger audit logs) to some external system.

Previously (in CDH) they were Navigator logs, but these are not present anymore.

Is there any solution for exporting these logs?

I know they are available on /cmf/history endpoint, but maybe there is some more convenient way of reading them?

 

Best regards,

Aleksander

mkwang
mkwangAnswer
Gold ⭐️
December 16, 2021

The API Explorer under 'CM => Support => API Explorer' can help you create the CM API to export the CM Audit logs.  Once you are in the Cloudera Manager API page, click on 'GET /audits', then click 'Try it out', and click 'Execute' below.  This will give you a curl command, request url, as well as the response body.  You can change the parameters to filter the results.

2 replies

mkwang
Gold ⭐️
mkwangAnswer
Gold ⭐️
December 16, 2021

The API Explorer under 'CM => Support => API Explorer' can help you create the CM API to export the CM Audit logs.  Once you are in the Cloudera Manager API page, click on 'GET /audits', then click 'Try it out', and click 'Execute' below.  This will give you a curl command, request url, as well as the response body.  You can change the parameters to filter the results.

Translate
DianaTorres
Community Manager
Community Manager
December 23, 2021

@AWlodarczyk Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.

Translate
Regards, Diana Torres, Senior Community Moderator