<?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: credentials for using the controller API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/credentials-for-using-the-controller-API/m-p/723252#M3620</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;PRE&gt;curl --user user1@customer1:secret http://demo.appdynamics.com/controller/rest/applications?output=JSON&lt;/PRE&gt;
&lt;P&gt;user1--&amp;gt;username&lt;/P&gt;
&lt;P&gt;customer1--&amp;gt;&lt;SPAN&gt;For a single-tenant Controller (which is the case for most on-premises Controllers), the account name should&amp;nbsp;be the account name for the primary default account, which is "customer1".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using a multi-tenant&amp;nbsp;Controller&amp;nbsp;(most SaaS Controllers), replace customer1 with your own, instance-specific account name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;secret--&amp;gt;password&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl --user &amp;lt;your_username&amp;gt;@&amp;lt;your_accountname&amp;gt;:&amp;lt;your_password&amp;gt; http://&amp;lt;controller_host&amp;gt;:&amp;lt;controller_port&amp;gt;/controller/rest/applications?output-JSON&lt;/PRE&gt;
&lt;PRE&gt;curl --user &amp;lt;your_username&amp;gt;@&amp;lt;your_accountname&amp;gt;:&amp;lt;your_password&amp;gt; http://&amp;lt;SaaS_url&amp;gt;/controller/rest/applications?output-JSON&lt;/PRE&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Atyuha&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2017 06:41:08 GMT</pubDate>
    <dc:creator>Atyuha_Pal</dc:creator>
    <dc:date>2017-09-18T06:41:08Z</dc:date>
    <item>
      <title>credentials for using the controller API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/credentials-for-using-the-controller-API/m-p/723251#M3619</link>
      <description>&lt;P&gt;I am looking into using the controller API to get the reporting data out of my app. Following &lt;A href="https://docs.appdynamics.com/display/PRO43/Using+the+Controller+APIs" target="_self" rel="nofollow noopener noreferrer"&gt;this link&lt;/A&gt;, using the command&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;curl --user user1@customer1:secret http://demo.appdynamics.com/controller/rest/applications?output=JSON&lt;/PRE&gt;
&lt;P&gt;what is user1, customer1 and secret here?&lt;/P&gt;
&lt;P&gt;is user1 my username nahalam?&lt;/P&gt;
&lt;P&gt;I think customer1 is the account name that starts with lee....&lt;/P&gt;
&lt;P&gt;and secret is the access key I have in /etc/appdynamics.cfg file?&lt;/P&gt;

&lt;P&gt;Using those, I get below error&lt;/P&gt;
&lt;PRE&gt;curl: (6) Could not resolve host: demo.appdynamics.com&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Please clarify.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 05:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/credentials-for-using-the-controller-API/m-p/723251#M3619</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-09-18T05:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: credentials for using the controller API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/credentials-for-using-the-controller-API/m-p/723252#M3620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;PRE&gt;curl --user user1@customer1:secret http://demo.appdynamics.com/controller/rest/applications?output=JSON&lt;/PRE&gt;
&lt;P&gt;user1--&amp;gt;username&lt;/P&gt;
&lt;P&gt;customer1--&amp;gt;&lt;SPAN&gt;For a single-tenant Controller (which is the case for most on-premises Controllers), the account name should&amp;nbsp;be the account name for the primary default account, which is "customer1".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using a multi-tenant&amp;nbsp;Controller&amp;nbsp;(most SaaS Controllers), replace customer1 with your own, instance-specific account name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;secret--&amp;gt;password&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl --user &amp;lt;your_username&amp;gt;@&amp;lt;your_accountname&amp;gt;:&amp;lt;your_password&amp;gt; http://&amp;lt;controller_host&amp;gt;:&amp;lt;controller_port&amp;gt;/controller/rest/applications?output-JSON&lt;/PRE&gt;
&lt;PRE&gt;curl --user &amp;lt;your_username&amp;gt;@&amp;lt;your_accountname&amp;gt;:&amp;lt;your_password&amp;gt; http://&amp;lt;SaaS_url&amp;gt;/controller/rest/applications?output-JSON&lt;/PRE&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Atyuha&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/credentials-for-using-the-controller-API/m-p/723252#M3620</guid>
      <dc:creator>Atyuha_Pal</dc:creator>
      <dc:date>2017-09-18T06:41:08Z</dc:date>
    </item>
  </channel>
</rss>

