Environment

On this page

Environment

The Environment page shows what this server is made of: the loaded modules, the JVM arguments, the environment variables and the system properties.

The Environment page

Sections

SectionContent
ModulesName, version, state and path of every module.
JVM argumentsThe flags the JVM started with.
Environment variablesEvery variable, with a filter by name.
System propertiesEvery Java system property, with a filter by name.

How secrets are hidden

Lens hides a value when its name looks secret. The check looks for parts such as pass, pwd, secret, token, api key, access key, private, credential, auth, cookie, session, salt, seed, signature, dsn, connection string, bearer and jwt. It also removes the user info from URLs, hides secret-looking URL parameters, and shows an encrypted bxsecret: value as [encrypted]. The check errs on the side of hiding.

It works by name. A secret stored under a name that does not look like one, for example in a variable called X1, is shown. Look at the page before you share a screenshot or a bundle.

Diagnostic bundle

Diagnostic bundle needs BoxLang+ or a trial. On Free the link is disabled with a Plus chip and the server answers 403. It downloads one zip file named lens-diagnostics-{timestamp}.zip to attach to a support ticket. It holds:

FileContent
README.txtThe time, the Lens version and a note about what is left out.
thread-dump.txtA thread dump taken when you download.
environment.jsonThe data of this page.
system.jsonThe data of the System page.
executors.json, tasks.jsonExecutors and scheduled tasks.
datasources.jsonDatasources and pool numbers.
caches.jsonCaches and their statistics, without keys or values.
lens-settings.jsonThe effective Lens settings. Passwords and API keys show only set or not set.

The bundle holds no request data and no log files. It is for admins, and each download is written to the audit log.

Settings

Turn the page off with collectors.environment.enabled or tabs.hide. The download route of the bundle is not tied to these switches: an admin who knows the URL (/~bxlens/index.bxm/api/bundle) can still download it.