<?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: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728045#M6050</link>
    <description>&lt;P&gt;Hi Mario, thanks for your response.&lt;/P&gt;&lt;P&gt;This is what I get when requesting login.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaximilianoSalibe_0-1720643658731.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35096iAAA89B2E23FFE185/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 20:34:53 GMT</pubDate>
    <dc:creator>Maximiliano_Sal</dc:creator>
    <dc:date>2024-07-10T20:34:53Z</dc:date>
    <item>
      <title>How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728035#M6040</link>
      <description>&lt;P&gt;Is there a way you can export Dashboards in any format like JSON or XML?&lt;/P&gt;&lt;P&gt;^ Edited by&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051" target="_blank"&gt;@Ryan.Paredez&lt;/A&gt;&amp;nbsp;to include the location of the original comment.&lt;/P&gt;&lt;P&gt;Note: This comment was split off into its own post from this original post:&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/Dashboards/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/30083#U30083" target="_blank"&gt;How to export the list of all Custom Dashboards in the controller into a file?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 15:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728035#M6040</guid>
      <dc:creator>Amartya_Jha</dc:creator>
      <dc:date>2020-11-19T15:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728036#M6041</link>
      <description>&lt;P&gt;Hello Amartya,&lt;/P&gt;&lt;P&gt;If you export the custom dashboards from "Dashboards &amp;amp; Reports", I see that the dashboard by default is being exported as .json file. I have attached a gif recording of the same.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Export.gif" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.gif"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35090i1F1F055D5D7ED760/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.gif" alt="image.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 07:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728036#M6041</guid>
      <dc:creator>Nawaz_Ali_Moha1</dc:creator>
      <dc:date>2020-12-02T07:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728037#M6042</link>
      <description>&lt;P&gt;Is there a way to export all the dashboards at once via command line ?&lt;/P&gt;&lt;P&gt;We would like to set up an automated way of exporting all custom dashboards at regular intervals.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 09:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728037#M6042</guid>
      <dc:creator>Vishwanath_Nair</dc:creator>
      <dc:date>2021-03-15T09:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728038#M6043</link>
      <description>&lt;P&gt;Hi There&lt;/P&gt;

&lt;P&gt;You can create a simple script to query all the dashboard ID's&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;congtroller" target="_blank" rel="nofollow noopener noreferrer"&gt;https://&amp;lt;controller URL&lt;/A&gt;&amp;gt;/controller/restui/dashboards/getPermissionsForDashboards&lt;/P&gt;

&lt;P&gt;Then just loop through the dashboard id's, example below GET Query&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;controller" target="_blank" rel="nofollow noopener noreferrer"&gt;https://&amp;lt;controller&lt;/A&gt;&amp;nbsp;URL&amp;gt;/controller/CustomDashboardImportExportServlet?dashboardId=1234&lt;/P&gt;

&lt;P&gt;We used a Python script to do this task, for regular backups of teh dashboards into JSON backups format&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 12:34:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728038#M6043</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-03-15T12:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728039#M6044</link>
      <description>&lt;P&gt;Thanks for the tip&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I tried a simple curl test to the url&amp;nbsp;&lt;A href="https://%3Ccongtroller/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://&amp;lt;controller URL&lt;/A&gt;&lt;SPAN&gt;&amp;gt;/controller/restui/dashboards/getPermissionsForDashboards and I got an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;curl --user xxxxxx@xxxxx:xxxx &lt;A href="https://appdynamics_controller:8181/controller/restui/dashboards/getPermissionsForDashboards" target="_blank" rel="noopener nofollow noreferrer"&gt;https://appdynamics_controller:8181/controller/restui/dashboards/getPermissionsForDashboards&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html lang="en"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta charset="UTF-8"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Unauthorized&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;HTTP Error 401 Unauthorized&lt;BR /&gt;&amp;lt;p/&amp;gt;&lt;BR /&gt;This request requires HTTP authentication&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;Is this expected ? HTTP is blocked in our environment, so cant test that. Also, we are going through a LB.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 03:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728039#M6044</guid>
      <dc:creator>Vishwanath_Nair</dc:creator>
      <dc:date>2021-03-19T03:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728040#M6045</link>
      <description>&lt;P&gt;Hi Vishwanath&lt;/P&gt;

&lt;P&gt;My Apologies, I gave you the incorrect details, please find below method to query it:)&lt;/P&gt;

