<?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: Get user actions over some period of time in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114719#M1338</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/40675/view.html" nodeid="40675"&gt;@Simeon V.&lt;/A&gt; I would recommend using the following USQL: &lt;/P&gt;&lt;P&gt;SELECT name, startTime, endTime, duration FROM useraction WHERE usersession.userId IS NOT NULL ORDER BY name ASC.&lt;/P&gt;&lt;P&gt;Also if the Json output from the API isnt helping you supply the data you are looking for in excel format, You can always copy and paste the USQL data from the UI into Excel also you can always link excel to the URL of the USQL and have excel fetch the data. &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25728-1594818325160.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 13:07:01 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2020-07-15T13:07:01Z</dc:date>
    <item>
      <title>Get user actions over some period of time</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114718#M1337</link>
      <description>&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;Hello,&lt;/P&gt;
&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;I need to get user action duration and user account count by given start and end time and user action name. When I group all the data by start time the only thing which I can get is the count of the records on a single group. I use Dynatrace Environment API2 v1 in section “User sessions” and extract it as a table.&lt;/P&gt;
&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;SELECT name, starttime, endtime, duration FROM useraction&lt;/P&gt;
&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;The only thing which I can get is all of the registered user actions. Here is the result, which a receive.&lt;/P&gt;
&lt;P&gt;{&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"extrapolationLevel": 1,&lt;/P&gt;
&lt;P&gt;"columnNames": [&lt;/P&gt;
&lt;P&gt;"name",&lt;/P&gt;
&lt;P&gt;"starttime",&lt;/P&gt;
&lt;P&gt;"endtime",&lt;/P&gt;
&lt;P&gt;"duration"&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;"values": [&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;"Loading DTSearchViewController",&lt;/P&gt;
&lt;P&gt;1594789081588,&lt;/P&gt;
&lt;P&gt;1594789082103,&lt;/P&gt;
&lt;P&gt;515&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;"performSearch",&lt;/P&gt;
&lt;P&gt;1594789085168,&lt;/P&gt;
&lt;P&gt;1594789085551,&lt;/P&gt;
&lt;P&gt;383&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25727-1594800466423.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;URL:&lt;/P&gt;
&lt;P&gt;https://*****.live.dynatrace.com/api/v1/userSessionQueryLanguage/table?query=SELECT%20name%2C%20starttime%2C%20endtime%2C%20duration%20FROM%20useraction&amp;amp;addDeepLinkFields=false&amp;amp;explain=false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;I would like to receive the information about the action duration, action name, start and end time of the action on some period of time. In other words I want to group all of the records in a time groups.&lt;/P&gt;
&lt;P style="font-size: 15px; margin: 0cm 0cm 8.0pt 0cm;"&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25726-1594800412549.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:08:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114718#M1337</guid>
      <dc:creator>simeon</dc:creator>
      <dc:date>2022-09-30T11:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get user actions over some period of time</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114719#M1338</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/40675/view.html" nodeid="40675"&gt;@Simeon V.&lt;/A&gt; I would recommend using the following USQL: &lt;/P&gt;&lt;P&gt;SELECT name, startTime, endTime, duration FROM useraction WHERE usersession.userId IS NOT NULL ORDER BY name ASC.&lt;/P&gt;&lt;P&gt;Also if the Json output from the API isnt helping you supply the data you are looking for in excel format, You can always copy and paste the USQL data from the UI into Excel also you can always link excel to the URL of the USQL and have excel fetch the data. &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25728-1594818325160.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 13:07:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114719#M1338</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2020-07-15T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get user actions over some period of time</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114720#M1339</link>
      <description>&lt;P&gt;Hey, thank you for the answer, I solve my problem. Thank you for the time and for the fast support I appreciate it.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 09:27:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114720#M1339</guid>
      <dc:creator>simeon</dc:creator>
      <dc:date>2020-07-16T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get user actions over some period of time</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114721#M1340</link>
      <description>&lt;P&gt;You are very welcome, If my answer solved your problem please feel free to select it as the best answer, along with clicking "Reward user" and reward the user with reputation points as you see fit. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 12:17:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Get-user-actions-over-some-period-of-time/m-p/114721#M1340</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2020-07-16T12:17:56Z</dc:date>
    </item>
  </channel>
</rss>

