<?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: Dynatrace Managed. Query multiple environments for alerts in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114365#M1095</link>
    <description>&lt;P&gt;OK, folks, thank you both.&lt;BR /&gt;&lt;BR /&gt;Seems I need to take the path of Ansible/bash scripting way...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 10:30:58 GMT</pubDate>
    <dc:creator>irakli_natsvlis</dc:creator>
    <dc:date>2020-07-01T10:30:58Z</dc:date>
    <item>
      <title>Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114356#M1086</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Here is the situation - we have Dynatrace Managed with a number of (in dozens and hundreds) of different monitored environments.&lt;BR /&gt;&lt;BR /&gt;I would like to make an API call to find out if all or subset of these environments (selected from a list) logged the specific type of alert during a specific timeframe.&lt;BR /&gt;&lt;BR /&gt;For example - list all environments experienced  'slow disk' alerts on the specific day with a timestamp of start/stop of the alert. &lt;BR /&gt;&lt;BR /&gt;How can I do the above &lt;STRONG&gt;using a single request&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;I know how to query a specific environment for all/specific types of alerts using GET - &lt;/P&gt;&lt;PRE&gt;/api/v1/events&lt;/PRE&gt;&lt;P&gt; But as I said - I have hundreds of such environments and it would require to create access token for each environment and query each of them separately. This is not a practical solution.&lt;BR /&gt;&lt;BR /&gt;Any alternatives?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 09:13:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114356#M1086</guid>
      <dc:creator>irakli_natsvlis</dc:creator>
      <dc:date>2020-07-01T09:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114357#M1087</link>
      <description>&lt;P&gt;There is no such option to query multiple environments. You will have to get Api Token for each one and query them individually.&lt;BR /&gt;&lt;BR /&gt;Luckily, you should be able to automate this using the Cluster API v2. I did not try this yet on my own, but you should be able to create a token management token for each environment and then create the required API token for each environment.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 09:41:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114357#M1087</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2020-07-01T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114358#M1088</link>
      <description>&lt;P&gt;Hi Irakli - take a look at my example here that I show how I update Frequent Issues Detection settings for many environments using Ansible:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/rszulgo/providing-dynatrace-managed-as-a-service/tree/master/update-existing-environment"&gt;https://github.com/rszulgo/providing-dynatrace-managed-as-a-service/tree/master/update-existing-environment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You cannot do that with a single call, but that's not bad when you automate that - you can call single... script. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 09:46:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114358#M1088</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-07-01T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114359#M1089</link>
      <description>&lt;P&gt;I am kinda surprised that such a feature is not implemented...&lt;BR /&gt;&lt;BR /&gt;Let me try your approach but in one of our clusters we have '2047 Environments' (not a joke) and I can imagine how much time will it take to go thru all of them.&lt;/P&gt;&lt;P&gt;The problem with the script that in it could be 15 from 2000 environments which experience such alert type but unless I query &lt;STRONG&gt;all of them&lt;/STRONG&gt;, I won't be able to see which one was... &lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:09:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114359#M1089</guid>
      <dc:creator>irakli_natsvlis</dc:creator>
      <dc:date>2020-07-01T10:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114360#M1090</link>
      <description>&lt;P&gt;I just looked at cluster API v2.  I See&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/Environments"&gt;Environments&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Manage environments&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/Migration%20to%20multi-datacenter%20deployment"&gt;Migration to multi-datacenter deployment&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Migration to multi-datacenter deployment&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/Remote%20access"&gt;Remote access&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Manage remote access requests&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/Synthetic%20-%20Locations%20and%20nodes"&gt;Synthetic - Locations and nodes&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Manage synthetic locations and nodes&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/Tokens"&gt;Tokens&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Manage Dynatrace API authentication tokens&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;H4&gt;&lt;A href="https://weu.apm.sap.cx/rest-api-doc/index-managed.jsp?urls.primaryName=Cluster%20API%20v2#/User%20management"&gt;User management&lt;/A&gt;&lt;SMALL&gt;&lt;P&gt;Manage user sessions&lt;/P&gt;&lt;/SMALL&gt;&lt;/H4&gt;&lt;P&gt;&lt;BR /&gt;How above is going to help me? One way or another, I need to create a token for each environment and then using that token query alerts. Nothing has changed, in terms of reducing time to get my answers, right?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:12:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114360#M1090</guid>
      <dc:creator>irakli_natsvlis</dc:creator>
      <dc:date>2020-07-01T10:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114361#M1091</link>
      <description>Sorry, I added my comment in the main thread.</description>
      <pubDate>Wed, 01 Jul 2020 10:13:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114361#M1091</guid>
      <dc:creator>irakli_natsvlis</dc:creator>
      <dc:date>2020-07-01T10:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114362#M1092</link>
      <description>&lt;P&gt;It's intentionally not implemented. The way we store separately data per environment, server would need to run the workload of iterating of hundreds or thousands of envs. You rather don't want to overload server with a single query, but rather run smaller chunks and throttle requests if it's too much...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;BTW - what I guess you try to do is to implement some custom alerting on top of what Dynatrace does with AI. We work for better customization possibilities in that area - we'll see what next year brings.&lt;/P&gt;&lt;P&gt;Anyway... 2000+ envs it pretty too much, but you probably already know that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:14:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114362#M1092</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-07-01T10:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114363#M1093</link>
      <description>&lt;P&gt;OK - moved.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:15:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114363#M1093</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-07-01T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114364#M1094</link>
      <description>&lt;P&gt;Julius and I meant "Tokens" API that can be used to create automatically tokens for each environment. See my github example. &lt;/P&gt;&lt;P&gt;For the specific operation you should look at the Environment's APIs.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:16:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114364#M1094</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-07-01T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed. Query multiple environments for alerts</title>
      <link>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114365#M1095</link>
      <description>&lt;P&gt;OK, folks, thank you both.&lt;BR /&gt;&lt;BR /&gt;Seems I need to take the path of Ansible/bash scripting way...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:30:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Dynatrace-Managed-Query-multiple-environments-for-alerts/m-p/114365#M1095</guid>
      <dc:creator>irakli_natsvlis</dc:creator>
      <dc:date>2020-07-01T10:30:58Z</dc:date>
    </item>
  </channel>
</rss>

