<?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 How to use APIs to track the license usage of various system users? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-use-APIs-to-track-the-license-usage-of-various-system/m-p/268090#M3575</link>
    <description>&lt;P&gt;How to use APIs to track the license usage of various system users?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 07:12:48 GMT</pubDate>
    <dc:creator>ADbyCool</dc:creator>
    <dc:date>2025-01-23T07:12:48Z</dc:date>
    <item>
      <title>How to use APIs to track the license usage of various system users?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-use-APIs-to-track-the-license-usage-of-various-system/m-p/268090#M3575</link>
      <description>&lt;P&gt;How to use APIs to track the license usage of various system users?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 07:12:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-use-APIs-to-track-the-license-usage-of-various-system/m-p/268090#M3575</guid>
      <dc:creator>ADbyCool</dc:creator>
      <dc:date>2025-01-23T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use APIs to track the license usage of various system users?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-use-APIs-to-track-the-license-usage-of-various-system/m-p/268436#M3580</link>
      <description>&lt;P&gt;You can leverage the DQL API:&amp;nbsp;&lt;SPAN&gt;developer.dynatrace.com/platform-services/services/storage/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then using a query like following will give you the DQL query usage.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.system.events
| filter event.kind == "BILLING_USAGE_EVENT" and matchesPhrase(event.type, "Query")
| filter isNotNull(user.email)
| fields query_start, event.type, user.email, billed_bytes
| fieldsAdd query_cost = billed_bytes/1024/1024/1024*toDouble(0.0035)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1737968734517.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25975iB461C3A343345AED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1737968734517.png" alt="mark_bley_0-1737968734517.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 09:11:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-use-APIs-to-track-the-license-usage-of-various-system/m-p/268436#M3580</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2025-01-27T09:11:00Z</dc:date>
    </item>
  </channel>
</rss>

