<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: REST call for alerts only in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82244#M84722</link>
    <description>CM API request is an authenticated request to CM server which will be audit logged. One option for you may be to use a dedicated username for your CM API queries, and filter out this username in your query filter.</description>
    <pubDate>Mon, 12 Nov 2018 15:33:24 GMT</pubDate>
    <dc:creator>gzigldrum</dc:creator>
    <dc:date>2018-11-12T15:33:24Z</dc:date>
    <item>
      <title>REST call for alerts only</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/81990#M84719</link>
      <description>&lt;P&gt;Hi everyone, is there a REST call (or another way) that i can make to cloudera manager to fetch the alerts only ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, i figured that when there's an alert, the Alert Publisher custom script is called with a json containing all the alerts as an arguments, how can I get that json ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karim&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 14:47:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/81990#M84719</guid>
      <dc:creator>Karim</dc:creator>
      <dc:date>2018-11-06T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST call for alerts only</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82157#M84720</link>
      <description>By default no custom alert script is used, this has to be explicitly configured. Is alert email delivery or SNMP alerting not sufficient for your use case?&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="https://www.cloudera.com/documentation/enterprise/5/latest/topics/cm_dg_alerts.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5/latest/topics/cm_dg_alerts.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alternatively you can use the CM API to query events, a query filter like "alert==true" will retrieve only those events which are tagged as alert.&lt;BR /&gt;&lt;BR /&gt;For more info how to use the CM API please see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cloudera.github.io/cm_api/" target="_blank"&gt;http://cloudera.github.io/cm_api/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_EventsResource.html" target="_blank"&gt;https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_EventsResource.html&lt;/A&gt;</description>
      <pubDate>Fri, 09 Nov 2018 14:12:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82157#M84720</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2018-11-09T14:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST call for alerts only</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82243#M84721</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="http://community.cloudera.com/t5/user/viewprofilepage/user-id/9321" target="_self"&gt;gzigldrum&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your answer,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;that's what i'm doing now, but everytime i do a call to /events endpoint using a basic authentication, it add the authentication event to the list as a "AUDIT_EVENT", is there a way to not add the audit events to the events list ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 15:09:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82243#M84721</guid>
      <dc:creator>Karim</dc:creator>
      <dc:date>2018-11-12T15:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST call for alerts only</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82244#M84722</link>
      <description>CM API request is an authenticated request to CM server which will be audit logged. One option for you may be to use a dedicated username for your CM API queries, and filter out this username in your query filter.</description>
      <pubDate>Mon, 12 Nov 2018 15:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-call-for-alerts-only/m-p/82244#M84722</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2018-11-12T15:33:24Z</dc:date>
    </item>
  </channel>
</rss>

