# Create a Support Bundle

Support bundles are available from both the Bindplane Server and from the Bindplane Collector (BDOT). Our support team may ask you to create one or both of the bundles.

## Bindplane Collector (BDOT)

To create a bundle from the collector, download and run the appropriate script for your operating system:

* [Linux](https://raw.githubusercontent.com/observIQ/bindplane-otel-collector/refs/heads/main/scripts/support/create-support-bundle.sh) ( Must be run as root or with sudo)
* [Windows](https://raw.githubusercontent.com/observIQ/bindplane-otel-collector/refs/heads/main/scripts/support/create-support-bundle.ps1) ( Must be run under an Administrator \[Right click, Run as Administrator] PowerShell prompt)

The script will run in its current directory and collect the following information:

1. Collector logs (With the option to include rotated logs)
   * collector.log
   * collector.err
   * output of journalctl (on Linux)
2. Collector configuration
3. Collector manager config
4. Collector golang profiles (optional, and requires profile extension to be enabled in the configuration)
5. System information
   1. Linux
      * /etc/issue
      * /etc/os-release
      * /etc/redhat-release
      * /etc/debian\_version
   2. Windows
      * systeminfo.txt (Output of PowerShell `Get-ComputerInfo`)

The information will be packaged into a tar.gz file named `support_bundle_YYYYMMDD_HHMMSS.tar.gz` for Linux or `support_bundle_YYYYMMDD_HHMMSS.zip` for Windows.

## Bindplane Server

To create a support bundle, download and run the script found [here](https://storage.googleapis.com/bindplane-op-releases/bindplane/latest/create-support-bundle.sh). Please note that this script must be run with `sudo` or as `root`.

When executed, the script will run from its current directory and collect the following information:

1. Bindplane logs
2. Bindplane configuration
3. With `--agent {collector_id}` flag, the collector configuration, and collector information
4. System information

The collected data will be packaged into a `.tar.gz` file named `bindplane_support_bundle_YYYYMMDD_HHMMSS.tar.gz`.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/support/customer-support/create-a-support-bundle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
