Collect Support Bundles Collect

Collect Support Bundles Collect

Collect support bundles from registered cluster and fabric nodes.

Request
URI
POST
https://nsxmanager.your.domain/api/v1/administration/support-bundles?action=collect
COPY
Query Parameters
boolean
override_async_response
Optional
Constraints: default: false

Override any existing support bundle async response

boolean
require_delete_or_override_async_response
Optional
Constraints: default: false

Suppress auto-deletion of generated support bundle


Request Body
SupportBundleRequest of type(s) application/json
Required
{
    "container_nodes": [
        {
            "container_type": "string"
        }
    ],
    "content_filters": [
        "string"
    ],
    "dynamic_content_filters": [
        "string"
    ],
    "log_age_limit": 0,
    "nodes": [
        "string"
    ],
    "remote_file_server": {
        "directory_path": "string",
        "manager_upload_only": false,
        "port": 0,
        "protocol": {
            "authentication_scheme": {
                "password": "string",
                "scheme_name": "string",
                "username": "string"
            },
            "name": "string",
            "ssh_fingerprint": "string"
        },
        "server": "string"
    }
}
array of object
container_nodes
Optional
Constraints: minItems: 1

List of container clusters and their nodes requiring support bundle collection

array of string
content_filters
Optional
Constraints: minItems: 1 default: DEFAULT

List of content filters that specify additional content or action when collecting support bundle.

  • Filter ALL includes core dumps and audit logs in support bundle
  • Filter REMOVE_CORE_FILES can optionally be in list with ALL, to remove core dump files after collected in support bundle
  • Filter EAL4_AUDIT can optionally be in list to collect pre-defined selective log files. The selected log files are deleted from the support bundle if the files have not been modified in the last 4 hours.

By default no core dumps and audit logs are included in support bundle with filter DEFAULT.

No other content-filters can be added along with EAL4_AUDIT content-filter

When content-filter EAL4_AUDIT is added, the log_age_limit field is disabled.

Note, REMOVE_CORE_FILES is limited to NSX appliance and ESXi nodes only.

Possible values are : ALL, DEFAULT, REMOVE_CORE_FILES, EAL4_AUDIT,
array of string
dynamic_content_filters
Optional
Constraints: default: ALL

List of dynamic content filters that specify additional content to include in the support bundle. The list of available filters available depends on your NSX-T deployment and can be determined by invoking the GET /api/v1/adminstration/support-bundles/dynamic-content-filters NSX API. For example, if NSX Intelligence is deployed, filters for collecting specific information about services are available.

integer As int64 As int64
log_age_limit
Optional
Constraints: minimum: 1 maximum: 365

Include log files with modified times not past the age limit in days

array of string
nodes
Optional
Constraints: minItems: 1

List of cluster/fabric node UUIDs processed in specified order

object
remote_file_server
Optional

Remote file server

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SupportBundleResult of type(s) application/json
"SupportBundleResult Object"
array of object
failed_nodes
Optional

Nodes where bundles were not generated or not copied to remote server

array of object
remaining_nodes
Optional

Nodes where bundle generation is pending or in progress

object
request_properties
Optional

request_properties

array of object
success_nodes
Optional

Nodes whose bundles were successfully copied to remote file server


400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

409

Conflict

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Returns InternalServerError of type(s) application/json
Operation doesn't return any data structure

502

Bad Gateway

Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v1/administration/support-bundles?action=collect
                
