<?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: API to pull the exception and it's count in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231171#M2804</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Can you send API documentation link or swagger document link for Logs API? Because couldn't able to find this API in given swagger doc.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Shruti&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 10:07:52 GMT</pubDate>
    <dc:creator>Shruts</dc:creator>
    <dc:date>2023-12-07T10:07:52Z</dc:date>
    <item>
      <title>API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231114#M2802</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I wanted to pull all the exception that occurred with it's counts using API. Can I fetch the result by using provided API and if yes then let me know the API details.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:30:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231114#M2802</guid>
      <dc:creator>Shruts</dc:creator>
      <dc:date>2023-12-07T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231124#M2803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68893"&gt;@Shruts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;To retrieve exceptions and their counts using the Dynatrace API, you can utilize the Dynatrace Problem and Event Feed API or the Logs API, depending on the exact nature of the data you're interested in.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Problem and Event Feed API:&lt;/STRONG&gt; This API provides detailed information about problems detected in your monitored environment. It might include exception data if these exceptions are part of broader problems detected by Dynatrace.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Logs API:&lt;/STRONG&gt; If you're specifically interested in exceptions as they are logged, the Logs API would be the right choice. This API allows you to query log data, which can include exception details.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;GET https://{your-environment-id}.live.dynatrace.com/api/v2/logs/query&lt;BR /&gt;Authorization: Api-Token {your-api-token}&lt;BR /&gt;Content-Type: application/json&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": "log level ERROR | count",&lt;BR /&gt;"from": "now-2d",&lt;BR /&gt;"to": "now"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Dec 2023 07:47:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231124#M2803</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-12-07T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231171#M2804</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Can you send API documentation link or swagger document link for Logs API? Because couldn't able to find this API in given swagger doc.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Shruti&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 10:07:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231171#M2804</guid>
      <dc:creator>Shruts</dc:creator>
      <dc:date>2023-12-07T10:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231194#M2805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find swagger in Managed &amp;gt;&amp;gt; Access tokens&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2023-12-7 o 12.53.59.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16083iBA514EAB53B67BF4/image-size/small?v=v2&amp;amp;px=200" role="button" title="Zrzut ekranu 2023-12-7 o 12.53.59.png" alt="Zrzut ekranu 2023-12-7 o 12.53.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-events-v2" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-events-v2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 11:55:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231194#M2805</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-12-07T11:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231335#M2806</link>
      <description>&lt;P&gt;You may be looking for this information displayed in the multidimensional analysis tool&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1702025289234.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16105iA0C9A50BD4DC3390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1702025289234.png" alt="mark_bley_0-1702025289234.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There you can create a Metric based on the Exceptions and the count.&lt;/P&gt;&lt;P&gt;Once you have the metric you can easily pull the information from&amp;nbsp;&lt;SPAN&gt;/api/v2&lt;/SPAN&gt;&lt;SPAN&gt;/metrics&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You may need to filter down the search using a specific service or request otherwise it may not work if you have too much data in your environment.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 08:51:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231335#M2806</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2023-12-08T08:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: API to pull the exception and it's count</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231340#M2807</link>
      <description>&lt;P&gt;Please note that creating additional metrics consumes the DDU licence.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:14:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-pull-the-exception-and-it-s-count/m-p/231340#M2807</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-12-08T09:14:55Z</dc:date>
    </item>
  </channel>
</rss>

