<?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: How to filter based on query/statement in CM in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/61540#M54531</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp;Hi mbigelow,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use LIKE in the CM API with now success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ahve one like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -u 'xxxx':'xxxx' '&lt;A href="http://CM_server.domain.com:7180/api/v11/clusters/cluster/services/impala/impalaQueries?from=2017-10-10T00:00:00&amp;amp;to2017-10-11T00:00:00&amp;amp;limit=1000&amp;amp;filter=statement" target="_blank"&gt;http://CM_server.domain.com:7180/api/v11/clusters/cluster/services/impala/impalaQueries?from=2017-10-10T00:00:00&amp;amp;to2017-10-11T00:00:00&amp;amp;limit=1000&amp;amp;filter=statement&lt;/A&gt; RLIKE ".*fawzea.*"' &amp;gt;&amp;gt;f.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help&lt;/P&gt;</description>
    <pubDate>Sun, 05 Nov 2017 14:52:35 GMT</pubDate>
    <dc:creator>Fawze</dc:creator>
    <dc:date>2017-11-05T14:52:35Z</dc:date>
    <item>
      <title>How to filter based on query/statement in CM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/50965#M54529</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to list down all insert statements run in impala for a specific duration (impala queries), How do i query that. I am looking for something like statement like insert* (it should list all the statment which starts with insert). But this option not available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls suggest any alternatives.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:05:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/50965#M54529</guid>
      <dc:creator>npdell</dc:creator>
      <dc:date>2022-09-16T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter based on query/statement in CM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/51060#M54530</link>
      <description>In CM, in the cluster drop down menu select Impala queries. Select your time range and then enter statement RLIKE 'insert.*' into the search box. That should do it.</description>
      <pubDate>Fri, 17 Feb 2017 08:07:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/51060#M54530</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-02-17T08:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter based on query/statement in CM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/61540#M54531</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp;Hi mbigelow,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use LIKE in the CM API with now success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ahve one like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -u 'xxxx':'xxxx' '&lt;A href="http://CM_server.domain.com:7180/api/v11/clusters/cluster/services/impala/impalaQueries?from=2017-10-10T00:00:00&amp;amp;to2017-10-11T00:00:00&amp;amp;limit=1000&amp;amp;filter=statement" target="_blank"&gt;http://CM_server.domain.com:7180/api/v11/clusters/cluster/services/impala/impalaQueries?from=2017-10-10T00:00:00&amp;amp;to2017-10-11T00:00:00&amp;amp;limit=1000&amp;amp;filter=statement&lt;/A&gt; RLIKE ".*fawzea.*"' &amp;gt;&amp;gt;f.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 14:52:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-filter-based-on-query-statement-in-CM/m-p/61540#M54531</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-11-05T14:52:35Z</dc:date>
    </item>
  </channel>
</rss>

