This article explains how to retrieve the current configuration of an AppGate Collective by executing a JavaScript (JS) script from the Controller JavaScript Debug console. The script gathers the active configuration data and returns the output in JSON format, which can then be formatted for easier review and analysis.
Procedure
Open the JavaScript Debug console.
Access the Controller JavaScript Debug console using the following URL format: https://controllerFQDN:controllerAdminPort/ui/console/index.html
e.g. https://controller01.lab.com:8443/ui/console/index.html
Execute the JavaScript.
Copy the provided JavaScript configuration collection script.
Paste the script into the Script Source field in the aScript Debug consoleconsole.
Click Execute to run the script.
.png?sv=2026-02-06&spr=https&st=2026-06-25T06%3A33%3A19Z&se=2026-06-25T06%3A44%3A19Z&sr=c&sp=r&sig=E0rdfA4yviWJN5%2Bgy%2FJZ95%2BY5BRRYoeFmvTRa1uENgk%3D)
Review the Output.
After execution completes, the collected configuration data is displayed in the Script Output section in JSON format. You can click download to
For improved readability, you can format the JSON output using any online JSON formatter or above provided
formatJSON.htmlutility.
The formatted JSON output contains the current configuration details of the AppGate Collective and can be used for troubleshooting, auditing, or support analysis.