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.

Boolean OR in query for Cloudera manager API for events

Boolean OR in query for Cloudera manager API for events

New Contributor

Hi,

 

I'm trying to extract events using the events ReST API mentioned at https://cloudera.github.io/cm_api/apidocs/v19/path__events.html.

 

As per the documentation, I am calling below request, but it is giving me error:

Request: http://cm-server:7180/api/v19/events?query=severity==critical%20important;timeReceived=ge=2019-10-18T00:00:00Z
Response:
{
"message" : "critical important is not a valid event severity. Support severity values: INFORMATIONAL, IMPORTANT, CRITICAL" }

 

Does events API query parameter allow BOOLEAN OR?

 

Regards

Don't have an account?
Coming from Hortonworks? Activate your account here