Reply
Expert Contributor
Posts: 316
Registered: ‎01-25-2017

Getting the cluster audits using Cloudera manager API

Hi Guys,

 

I'm using cloudera manager API to get the cluster audits.

I need a help how to filter out the audits of my read only user.

 

curl -X GET -u 'admin':'admin' 'http://cm:7180/api/v18/audits?query=(username!="ro_user")'

Highlighted
Expert Contributor
Posts: 316
Registered: ‎01-25-2017

Re: Getting the cluster audits using Cloudera manager API

Managed:

 

curl -X GET -u 'admin':'admin' 'http://cm:7180/api/v18/audits?query=username!=ro_user'

 

 
 
Announcements