&lt;P&gt;1) Get the JESSIONID and X-CSRF-TOKEN with user having permissions&lt;/P&gt;
&lt;P&gt;curl -i --user &amp;lt;USERNAME&amp;gt;@&amp;lt;Account&amp;gt;:&amp;lt;PASSWORD&amp;gt; &lt;A href="https://&amp;lt;Controller-URL&amp;gt;/controller/auth?action=login" target="_blank" rel="nofollow noopener noreferrer"&gt;https://&amp;lt;Controller-URL&amp;gt;/controller/auth?action=login&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2) Run the following CURL call with JESSIONID and X-CSRF-TOKEN from step 1?&lt;/P&gt;
&lt;P&gt;curl -i -H "X-CSRF-TOKEN:&amp;lt;TOKEN FROM ABOVE&amp;gt;" -H "Cookie: JSESSIONID=&amp;lt;JSESSION ID FROM ABOVE&amp;gt;; X-CSRF-TOKEN=&amp;lt;TOKEN&amp;gt;;" -H "Content-Type: application/json" -H "Accept: application/json" https://&amp;lt;Controller URL&amp;gt;/controller/restui/dashboards/getAllDashboardsByType/false&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example below&lt;BR /&gt;curl -i -H "Cookie:JSESSIONID=9b81672143e228e4eb73fdea89a9;" -H "X-CSRF-TOKEN:6fece457az197155a8f68320cfa781eaeb88991b" -H "Content-Type: application/json" -H "Accept: application/json" https://&amp;lt;controller url&amp;gt;/controller/restui/dashboards/getAllDashboardsByType/false"&lt;/P&gt;


&lt;P&gt;This will output all dashboards, with one of the attributes being the Dashboard ID, which you can then use in the last query&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;controller" target="_blank" rel="nofollow noopener noreferrer"&gt;https://&amp;lt;controller&lt;/A&gt;&amp;nbsp;url&amp;gt;/controller/CustomDashboardImportExportServlet?dashboardId=&amp;lt;dashboard ID&amp;gt;&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 09:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728040#M6045</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-03-19T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728041#M6046</link>
      <description>&lt;P&gt;Thanks a lot! Much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 03:27:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728041#M6046</guid>
      <dc:creator>Vishwanath_Nair</dc:creator>
      <dc:date>2021-03-23T03:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728042#M6047</link>
      <description>&lt;P&gt;Hi! Now that global logon has been implemented, how can you take the value of the cookie needed? I only can get it manually, but need to programmatically obtain it; however, cannot do it requesting login with basic auth anymore.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728042#M6047</guid>
      <dc:creator>Maximiliano_Sal</dc:creator>
      <dc:date>2024-07-01T20:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728043#M6048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/170338"&gt;@Maximiliano.Salibe&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;It looks like since this was an older thread, the other members did not chime in. Since it has been a few days, did you happen to find a solution or anything you can share?&lt;BR /&gt;&lt;BR /&gt;If you still need help with this, you can contact Cisco AppDynamics Support.&amp;nbsp;&lt;A href="https://www.appdynamics.com/support" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.appdynamics.com/support&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 16:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728043#M6048</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-07-08T16:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728044#M6049</link>
      <description>&lt;P&gt;Hi Maximiliano&lt;/P&gt;
&lt;P&gt;What issue are you having with basic auth? We are still able to use it without any issues.&lt;/P&gt;
&lt;P&gt;But either way, bets practice is to rather create an API Key and use that to do what you need to do, that is the suggested and best practice way.&lt;/P&gt;
&lt;P&gt;If you are not sure on how to use the API Key method, just DM me, I can share a sample python script for you to get started&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 07:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728044#M6049</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2024-07-10T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728045#M6050</link>
      <description>&lt;P&gt;Hi Mario, thanks for your response.&lt;/P&gt;&lt;P&gt;This is what I get when requesting login.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaximilianoSalibe_0-1720643658731.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35096iAAA89B2E23FFE185/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 20:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728045#M6050</guid>
      <dc:creator>Maximiliano_Sal</dc:creator>
      <dc:date>2024-07-10T20:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the list of all Custom Dashboards in the controller into a format like JSON or XML?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728046#M6051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Are you able to jump back in here and help out&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/170338"&gt;@Maximiliano.Salibe&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:25:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-export-the-list-of-all-Custom-Dashboards-in-the/m-p/728046#M6051</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-07-16T15:25:21Z</dc:date>
    </item>
  </channel>
</rss>

