<?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: Can I use the ‘monaco download’ to only download a specific dashboard ID? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233132#M30239</link>
    <description>&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs" target="_blank"&gt;https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs&lt;/A&gt;&lt;BR /&gt;It is more flexible&lt;BR /&gt;You will need CLI or some script like this to add separate files into state:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    if TERRAFORM_IMPORT:
        """Loop for import"""
        os.environ['DYNATRACE_ENV_URL'] = DYNATRACE_ENV_URL
        os.environ['DYNATRACE_API_TOKEN'] = DYNATRACE_API_TOKEN
        os.environ['DYNATRACE_TERRAFORM_BIN'] = DYNATRACE_TERRAFORM_BIN

        with open(CSV_FILE_NAME, newline='') as csvfile:
            reader = csv.DictReader(csvfile)
            for row in reader:
                print(row['IMPORT_CMD_PATH'], row['RESOURCE_ID'])
                IMPORT_CMD_PATH = row['IMPORT_CMD_PATH']
                RESOURCE_ID = row['RESOURCE_ID']

                """import all resources - ignore ignore already imported warning"""
                try:
                    terraform_import = subprocess.Popen(
                        args=["terraform", "import", IMPORT_CMD_PATH, RESOURCE_ID],
                        cwd=PROJECT_FOLDER)
                    error = terraform_import.communicate()
                except:
                    Exception(error)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 11:10:09 GMT</pubDate>
    <dc:creator>Slawa</dc:creator>
    <dc:date>2024-01-02T11:10:09Z</dc:date>
    <item>
      <title>Can I use the ‘monaco download’ to only download a specific dashboard ID?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/232671#M30186</link>
      <description>&lt;P&gt;&lt;SPAN&gt;With the command ‘&lt;/SPAN&gt;&lt;STRONG&gt;monaco download --manifest manifest.yaml --environment development-environment --api dashboard,&lt;/STRONG&gt;&lt;SPAN&gt;’ it can download all dashboards from the target Dynatrace environment. I have a specific dashboard with the ID ‘20103b07-fe23-4811-b514-96d7d177a716.’ Can I use ‘monaco download’ to only download this specific dashboard? I don't want to download all the dashboards.&lt;BR /&gt;&lt;BR /&gt;I didn't see such a function introduced in &lt;A href="https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco/reference/commands" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco/reference/commands&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 11:08:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/232671#M30186</guid>
      <dc:creator>panda</dc:creator>
      <dc:date>2023-12-22T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the ‘monaco download’ to only download a specific dashboard ID?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/232700#M30187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe with this option:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonPineiro_0-1703244505128.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16421iCC646FA977E36D1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonPineiro_0-1703244505128.png" alt="AntonPineiro_0-1703244505128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I would download all to know object ID. I hope someone can provide a better answer.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 11:29:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/232700#M30187</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-12-22T11:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the ‘monaco download’ to only download a specific dashboard ID?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233037#M30222</link>
      <description>&lt;P&gt;It seems that the provided solution is for configuring settings, not for API. What I am looking for is the API parameter to specify the UUID using the Monaco download command. Ideally, a command like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;monaco download --manifest manifest.yaml --environment development-environment --api dashboard&lt;STRONG&gt; --id '20103b07-fe23-4811-b514-96d7d177a716'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 09:47:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233037#M30222</guid>
      <dc:creator>panda</dc:creator>
      <dc:date>2023-12-29T09:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the ‘monaco download’ to only download a specific dashboard ID?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233039#M30223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Then, I think it is not possible actually. You can create a &lt;A title="product idea" href="https://community.dynatrace.com/t5/Product-ideas/idb-p/DynatraceProductIdeas" target="_blank" rel="noopener"&gt;product idea&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 10:57:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233039#M30223</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-12-29T10:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the ‘monaco download’ to only download a specific dashboard ID?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233132#M30239</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs" target="_blank"&gt;https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs&lt;/A&gt;&lt;BR /&gt;It is more flexible&lt;BR /&gt;You will need CLI or some script like this to add separate files into state:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    if TERRAFORM_IMPORT:
        """Loop for import"""
        os.environ['DYNATRACE_ENV_URL'] = DYNATRACE_ENV_URL
        os.environ['DYNATRACE_API_TOKEN'] = DYNATRACE_API_TOKEN
        os.environ['DYNATRACE_TERRAFORM_BIN'] = DYNATRACE_TERRAFORM_BIN

        with open(CSV_FILE_NAME, newline='') as csvfile:
            reader = csv.DictReader(csvfile)
            for row in reader:
                print(row['IMPORT_CMD_PATH'], row['RESOURCE_ID'])
                IMPORT_CMD_PATH = row['IMPORT_CMD_PATH']
                RESOURCE_ID = row['RESOURCE_ID']

                """import all resources - ignore ignore already imported warning"""
                try:
                    terraform_import = subprocess.Popen(
                        args=["terraform", "import", IMPORT_CMD_PATH, RESOURCE_ID],
                        cwd=PROJECT_FOLDER)
                    error = terraform_import.communicate()
                except:
                    Exception(error)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 11:10:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Can-I-use-the-monaco-download-to-only-download-a-specific/m-p/233132#M30239</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2024-01-02T11:10:09Z</dc:date>
    </item>
  </channel>
</rss>

