<?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 Thread dump via API? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Thread-dump-via-API/m-p/722166#M3033</link>
    <description>&lt;P&gt;I'm using the v20.5 java agent.&lt;/P&gt;&lt;P&gt;Is there a way to trigger and download a thread dump via the API?&amp;nbsp; I don't see one.&lt;/P&gt;&lt;P&gt;In the UI, we can do something like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to node&lt;/LI&gt;&lt;LI&gt;Go to agent tab&lt;/LI&gt;&lt;LI&gt;Request agent log files&lt;/LI&gt;&lt;LI&gt;Collect x thread dumps y millis apart&lt;/LI&gt;&lt;LI&gt;Download resulting files&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would like to automate that.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 16:18:07 GMT</pubDate>
    <dc:creator>JohnGregg</dc:creator>
    <dc:date>2021-08-25T16:18:07Z</dc:date>
    <item>
      <title>Thread dump via API?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Thread-dump-via-API/m-p/722166#M3033</link>
      <description>&lt;P&gt;I'm using the v20.5 java agent.&lt;/P&gt;&lt;P&gt;Is there a way to trigger and download a thread dump via the API?&amp;nbsp; I don't see one.&lt;/P&gt;&lt;P&gt;In the UI, we can do something like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to node&lt;/LI&gt;&lt;LI&gt;Go to agent tab&lt;/LI&gt;&lt;LI&gt;Request agent log files&lt;/LI&gt;&lt;LI&gt;Collect x thread dumps y millis apart&lt;/LI&gt;&lt;LI&gt;Download resulting files&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would like to automate that.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 16:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Thread-dump-via-API/m-p/722166#M3033</guid>
      <dc:creator>JohnGregg</dc:creator>
      <dc:date>2021-08-25T16:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Thread dump via API?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Thread-dump-via-API/m-p/722167#M3034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/95800"&gt;@John.Gregg&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;I did some searching and found this. It seems API can be used to initiate a thread dump, but not download.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/21.5/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/actions-api#ActionsAPI-Example" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/21.5/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/actions-api#ActionsAPI-Example&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example&lt;BR /&gt;Request&lt;BR /&gt;Response&lt;BR /&gt;This example creates an action of the type Thread Dump. See Download Examples.&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"actionType": "THREAD_DUMP",&lt;BR /&gt;"name": "Thread Dump Action",&lt;BR /&gt;"numberOfThreadDumps": 2,&lt;BR /&gt;"intervalInMs": 500,&lt;BR /&gt;"approvalBeforeExecution": {&lt;BR /&gt;"requireApproval": true,&lt;BR /&gt;"approverEmail": "&lt;A href="mailto:email@website.com" rel="noreferrer nofollow noopener" target="_blank"&gt;email@website.com&lt;/A&gt;"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 18:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Thread-dump-via-API/m-p/722167#M3034</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2021-08-30T18:28:22Z</dc:date>
    </item>
  </channel>
</rss>

