<?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 How can I get the Database application IDs in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729453#M6680</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a DB Monitoring enabled and some HRV configured, so when I view the details of a violation, I can see in the URL an Application ID which is not any of my Applications... If I try to get the HRVs for this unknown application ID through the REST API, it is succesfully returning the violations for my database.&lt;/P&gt;

&lt;P&gt;How can I get the application IDs for each of my databases other than manually expecting the URL in the browser for each of them?&lt;/P&gt;

&lt;P&gt;The rest calls I am using are:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/controller/rest/applications/458/problems/healthrule-violations?time-range-type=BEFORE_NOW&amp;amp;duration-in-mins=3600&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if I try:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/controller/rest/applications&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see application with id 458&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jul 2018 07:22:44 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-07-03T07:22:44Z</dc:date>
    <item>
      <title>How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729453#M6680</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a DB Monitoring enabled and some HRV configured, so when I view the details of a violation, I can see in the URL an Application ID which is not any of my Applications... If I try to get the HRVs for this unknown application ID through the REST API, it is succesfully returning the violations for my database.&lt;/P&gt;

&lt;P&gt;How can I get the application IDs for each of my databases other than manually expecting the URL in the browser for each of them?&lt;/P&gt;

&lt;P&gt;The rest calls I am using are:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/controller/rest/applications/458/problems/healthrule-violations?time-range-type=BEFORE_NOW&amp;amp;duration-in-mins=3600&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if I try:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/controller/rest/applications&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see application with id 458&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 07:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729453#M6680</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-07-03T07:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729454#M6681</link>
      <description>&lt;P&gt;So... it seems I figured out this one as well, but if someone can confirm it would be nice:&lt;/P&gt;
&lt;P&gt;It seems like the application Id wich I see in the URL is not different for every application but that is actually the id of the internal "Database Monitoring" application. Meaning that I can get HRVs from the API for all the databases with a single request against the "Database Monitoring" app or its internal ID.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 08:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729454#M6681</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-07-03T08:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729455#M6682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes, that is correct. Database Monitoring is itself an application. As you already checked the&amp;nbsp;&lt;SPAN&gt;Database Monitoring application id, you can use it to retrieve HR violations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Please follow docs for more information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.appdynamics.com/display/PRO43/Alert+and+Respond+API#AlertandRespondAPI-RetrieveAllHealthRuleViolationsinaBusinessApplication" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO43/Alert+and+Respond+API#AlertandRespondAPI-RetrieveAllHealthRuleViolationsinaBusinessApplication&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yogesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729455#M6682</guid>
      <dc:creator>Yogesh_Chouk</dc:creator>
      <dc:date>2018-07-03T10:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729456#M6683</link>
      <description>&lt;P&gt;So how do I find out what this magic application ID is?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 15:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729456#M6683</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-11-26T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729457#M6684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/P&gt;

&lt;P&gt;We thought the new &lt;A href="https://docs.appdynamics.com/display/PRO45/Database+Visibility+API#DatabaseVisibilityAPI-GetAllMonitoredDatabaseServers(newin4.5.4)" target="_blank" rel="nofollow noopener noreferrer"&gt;REST API&lt;/A&gt; released in version 4.5.4 might be of your interest. Using this API you can&amp;nbsp;fetch the&lt;SPAN&gt;&amp;nbsp;list of your monitored Database Servers and their details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/Product-Update-November-2018-v4-5-4/ta-p/34805#EUM%20Correlation%20for%20Akka%20HTTP" target="_blank"&gt;Product Update, November 2018 (v4.5.4)&lt;/A&gt;&amp;nbsp;provides complete information on what's new in v4.5.4.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 21:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729457#M6684</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-11-27T21:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the Database application IDs</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729458#M6685</link>
      <description>Hi,&lt;BR /&gt;Thanks for the message and bringing my attention to this updated API. I will definitely review and get use of it!&lt;BR /&gt;&lt;BR /&gt;Lyubo&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Nov 2018 07:21:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-can-I-get-the-Database-application-IDs/m-p/729458#M6685</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-11-28T07:21:27Z</dc:date>
    </item>
  </channel>
</rss>

