Skip to content

Appendix A: Editing WebLOAD Dashboard Configuration

WebLOAD Dashboard Components

The WebLOAD Dashboard includes the following main components:

  • Back-end server, which listens on port 3000 by default.
  • Datasource server, which listens on port 8080 by default
  • Database server

Editing Back-end Configuration

Changing Back-end configuration

You can change the back-end configuration by creating a file called custom.ini in C:\Program Files (x86)\RadView\WebLOAD\dashboard\grafana\conf.

Use the default.ini, located in the same location, to see the available configuration options. The following lists some common options. For a full description of all options, refer to the Grafana documentation

[server] 

#Protocol (http or https) 

protocol = http 

#The ip address to bind to, empty will bind to all interfaces 

http_addr = 

#The http port to use 

http_port = 3000 

#The public facing domain name used to access from a browser 

domain = localhost 

[security] 

#default admin user, created on startup

admin_user = admin 

#default admin password, can be changed before first start of grafana, or in profile settings 

admin_password = admin 

[users] 

#disable user signup / registration 

allow_sign_up = true 

Changing the Back-End Server’s Listening Port

You can change the port that the back-end server listens on, which is 8080 by default. To change the back-end server’s listening port:

  1. Change the listening port value in the datasource configuration file, located in: C:\Program Files (x86)\RadView\WebLOAD\dashboard\webdashboard\dashboard.settings.bat.

  2. If you change the listening port in the datasource configuration file, you must reflect that change in the datasource configuration, as follows:

    1. Select Admin > Data Sources in the WebLOAD Dashboard menu bar.

    2. Click the WebLOAD data source,

    3. In the Edit Data Source window that appears, change the URL to reflect the new address.

Edit Data Source window

Changing the WebLOAD Dashboard Database

You can set which database the WebLOAD Dashboard is using, by specifying the database in the datasource configuration file, located in

C:\Program Files (x86)\RadView\WebLOAD\dashboard\webdashboard\dashboar d.settings.bat

Note that also the remote database itself must be configured for remote connections. Refer to Configuring PostgreSQL to Allow Remote Database Connections in the WebLOAD Installation Guide.

In addition, if you wish to import remote database sessions from the WebLOAD Console to the WebLOAD Dashboard while the sessions are running, do the following in the WebLOAD Console:

  1. Select Tools > Global Options > Database.

    Database Tab

  2. In the Database configuration section, enter the details of the remote database.

Changing settings from XML file

You can change database configuration from WLAnalyticsPrefs.xml (found in C:\ProgramData\RadView\WebLOAD\WLAnalyticsPrefs.xml). Changes here affect WebLOAD Analytics, Console and the Dashboard and is the prefered way to change the configuration.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<properties>
  <entry key="DATABASE_NAME">radview</entry>
  <entry key="DATABASE_HOST">localhost</entry>
  <entry key="DATABASE_PORT">5432</entry>
  <entry key="DATABASE_USERNAME">reporter</entry>
  <entry key="DATABASE_PASSWORD"></entry>

  <entry key="BIND_PORT">8080</entry>
  <entry key="BASE_URI"></entry>
  <entry key="BIND_ADDRESS">0.0.0.0</entry>
  <entry key="DOC_ROOT">static</entry>
  <entry key="BIN_DIR">../../bin</entry>
  <entry key="AUTH_USER"></entry>
  <entry key="AUTH_PASSWORD"></entry>
  <entry key="AUTH_ROLE">ADMIN</entry>
  <entry key="ALLOWED_ORIGIN">*</entry>
  <entry key="DASHBOARD_DIR">dashboard</entry>
  <entry key="UPLOAD_DIR">sessions</entry>
  <entry key="DATA_DIR">C:/ProgramData/RadView/WebLOAD</entry>
  <entry key="RESOURCES_DIR">resources</entry>
  <entry key="SHARED_RESOURCES">false</entry>
</properties>