<?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 Access to Slow Transaction Thresholds, etc. in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729205#M6572</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152936"&gt;@Robert.Bratton&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Thanks for doing some testing and reporting back. Knowledge sharing is what drives this community forward - so thanks for passing the solution along.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 22:59:31 GMT</pubDate>
    <dc:creator>iamryan</dc:creator>
    <dc:date>2022-01-14T22:59:31Z</dc:date>
    <item>
      <title>API Access to Slow Transaction Thresholds, etc.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729201#M6568</link>
      <description>&lt;P&gt;I want to import/export all the information on the "Show Transaction Thresholds" page Under Configuration:&amp;nbsp;&lt;BR /&gt;Slow Transaction Threshold,&amp;nbsp;&lt;SPAN&gt;Very Slow Transaction Threshold, Stall, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We want to make sure we're consistent across applications. We have many applications and several environments per application (Lab, QA, Production, etc).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 15:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729201#M6568</guid>
      <dc:creator>Robert_Bratton</dc:creator>
      <dc:date>2022-01-10T15:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: API Access to Slow Transaction Thresholds, etc.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729202#M6569</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152936"&gt;@Robert.Bratton&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Have you seen our API Documentation page? If not, please check it out -&amp;nbsp;&lt;A href="https://docs.appdynamics.com/22.1/en/extend-appdynamics/appdynamics-apis" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/22.1/en/extend-appdynamics/appdynamics-apis&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if you were able to find the right API you need in that list.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 17:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729202#M6569</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-01-10T17:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: API Access to Slow Transaction Thresholds, etc.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729203#M6570</link>
      <description>&lt;P&gt;Thanks for the tip. I have viewed the API documentation.&lt;BR /&gt;&lt;BR /&gt;Only the export API supports listing dashboards. I can't access that with the normal account I use for the AppDynamics web UI and non-export API methods (/controller/restui/dashboards/getAllDashboardsByType/false). The regular API methods can only export a dashboard for which you know the ID. I created a brute-force script that just attempts to export each ID from 1 to 32767. It's inefficient but better than exporting each dashboard manually through the web API.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.appdynamics.com/21.2/en/extend-appdynamics/appdynamics-apis/configuration-import-and-export-api#ConfigurationImportandExportAPI-ExportCustomDashboardsandTemplates" target="_blank" rel="nofollow noopener noreferrer"&gt;Configuration Import and Export API (appdynamics.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 19:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729203#M6570</guid>
      <dc:creator>Robert_Bratton</dc:creator>
      <dc:date>2022-01-14T19:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: API Access to Slow Transaction Thresholds, etc.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729204#M6571</link>
      <description>&lt;P&gt;I was able to make it work by inserting the X-CSRF-Token as a header.&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;$uri = $BaseURL + "/controller/auth?action=login"&lt;BR /&gt;Invoke-WebRequest -uri $uri -headers $Headers -SessionVariable WebSession | out-null&lt;/P&gt;&lt;P&gt;$Uri = $BaseURL + "/controller/restui/dashboards/getAllDashboardsByType/false"&lt;/P&gt;&lt;P&gt;if (-not $headers.ContainsKey("X-CSRF-Token")) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $XCSRFToken = $WebSession.Cookies.GetCookies($uri) | Where-Object { $_.Name -eq 'X-CSRF-Token' } | Select-Object -First 1 -ExpandProperty Value&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $Headers.Add("X-CSRF-Token", $XCSRFToken)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;$Result = Invoke-RestMethod -Uri $Uri -Headers $Headers -WebSession $WebSession&lt;/P&gt;&lt;P&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 22:27:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729204#M6571</guid>
      <dc:creator>Robert_Bratton</dc:creator>
      <dc:date>2022-01-14T22:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: API Access to Slow Transaction Thresholds, etc.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729205#M6572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152936"&gt;@Robert.Bratton&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Thanks for doing some testing and reporting back. Knowledge sharing is what drives this community forward - so thanks for passing the solution along.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 22:59:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/API-Access-to-Slow-Transaction-Thresholds-etc/m-p/729205#M6572</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-01-14T22:59:31Z</dc:date>
    </item>
  </channel>
</rss>

