Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Getting the cluster audits using Cloudera manager API

Getting the cluster audits using Cloudera manager API

Super Collaborator

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")'

1 REPLY 1
Highlighted

Re: Getting the cluster audits using Cloudera manager API

Super Collaborator

Managed:

 

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