System Administration Operations
GET
List Features
POST
Create Registration Token
POST
Remove Registration Token
POST
Retrieve Registration Token
DELETE
Delete Registration Token
Deprecated
GET
Get Registration Token
Deprecated
GET
Get All Role Bindings
POST
Create Role Binding
DELETE
Delete Role Binding
GET
Get Role Binding
PUT
Update Role Binding
POST
Delete All Stale Role Bindings
GET
Get All Roles Info
GET
List Roles Info
DELETE
Delete Role
GET
Get Role Info
PUT
Create Or Update Role
PUT
Update Role Assignment Config
POST
Clone Role
POST
Validate And Recommend Permissions
GET
Get Current User Info
GET
Get Group Vidm Search Result
POST
Get Vidm Search Result
GET
Get User Vidm Search Result
GET
Get Support Bundle Config
PUT
Update Support Bundle Config
GET
Get Dynamic Content Filter Values
POST
Collect Support Bundles Collect
POST
Delete Support Bundles Async Response Delete Async Response
GET
Cluster Cluster Node Id Node Read Auth Provider Vidm
PUT
Cluster Cluster Node Id Node Update Auth Provider Vidm
GET
Cluster Cluster Node Id Node Read Auth Provider Vidm Status
POST
Accept EULA
GET
Get EULA Acceptance
GET
Get EULA Content
GET
Get License
Deprecated
PUT
Update License
Deprecated
GET
Get Licenses
POST
Create License
GET
Get License Usage Report
GET
Get License Usage Report In Csv Format
GET
Get Security License Usage Report
GET
Get Security License Usage Report In Csv Format
POST
Deprecated Sync VCF Licenses
Deprecated
POST
Sync VCF Licenses
DELETE
Delete License
Deprecated
GET
Get License By Key
Deprecated
POST
Delete License Key
GET
Node Read Auth Provider Vidm
PUT
Node Update Auth Provider Vidm
GET
Node Read Auth Provider Vidm Status
GET
Get Proxy Config
PUT
Update Proxy Config
POST
Create Sensor Registration Token
GET
Get Telemetry Agreement
PUT
Update Telemetry Agreement
GET
Get Telemetry Config
PUT
Update Telemetry Config
GET
Get Trust Objects
GET
Get Certificate Profile
GET
List Certificate Profiles
GET
Get Certificates
POST
Batch Replace Certificates
POST
Renew Appliance Certificates
POST
Replace Host Certificate
DELETE
Delete Certificates Batch Operation Result
GET
Get Certificates Batch Operation Result
POST
Add Trusted Ca Certificate
DELETE
Delete Certificate
GET
Get Certificate
POST
Apply Certificate
GET
Validate Certificate
POST
Fetch Peer Certificate Chain
POST
Add Certificate
POST
Set Inter Site Aph Certificate
Deprecated
POST
Set Principal Identity Certificate For Federation
Deprecated
GET
List Crl Distribution Points
POST
Create Crl Distribution Point
POST
Get Crl Distribution Point Pem
DELETE
Delete Crl Distribution Point
GET
Get Crl Distribution Point
PUT
Update Crl Distribution Point
GET
Get Crl Distribution Point Status
GET
Get Crls
DELETE
Delete Crl
GET
Get Crl
PUT
Update Crl
POST
Add Crl
GET
Get Csrs
POST
Generate Csr
POST
Generate Csr With Extensions
Deprecated
DELETE
Delete Csr
GET
Get Csr
GET
Get Csr Pem
POST
Import Certificate
POST
Self Sign Certificate
POST
Generate Self Signed Certificate
GET
List Oidc End Points
POST
Add Oidc End Point
POST
Configure Ws1b And Add Oidc End Point
POST
Remove Ws1b Oidc End Point
GET
Get Oidc End Point
PUT
Update Oidc End Point
GET
Check Oidc End Point Health
POST
Search Scim Users And Groups
GET
Verify Scim User Or Group Exists
POST
Refresh Oidc End Point
POST
Update Oidc End Point Thumbprint
GET
Get Principal Identities
POST
Register Principal Identity
Deprecated
POST
Register Principal Identity With Certificate
DELETE
Delete Principal Identity
GET
Get Principal Identity
POST
Update Principal Identity Certificate
GET
Get Stale Certificates
GET
List Token Based Principal Identities
POST
Register Token Based Principal Identity
DELETE
Delete Token Based Principal Identity
GET
Get Token Based Principal Identity