<?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 Application Agent SDK API - How to use them? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729206#M6573</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I am trying to customize the application agent to&amp;nbsp;inspect some of the transaction data present in the HTTP Request and stumbled across&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO42/Add+Custom+Fields+to+Transactions+Using+Java+SDK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO42/Add+Custom+Fields+to+Transactions+Using+Java+SDK&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I believe this can be achieved using application agent SDK. But there is woefully minimal documentation on this subject.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Can you please help me on how to extract data from a transaction (in my case a HTTP request) while using SDK and how do we install this with the application agent?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2017 05:49:32 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-08-23T05:49:32Z</dc:date>
    <item>
      <title>Application Agent SDK API - How to use them?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729206#M6573</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I am trying to customize the application agent to&amp;nbsp;inspect some of the transaction data present in the HTTP Request and stumbled across&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO42/Add+Custom+Fields+to+Transactions+Using+Java+SDK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO42/Add+Custom+Fields+to+Transactions+Using+Java+SDK&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I believe this can be achieved using application agent SDK. But there is woefully minimal documentation on this subject.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Can you please help me on how to extract data from a transaction (in my case a HTTP request) while using SDK and how do we install this with the application agent?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 05:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729206#M6573</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-23T05:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Application Agent SDK API - How to use them?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729207#M6574</link>
      <description>&lt;P&gt;Srinand,&lt;/P&gt;

&lt;P&gt;The SDK is part of the agent, so there is no additional install necessary to use its APIs&lt;/P&gt;

&lt;P&gt;If you incorporate the code from the sample in the doc page you linked into your application, it should run fine with no need for additional dependencies on the classpath, so long as the agent is loaded into the JVM with -javaagent&lt;/P&gt;

&lt;P&gt;Once your application has parsed the HTTP request and has the data you wish to collect in variables, it is a simple matter to add this data to snapshots and/or transaction analytics data using the addSnapshotData API as illustrated.&lt;/P&gt;

&lt;P&gt;I hope this helps?&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 10:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729207#M6574</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-08-23T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Application Agent SDK API - How to use them?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729208#M6575</link>
      <description>Thank you Peter.&lt;BR /&gt;&lt;BR /&gt;Is it possible to use these APIs to build a custom data collector and add&lt;BR /&gt;the custom code as an application agent plugin?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729208#M6575</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-23T13:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application Agent SDK API - How to use them?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729209#M6576</link>
      <description>&lt;P&gt;Srinirand,&lt;/P&gt;

&lt;P&gt;I get the feeling this thread is converging with&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/HTTP-Request-parameters-of-web-application-extraction/m-p/27818#M546" target="_blank"&gt;https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/HTTP-Request-parameters-of-web-application-extraction/m-p/27818#M546&lt;/A&gt;, am I right?&lt;/P&gt;

&lt;P&gt;The agent API allows you to add code within your application to influence what data is reported to AppDynamics. &amp;nbsp;It does not allow you to build "agent plug-ins" that would be injected into the application code at runtime in the current release.&lt;/P&gt;

&lt;P&gt;Injecting code to capture HTTP data without impacting the application code would probably&amp;nbsp;be best achieved using a servlet filter, which could be injected into the request flow by the application container.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;BR /&gt;Peter.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:48:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729209#M6576</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-08-23T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Application Agent SDK API - How to use them?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729210#M6577</link>
      <description>You are right Peter.&lt;BR /&gt;&lt;BR /&gt;Was exploring the APIs as an option.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Application-Agent-SDK-API-How-to-use-them/m-p/729210#M6577</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-23T13:54:58Z</dc:date>
    </item>
  </channel>
</rss>

