> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Support

> This section provides the purpose, elements, and actions performed on the Support pages.

This section provides the purpose, elements, and actions performed on the
**Support** pages.

<Tabs>
  <Tab title="Remote Access & Logs">
    ## Purpose

    The **Remote Access & Logs** page manages remote support access for Aviatrix
    Virtual Machines, uploads log bundles to cloud storage, and displays recent log
    bundle activities.

    ## Elements

    <Frame>
      <img src={"/images/reference/ui/settings/support-remote-access-logs.png"} alt="Support: Remote Access & Logs" width="100%" />
    </Frame>

    * **Aviatrix Virtual Machines**: Table with Type, Instance Name, Public IP,
      Management IP, **Remote Support** (Enable), **Log Bundle** (Upload to Cloud,
      Download).
    * **Upload Log Bundles button**: Opens upload flow for log bundles.
    * **Recent Activities**: Table with Timestamp, Entity, Log Bundle Name;
      **Refresh** button.

    ## Actions

    <AccordionGroup>
      <Accordion title="View Remote Access & Logs">
        To view remote access and logs:

        1. Go to **Settings** > **Support** > **Remote Access & Logs**.
        2. The page appears with the Aviatrix Virtual Machines table and Recent Activities. Use **Remote Support** (Enable) or **Log Bundle** menu (Upload to Cloud, Download) per row.
        3. Optionally, click **Refresh** to update Recent Activities.

        The Remote Access & Logs page shows VMs and log bundle options.
      </Accordion>

      <Accordion title="Upload Log Bundles">
        To upload log bundles:

        1. Go to **Settings** > **Support** > **Remote Access & Logs**.
        2. Click **Upload Log Bundles** (or use the Log Bundle menu). Select **gateways** in the combobox.
        3. Click **Upload** to upload the log bundle for the selected gateways to cloud storage.

        Log bundles are uploaded for the selected gateways.
      </Accordion>
    </AccordionGroup>
  </Tab>

  <Tab title="Debugging Tools">
    ## Purpose

    The **Debugging Tools** page provides debugging tools for MongoDB, etcd, and
    mTLS to help troubleshoot and manage database operations.

    ## Elements

    <Frame>
      <img src={"/images/reference/ui/settings/support-debugging-tools.png"} alt="Support: Debugging Tools" width="100%" />
    </Frame>

    * **MongoDB**: **Database**, **Collection**, **Document** (JSON query); **Dump**
      button; **Drop Database** button.
    * **etcd**: **etcd prefix** textbox; **Download** button for etcd logs.
    * **mTLS**: **Gateways** combobox; **Re-Attest** button; **Refresh** button.

    ## Actions

    <AccordionGroup>
      <Accordion title="View Debugging Tools">
        To view debugging tools:

        1. Go to **Settings** > **Support** > **Debugging Tools**.
        2. The page appears with MongoDB, etcd, and mTLS tool sections.

        The Debugging Tools page shows available tools (MongoDB, etcd, mTLS).
      </Accordion>

      <Accordion title="Use MongoDB Debugging Tool">
        To use the MongoDB tool:

        1. Go to **Settings** > **Support** > **Debugging Tools** and open the MongoDB section.
        2. Select **Database**, then **Collection**, then enter **Document** (JSON query). Click **Dump** to dump the database or **Drop Database** to drop it.

        MongoDB operations run for the selected database and collection.

        ### Parameter Details

        MongoDB tool:

        | CoPilot Parameter Name | Description                                                               |
        | ---------------------- | ------------------------------------------------------------------------- |
        | Database               | Select MongoDB database (e.g., admin).                                    |
        | Collection             | Select MongoDB collection (enabled after database selection).             |
        | Document               | Enter document query in JSON format (enabled after collection selection). |
        | Dump button            | Dump the selected database.                                               |
      </Accordion>

      <Accordion title="Use etcd Debugging Tool">
        To use the etcd tool:

        1. Go to **Settings** > **Support** > **Debugging Tools** and open the etcd section.
        2. Enter **etcd prefix** and click **Download** to download etcd logs.

        etcd logs are downloaded for the specified prefix.
      </Accordion>

      <Accordion title="Use mTLS Debugging Tool">
        To use the mTLS tool:

        1. Go to **Settings** > **Support** > **Debugging Tools** and open the mTLS section.
        2. Select **Gateways** (or Controller). Click **Re-Attest** to re-attest the TLS certificate. Optionally, click **Refresh** to refresh the gateways list.

        The TLS certificate is re-attested for the selected Controller or gateways.
      </Accordion>
    </AccordionGroup>
  </Tab>

  <Tab title="Internal">
    <Tabs>
      <Tab title="Logs">
        ## Purpose

        The **Logs** tab provides an internal log viewer to open, display, and download
        log files from the CoPilot instance. Aviatrix gateways and Controller export log
        data; this viewer helps you inspect log content for troubleshooting. Use with
        Aviatrix Support when requested.

        ## Elements

        <Frame>
          <img src={"/images/reference/ui/settings/support-internal-logs.png"} alt="Support: Internal - Logs" width="100%" />
        </Frame>

        * **Select a log file**: Combobox to select a log file from available log files.
        * **Open button**: Opens the selected log file in the log viewer.
        * **Auto-scroll checkbox**: Enables automatic scrolling to the bottom of the log
          as new content is added.
        * **Terminal Color checkbox**: Enables terminal color formatting in the log
          viewer for readability.
        * **Wrap checkbox**: Enables text wrapping for long lines in the log viewer.
        * **Clear button**: Clears the log viewer content (disabled when no log is
          loaded).
        * **Download Logs button**: Downloads the currently displayed log file.
        * **Log viewer**: Displays the content of the selected log file.

        ## Actions

        <AccordionGroup>
          <Accordion title="View Logs">
            To view log files using the Internal log viewer:

            1. Go to **Settings** > **Support** > **Internal** > **Logs**.
            2. In **Select a log file**, choose the log file you want to view.
            3. Click **Open** to load the log file in the log viewer.
            4. Optionally, enable **Auto-scroll**, **Terminal Color**, or **Wrap** to adjust how the log is displayed.
            5. Optionally, click **Download Logs** to download the current log file, or **Clear** to clear the viewer (when a log is loaded).

            The log viewer displays the selected log file content.

            ### Parameter Details

            | CoPilot Parameter Name | Description                                                                              |
            | ---------------------- | ---------------------------------------------------------------------------------------- |
            | Select a log file      | Combobox to select a log file from available log files.                                  |
            | Open                   | Button to open and display the selected log file in the log viewer.                      |
            | Auto-scroll            | Checkbox to enable automatic scrolling to the bottom of the log as new content is added. |
            | Terminal Color         | Checkbox to enable terminal color formatting for better log readability.                 |
            | Wrap                   | Checkbox to enable text wrapping for long lines in the log viewer.                       |
            | Clear                  | Button to clear the log viewer content (disabled when no log is loaded).                 |
            | Download Logs          | Button to download the currently displayed log file.                                     |
          </Accordion>
        </AccordionGroup>
      </Tab>

      <Tab title="Billing Report">
        ## Purpose

        The **Billing Report** tab provides internal billing report information and
        tools for administration. Billing reports are based on your Aviatrix billing
        plan; the details displayed vary depending on the type of plan in effect. This
        internal view supports troubleshooting and plan analysis with Aviatrix Support.

        ## Elements

        <Frame>
          <img src={"/images/reference/ui/settings/support-internal-billing.png"} alt="Support: Internal - Billing Report" width="100%" />
        </Frame>

        * **Billing Report**: Internal billing report information, including plan type,
          billing items, and usage data.
        * **Time Period or date selector**: Selects the period for the report (when
          available).
        * **Summary and breakdown views**: Views of usage, billed amounts, and plan
          details (when available).
        * **Export or download**: Option to export or download report data (when
          available).

        ## Actions

        <AccordionGroup>
          <Accordion title="View Billing Report">
            To view the internal billing report:

            1. Go to **Settings** > **Support** > **Internal** > **Billing Report**.
            2. The Billing Report tab appears with internal billing information and tools.
            3. Use the available selectors and views to review plan type, billing items, usage, and billed amounts. Optionally, export or download report data if the option is available.

            The internal billing report supports administration and plan analysis.
          </Accordion>
        </AccordionGroup>
      </Tab>

      <Tab title="Doc IDs">
        ## Purpose

        The **Doc IDs** tab provides internal tools to view and manage document IDs used
        by the system. Document IDs help identify specific records and are useful for
        troubleshooting and coordination with Aviatrix Support.

        ## Elements

        <Frame>
          <img src={"/images/reference/ui/settings/support-internal-docids.png"} alt="Support: Internal - Doc IDs" width="100%" />
        </Frame>

        * **Doc IDs list or table**: Displays document IDs and related information.
        * **Search or filter**: Search or filter document IDs (when available).
        * **Refresh button**: Refreshes the document ID list (when available).
        * **Export or copy**: Option to export or copy document IDs (when available).

        ## Actions

        <AccordionGroup>
          <Accordion title="View Doc IDs">
            To view document IDs:

            1. Go to **Settings** > **Support** > **Internal** > **Doc IDs**.
            2. The Doc IDs tab appears with the list or table of document IDs.
            3. Optionally, use **Search** or **Filter** to find specific IDs, **Refresh** to update the list, or **Export**/**Copy** if available.

            The Doc IDs tab provides document ID information for troubleshooting.
          </Accordion>
        </AccordionGroup>
      </Tab>
    </Tabs>
  </Tab>
</Tabs>
