Managing Reporting Database on Zenconsole
The Reporting Database Management page allows administrators to manage reporting database settings for a selected gateway in Zenconsole.
This page, accessible under Gateway Settings, provides gateway-specific controls for configuring how reporting data is stored, retained, and managed. Administrators can view the active reporting database backend and manage reporting-related data directly from the user interface.
Reporting database management is performed on a per-gateway basis, enabling administrators to optimize reporting behavior based on network size, traffic volume, and available hardware resources. Zenconsole provides an intuitive and user-friendly interface that simplifies reporting and database management and reduces configuration complexity.
Figure 1. Reporting Database Management
The Reporting Database Management page provides access to various configuration and management options related to reporting data. Details about the available settings and management capabilities on this page are described in the sections below.
Reporting Database Configuration
The Reporting Database Configuration section provides an overview of the reporting database settings configured for the selected gateway.
On this page, administrators can view information about the currently active reporting database backend and change the reporting database backend used by the selected gateway.
Figure 2. Reporting Database Configuration Pane
Follow the steps below to access the Reporting Database Configuration page for a gateway:
-
Log in to your Zenconsole account and select your organization.
-
Navigate to Settings from the left-hand menu.
-
Click Gateway Settings.
-
Select the gateway you want to manage.
-
Go to Reporting & Data.
-
Click Reporting Database.
-
Locate Reporting Database Configuration pane. The Reporting Database Configuration page is displayed, where you can view the active reporting database backend and access related management options.
Figure 3. Reporting Database Page
Supported Reporting Databases
Zenconsole supports multiple reporting database backends to accommodate different deployment sizes, reporting requirements, and infrastructure capabilities. Each reporting database option offers a different balance between simplicity, scalability, and resource usage.
Before changing the reporting database backend, administrators should carefully evaluate the characteristics and requirements of each option to ensure that it aligns with their network size, traffic volume, and hardware resources.
Changing the reporting database backend will reset the reporting database for the selected gateway.
This action is irreversible and should be carefully considered before proceeding.
You can find the available reporting database backends and their descriptions below.
-
Elasticsearch (Local): Elasticsearch (local) uses an Elasticsearch service installed and running directly on the gateway. Compared to SQLite, it provides better performance, scalability, and support for higher traffic volumes and longer data retention periods.
This option is suitable for medium to large networks where the gateway has sufficient CPU, memory, and disk resources to run Elasticsearch reliably.
noteBefore selecting Elasticsearch (local), Elasticsearch must be installed on the gateway and accessible via the HTTP port without requiring authentication credentials.
Figure 4. Changing reporting database - Elasticsearch (local)
-
Elasticsearch (Remote): Elasticsearch (remote) allows the gateway to store reporting data in an external Elasticsearch service reachable over the network. This option enables centralized and scalable reporting architectures, especially in large or distributed environments.
When this option is selected, administrators must provide the remote Elasticsearch connection details, including the database URL and, if applicable, authentication credentials. The gateway must be able to successfully connect to the remote Elasticsearch service before the change can be applied.
infoDatabase username and password are required only if authentication is enabled on the remote Elasticsearch server.
Figure 5. Changing reporting database - Elasticsearch (remote)
-
SQLite (Local): SQLite is a lightweight, file-based reporting database that runs locally on the gateway. It is designed for small-scale deployments and environments with limited reporting requirements.
This option supports up to 100 devices and requires minimal system resources, making it suitable for test environments, lab setups, or small networks where long-term data retention is not required.
noteSQLite is not recommended for large-scale deployments or environments that require extended reporting data retention.
Figure 6. Changing reporting database - SQLite (local)
Change Reporting Database
The Change Reporting Database option allows administrators to change the reporting database backend used by the selected gateway.
This option is available on the Reporting Database Configuration pane and can be used to switch between supported reporting database backends according to reporting requirements and infrastructure capabilities.
Follow the steps below to change the reporting database backend:
-
Log in to your Zenconsole account and select your organization.
-
Navigate to Settings from the left-hand menu.
-
Click Gateway Settings.
-
Select the gateway you want to manage.
-
Go to Reporting & Data.
-
Click Reporting Database.
-
Locate Reporting Database Configuration pane.
-
Click Change Reporting Database. Zenarmor runs a hardware check and displays the dialog with available reporting database backend options. If your system meets the requirements, the Use a local Elasticsearch Database option appears.
Figure 7. Changing Reporting Database
-
Select the reporting database backend you want to use.
-
Review the notes and warnings displayed in the dialog carefully.
-
If required, enter the necessary configuration details (for example, remote Elasticsearch connection information).
-
Click Change.
Figure 8. Changing reporting database - SQLite (local)
-
In the confirmation dialog (Please read carefully before proceeding), review the information and click Continue to confirm the operation, or click Cancel to abort.
Figure 9. The Confirmation Dialog
Once confirmed, the reporting database backend is updated for the selected gateway.
Configuring the Reporting Period
The Reporting Period section allows administrators to define the maximum number of days that reporting data is retained in the reporting database.
The retention period determines how long Internet Protocol Detail Records (IPDRs) are kept before they are removed according to the configured retention settings.
To change the reporting period, follow the steps below:
-
Locate the Reporting Period section on the Reporting Database page.
-
Drag the slider to the left to decrease or to the right to increase the retention period.
-
Review the selected number of days displayed below the slider.
Figure 10. Reporting Period Slider
The recommended reporting period is 2 days. Increasing the reporting period may require additional disk space, depending on traffic volume and the amount of reporting data collected.
Beware that when you decrease the number of days to store reporting data, some of the old data may be deleted. In such case, a warning message is displayed. You may confirm deletion of old data to set the max store time for reports data retiring value less than the old value by clicking on the Continue button.
Resetting Reporting Data
The Reset Reporting section allows administrators to delete reporting data stored in the selected gateway's local reporting database.
This operation is irreversible and requires confirmation before proceeding.
To reset reporting data, follow the steps below:
-
Scroll down to the Reset Reporting section.
-
Click Reset Reporting.
Figure 11. Reset Reporting Section
-
A warning dialog appears, indicating that the operation will permanently delete reporting data.
-
Enter the exact gateway name in the confirmation field.
-
Click Reset to confirm the operation, or Cancel to abort.
Figure 12. Reset Reporting Confirmation Dialog
Resetting reporting data permanently deletes the affected data and cannot be undone.
If the gateway is connected to an organization, the reset operation only clears the local reporting database. Data stored in the central reporting database is not deleted.
Configuring Tracefs Partition Size
Zenarmor uses Tracefs, a lightweight file system for capturing file system traces, located in the /usr/local/zenarmor/run/tracefs directory.
The Tracefs Partition Size section allows administrators to adjust the disk space allocated to Tracefs. If system logs indicate that the Tracefs partition is full, increasing its size may help resolve the issue.
The supported partition size ranges from 100 MB to 500 MB, with a default value of 100 MB.
To change the Tracefs partition size, follow the steps below:
-
Locate the Tracefs Partition Size section on the Reporting Database page.
-
Drag the slider to the left to decrease or to the right to increase the allocated partition size.
-
Review the selected size displayed below the slider.
Figure 13. Tracefs Partition Size Slider
noteChanging the Tracefs partition size may require restarting the Zenarmor packet engine for the new setting to take effect.