<?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>topic Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117883#M1758</link>
    <description>&lt;P&gt;Hi Dominik,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;We are using version 1.164&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 09 May 2019 07:49:35 GMT</pubDate>
    <dc:creator>dparkar</dc:creator>
    <dc:date>2019-05-09T07:49:35Z</dc:date>
    <item>
      <title>Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117878#M1753</link>
      <description>&lt;P&gt;We are using the following query to get names of all the users:&lt;/P&gt;&lt;P&gt;SELECT distinct(userid) FROM usersession where useraction.application='&amp;lt;ApplicationName&amp;gt;' GROUP BY userid&lt;/P&gt;&lt;P&gt;However only 1000 users are retrieved.&lt;/P&gt;&lt;P&gt;Is there a way to retrieve all the users at once or if not possible are there means to retrieve all users in small batches and iterating until the last user is fetched?&lt;/P&gt;&lt;P&gt;PS: Tried using LIMIT at the end of the query.&lt;/P&gt;&lt;P&gt;Using Limit 10 or Limit 100 or Limit 500 works and only that many users are fetched&lt;/P&gt;&lt;P&gt;Using LIMIT 1000 or more doesnt work.&lt;/P&gt;&lt;P&gt;There is a limit of 1000 users(rows) in the json response&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 12:12:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117878#M1753</guid>
      <dc:creator>dparkar</dc:creator>
      <dc:date>2019-05-07T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117879#M1754</link>
      <description>&lt;P&gt;The API has certain limitations built in to protect the Dynatrace Cluster from experiencing any performance degradation from requests that are too large.&lt;BR /&gt;To get around this, my suggestion would be to use regex to pull users who's user id start with a particular character, then do this iteratively for each character that is allowed by the app (a-z, 0-9).&lt;/P&gt;&lt;P&gt;This should break the response up into smaller chunks.&lt;BR /&gt;Another option would be to add more specific criteria to your API call if there is a certain type of user or activity that you are looking for.&lt;BR /&gt;If neither of these suggestions work for you, feel free to submit an RFE to allow for a larger amount of rows to be returned.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 12:45:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117879#M1754</guid>
      <dc:creator>trevor_masseng1</dc:creator>
      <dc:date>2019-05-07T12:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117880#M1755</link>
      <description>&lt;P&gt;But DQL doesn't support functions like CONTAINS, LIKE, STARTSWITH etc. so that I would have iterated using the first names.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 13:39:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117880#M1755</guid>
      <dc:creator>dparkar</dc:creator>
      <dc:date>2019-05-07T13:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117881#M1756</link>
      <description>&lt;P&gt;Okay the below query helps.&lt;/P&gt;&lt;P&gt;SELECT distinct(userid) FROM usersession where useraction.application='OMK' and userid startswith 'A' GROUP BY userid limit 1000&lt;/P&gt;&lt;P&gt;Used limit 1000 to get more than 50 rows.&lt;/P&gt;&lt;P&gt;Thanks for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 13:43:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117881#M1756</guid>
      <dc:creator>dparkar</dc:creator>
      <dc:date>2019-05-07T13:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117882#M1757</link>
      <description>&lt;P&gt;With version 1.159 we increased this limit to 5000.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 13:51:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117882#M1757</guid>
      <dc:creator>dominik_stadler</dc:creator>
      <dc:date>2019-05-07T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117883#M1758</link>
      <description>&lt;P&gt;Hi Dominik,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;We are using version 1.164&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2019 07:49:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/117883#M1758</guid>
      <dc:creator>dparkar</dc:creator>
      <dc:date>2019-05-09T07:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to retrieve more than 1000 users using Dynatrace API's usersession endpoint?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/166409#M2744</link>
      <description>&lt;P&gt;Has this limit changed now?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 09:20:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Is-there-a-way-to-retrieve-more-than-1000-users-using-Dynatrace/m-p/166409#M2744</guid>
      <dc:creator>omar_sheikh</dc:creator>
      <dc:date>2021-05-21T09:20:20Z</dc:date>
    </item>
  </channel>
</rss>

