<?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 for specific error detection rules at service level in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175678#M1462</link>
    <description>&lt;P&gt;This is great. Do you have an example of POST request to ignore a certain Exception? Also, I had added some exceptions to ignore list in the UI under Service settings. But when I do a GET all parameterSets, I get an empty response. Does this API only return the parameter sets that were created via API?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 21:39:04 GMT</pubDate>
    <dc:creator>shreyas_shivapr</dc:creator>
    <dc:date>2021-11-10T21:39:04Z</dc:date>
    <item>
      <title>API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175067#M1460</link>
      <description>&lt;P&gt;I know that we can use this early-adopter API to add some specific error-detection-rule based on a service request-attribute. This already helped us a lot.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/failure-detection/detection-rules/post-rule/" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/failure-detection/detection-rules/post-rule/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, now I want to make an Exception exclusion rule only on some specific services with a specific tag. I could do this manual, but that's a lot of work to maintain. And I don't see an API for that.&lt;/P&gt;
&lt;P&gt;Is there an API? Or are there alternatives?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 12:55:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175067#M1460</guid>
      <dc:creator>Bert_VanderHeyd</dc:creator>
      <dc:date>2021-11-12T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175104#M1461</link>
      <description>&lt;P&gt;Found it. It is possible via that API after all. See&amp;nbsp;&lt;SPAN&gt;ignoredExceptionPatterns in&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/failure-detection/parameter-set/post-parameter-set/" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/failure-detection/parameter-set/post-parameter-set/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 14:52:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175104#M1461</guid>
      <dc:creator>Bert_VanderHeyd</dc:creator>
      <dc:date>2021-10-29T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175678#M1462</link>
      <description>&lt;P&gt;This is great. Do you have an example of POST request to ignore a certain Exception? Also, I had added some exceptions to ignore list in the UI under Service settings. But when I do a GET all parameterSets, I get an empty response. Does this API only return the parameter sets that were created via API?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 21:39:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175678#M1462</guid>
      <dc:creator>shreyas_shivapr</dc:creator>
      <dc:date>2021-11-10T21:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175679#M1463</link>
      <description>&lt;P&gt;Correct. The API returns only settings that were created using API.&amp;nbsp;&lt;BR /&gt;Unfortunately in the UI you don't see the parameters created using API, even in read-only mode.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 22:30:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175679#M1463</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-11-10T22:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175682#M1464</link>
      <description>&lt;P&gt;Thank you! And on my other question regarding example POST request, I figured it out and was able to ignore a specific exception.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 22:52:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175682#M1464</guid>
      <dc:creator>shreyas_shivapr</dc:creator>
      <dc:date>2021-11-10T22:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175695#M1465</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/31766"&gt;@shreyas_shivapr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using below to exclude an exception using API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st step: Creating the parameter:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "FDP_1",&lt;BR /&gt;"name": "Exclusion 500 Internal Server Error",&lt;BR /&gt;"description": "Exclusion 500 Internal Server Error",&lt;BR /&gt;"clientSideMissingHttpCodeIsFailure": false,&lt;BR /&gt;"serverSideMissingHttpCodeIsFailure": false,&lt;BR /&gt;"failingHttpCodesClientSide": "400-599",&lt;BR /&gt;"failingHttpCodesClientSide": "400-499, 501-599",&lt;BR /&gt;"failingHttpCodesServerSide": "500-599",&lt;BR /&gt;"failingHttpCodesServerSide": "501-599",&lt;BR /&gt;"http404NotFoundFailureEnabled": false,&lt;BR /&gt;"brokenLinkDomains": [],&lt;BR /&gt;"successForcingExceptionPatterns": [],&lt;BR /&gt;"ignoredExceptionPatterns": [&lt;BR /&gt;{&lt;BR /&gt;"classPattern": "System.Net.WebException",&lt;BR /&gt;"messagePattern": "The remote server returned an error: (500) Internal Server Error."&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;&lt;BR /&gt;"tagConditions": []&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd create the rule:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "R_1",&lt;BR /&gt;"name": "Exclusion 500 Internal Server Error",&lt;BR /&gt;"description": "Exception Excluse 500 Server error",&lt;BR /&gt;"enabled": true,&lt;BR /&gt;"fdpId": "FDP_1",&lt;BR /&gt;"conditions": [&lt;BR /&gt;{&lt;BR /&gt;"attribute": "SERVICE_NAME",&lt;BR /&gt;"predicate": {&lt;BR /&gt;"type": "STRING_STARTS_WITH",&lt;BR /&gt;"ignoreCase": false,&lt;BR /&gt;"values": [&lt;BR /&gt;"Default Web Site:80,443",&lt;BR /&gt;"ANB-SRV-OUTDMZ"&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 09:53:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175695#M1465</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2021-11-11T09:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175715#M1466</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/23195"&gt;@Malaik&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do we always need to create the rule followed by creating the parameter? And is the rule to apply the parameter to specific service?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:24:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175715#M1466</guid>
      <dc:creator>shreyas_shivapr</dc:creator>
      <dc:date>2021-11-11T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: API for specific error detection rules at service level</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175770#M1467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/31766"&gt;@shreyas_shivapr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to create le parameter first, because the ID of the parameter is one item of the rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can specify a list of services ... (in my example, you can see all services starting with&amp;nbsp;&lt;SPAN&gt;"Default Web Site:80,443"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"type": "&lt;STRONG&gt;STRING_STARTS_WITH&lt;/STRONG&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ignoreCase": false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"values": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;"Default Web Site:80,443",&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 10:10:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-for-specific-error-detection-rules-at-service-level/m-p/175770#M1467</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2021-11-12T10:10:37Z</dc:date>
    </item>
  </channel>
</rss>

