<?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: Ranger API assets/accessAudit set startDate in URL in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377322#M243224</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106421"&gt;@kuhbrille&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 23:39:36 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2023-10-06T23:39:36Z</dc:date>
    <item>
      <title>Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375052#M242262</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to read data from Ranger Rest API ...assets/accessAudit...&lt;/P&gt;&lt;P&gt;Works fine but need to set the startDate like I can do it in the Ranger WebUI in the Audit part.&lt;/P&gt;&lt;P&gt;Is there any docu where to find how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: ...&lt;SPAN&gt;&lt;SPAN class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;A class="fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn" title="https://itsusralsp07969.jnj.com:6182/service/assets/accessaudit?startdate=06/02/2023&amp;amp;resourcetype=@table&amp;amp;accesstype=select&amp;amp;sortby=eventtime&amp;amp;sorttype=descending&amp;amp;excludeserviceuser=false&amp;amp;offset=0&amp;amp;limit=2" href="https://itsusralsp07969.jnj.com:6182/service/assets/accessAudit?startDate=06/02/2023&amp;amp;resourceType=@table&amp;amp;accessType=select&amp;amp;sortBy=eventTime&amp;amp;sortType=descending&amp;amp;excludeServiceUser=false&amp;amp;offset=0&amp;amp;limit=2" target="_blank" rel="noreferrer noopener"&gt;server:port/service/assets/accessAudit?startDate=06/02/2023&amp;amp;resourceType=@table&amp;amp;accessType=select&amp;amp;sortBy=eventTime&amp;amp;sortType=descending&amp;amp;excludeServiceUser=false&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this example the startDate does not work, only getting the data from the actual day.&lt;/P&gt;&lt;P&gt;If I use the startDate in the Ranger WebUI it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 15:47:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375052#M242262</guid>
      <dc:creator>kuhbrille</dc:creator>
      <dc:date>2023-08-08T15:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375056#M242266</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106421"&gt;@kuhbrille&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Ranger experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/77040"&gt;@Atahar&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/72413"&gt;@vamsi_redd&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 15:58:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375056#M242266</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-08-08T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375058#M242268</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106421"&gt;@kuhbrille&lt;/a&gt;&amp;nbsp; &amp;nbsp;When i execute this in my ranger and check the call, the date is URL parsed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;08%2F08%2F2023&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="row "&gt;&lt;PRE&gt;https://host.host.a465-9q4k.cloudera.site/se-aw-mdl/cdp-proxy/ranger/service/assets/accessAudit?page=0&amp;amp;pageSize=25&amp;amp;total_pages=57997&amp;amp;totalCount=1449906&amp;amp;startIndex=0&amp;amp;excludeServiceUser=false&amp;amp;startDate=08%2F08%2F2023&amp;amp;accessResult=0&amp;amp;_=1691511837287&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="row "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Does that help get your call to take it the date?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 16:27:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375058#M242268</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-08-08T16:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375063#M242272</link>
      <description>&lt;P&gt;Hi, no, did not help... I took out the totalPages and totalCount...&lt;/P&gt;&lt;P&gt;tried it with page=0 and also with pageSize=25...&lt;/P&gt;&lt;P&gt;It always takes the last 200 rows... whatever I do...&lt;/P&gt;&lt;P&gt;.../service/assets/accessAudit?page=0&amp;amp;pageSize=25&amp;amp;startIndex=0&amp;amp;excludeServiceUser=false&amp;amp;startDate=08%2F08%2F2023&amp;amp;accessResult=0&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 17:42:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375063#M242272</guid>
      <dc:creator>kuhbrille</dc:creator>
      <dc:date>2023-08-08T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375064#M242273</link>
      <description>&lt;P&gt;in the Ranger WebUI, when I define the filter in the Audit part, I also have the:&lt;/P&gt;&lt;P&gt;sortType=asscending&amp;amp;sortKey=eventTime&lt;/P&gt;&lt;P&gt;I tried that in my URL, but does not work&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 17:51:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375064#M242273</guid>
      <dc:creator>kuhbrille</dc:creator>
      <dc:date>2023-08-08T17:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375076#M242278</link>
      <description>&lt;P&gt;like I can see, the sorting of the result might cause the issue... whatever I do, it is descending... and so I cannot see, if the startDate filter is working or not...&amp;nbsp;&lt;/P&gt;&lt;P&gt;anybody an idea how to set the sorting in the correct way?&lt;/P&gt;&lt;P&gt;I did it like this: &amp;amp;sortType=ascending&amp;amp;sortBy=eventTime&lt;/P&gt;&lt;P&gt;But that does not work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here another example... I do not see what I am doing wrong:&lt;/P&gt;&lt;P&gt;---/service/assets/accessAudit?startDate=08%2F08%2F2023&amp;amp;sortBy=eventTime&amp;amp;sortType=ascending&amp;amp;excludeServiceUser=false&amp;amp;pageSize=4&amp;amp;startIndex=0&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 08:53:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/375076#M242278</guid>
      <dc:creator>kuhbrille</dc:creator>
      <dc:date>2023-08-09T08:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377040#M243105</link>
      <description>&lt;P&gt;This works:&lt;BR /&gt;---/service/assets/accessAudit?startIndex=0&amp;amp;pageSize=50&amp;amp;sortBy=eventTime&amp;amp;sortType=asc&amp;amp;startDate=09%2F28%2F2023&lt;BR /&gt;To get the next records:&lt;BR /&gt;---/service/assets/accessAudit?startIndex=50&amp;amp;pageSize=50&amp;amp;sortBy=eventTime&amp;amp;sortType=asc&amp;amp;startDate=09%2F28%2F2023&lt;/P&gt;&lt;P&gt;I would recommend to read more than 50 (pageSize) records at the time and also do some filtering like "&amp;amp;repoName=cm_hive" to reduce the number of records.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 12:15:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377040#M243105</guid>
      <dc:creator>jgeert1</dc:creator>
      <dc:date>2023-09-29T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377047#M243112</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106421"&gt;@kuhbrille&lt;/a&gt;/Roland&lt;/P&gt;&lt;P&gt;Can you try the below API?&lt;/P&gt;&lt;P&gt;&amp;lt;Ranger host&amp;gt;:&amp;lt;Port No&amp;gt;/service/assets/accessAudit?&amp;amp;sortBy=eventTime&amp;amp;sortType=asc&amp;amp;startIndex=0&amp;amp;startDate=&amp;lt;Date&amp;gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="http://myranger:6080/service/assets/accessAudit?&amp;amp;sortBy=eventTime&amp;amp;sortType=asc&amp;amp;startIndex=0&amp;amp;startDate=09/23/2023" target="_blank"&gt;http://myranger:6080/service/assets/accessAudit?&amp;amp;sortBy=eventTime&amp;amp;sortType=asc&amp;amp;startIndex=0&amp;amp;startDate=09/23/2023&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 14:04:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377047#M243112</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2023-09-29T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377089#M243122</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;Why are you repeating my working solution...? Is it your goal to walk away with my&amp;nbsp; credits...?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2023 17:51:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377089#M243122</guid>
      <dc:creator>jgeert1</dc:creator>
      <dc:date>2023-09-30T17:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API assets/accessAudit set startDate in URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377322#M243224</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106421"&gt;@kuhbrille&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 23:39:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-assets-accessAudit-set-startDate-in-URL/m-p/377322#M243224</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-10-06T23:39:36Z</dc:date>
    </item>
  </channel>
</rss>

