<?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: Extract Server Tags from API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739509#M11452</link>
    <description>&lt;P&gt;Hey Lyubo&lt;/P&gt;&lt;P&gt;You can do it the following way&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query Auth, to get Token etc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curl -i --user &amp;lt;username&amp;gt;@&amp;lt;accountname&amp;gt;:&amp;lt;password&amp;gt; https://&amp;lt;controller details&amp;gt;/controller/auth?action=login&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then you query the following&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curl -i -H "Cookie:JSESSIONID=47a106d019813087b904e61f680e;" -H "X-CSRF-TOKEN:f62197d00f39a1fbd5e30852985926173c6328ea" -H "Content-Type: application/json" -H "Accept: application/json" https://&amp;lt;controller details&amp;gt;/controller/sim/v2/user/machines/&amp;lt;machine id&amp;gt;&lt;/P&gt;&lt;P&gt;It brings back everything, including the tags&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 14:17:49 GMT</pubDate>
    <dc:creator>Morelz</dc:creator>
    <dc:date>2020-07-06T14:17:49Z</dc:date>
    <item>
      <title>Extract Server Tags from API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739508#M11451</link>
      <description>&lt;P&gt;Is it possible to get the TAG data of a server from the AppDynamcis API?&lt;/P&gt;&lt;P&gt;I have a Machine Agent installed on an ubuntu hosted on AWS and from the AppDynamics &amp;gt; Servers &amp;gt; Dashboard I can see a pane with "Tags", i.e.:&lt;/P&gt;&lt;P&gt;AWS|Instance-Type&lt;/P&gt;&lt;P&gt;AWS|region&lt;/P&gt;&lt;P&gt;AWS|ami-id&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;I am looking for a way to extract this information from the AppDynamics API.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 11:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739508#M11451</guid>
      <dc:creator>Lyubo_Dimitrov</dc:creator>
      <dc:date>2020-07-06T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Server Tags from API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739509#M11452</link>
      <description>&lt;P&gt;Hey Lyubo&lt;/P&gt;&lt;P&gt;You can do it the following way&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query Auth, to get Token etc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curl -i --user &amp;lt;username&amp;gt;@&amp;lt;accountname&amp;gt;:&amp;lt;password&amp;gt; https://&amp;lt;controller details&amp;gt;/controller/auth?action=login&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then you query the following&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curl -i -H "Cookie:JSESSIONID=47a106d019813087b904e61f680e;" -H "X-CSRF-TOKEN:f62197d00f39a1fbd5e30852985926173c6328ea" -H "Content-Type: application/json" -H "Accept: application/json" https://&amp;lt;controller details&amp;gt;/controller/sim/v2/user/machines/&amp;lt;machine id&amp;gt;&lt;/P&gt;&lt;P&gt;It brings back everything, including the tags&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739509#M11452</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-06T14:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Server Tags from API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739510#M11453</link>
      <description>&lt;P&gt;Hey Mario,&lt;/P&gt;&lt;P&gt;That's perfect! Thanks a lot!&lt;/P&gt;&lt;P&gt;Is this API available on some documentation? I couldn't find it anywhere...&lt;/P&gt;&lt;P&gt;Also, are there any other APIs available which are not described here:&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739510#M11453</guid>
      <dc:creator>Lyubo_Dimitrov</dc:creator>
      <dc:date>2020-07-06T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Server Tags from API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739511#M11454</link>
      <description>&lt;P&gt;Hey Lyubo&lt;/P&gt;&lt;P&gt;AppDynamics will only publish their public API's, which they support and will be standardized.&lt;/P&gt;&lt;P&gt;Sometimes these don't have the functionality we require.&lt;/P&gt;&lt;P&gt;The easiest way to find one that are not documented is to use developer options, load the page/data in the UI, and check what calls it's making:)&lt;/P&gt;&lt;P&gt;However Appdynamics will also tell you these are subject to change anytime, as they are not meant to be used this way.&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Extract-Server-Tags-from-API/m-p/739511#M11454</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-06T14:55:53Z</dc:date>
    </item>
  </channel>
</rss>

