Currently, the installation and configuration of the OpenLM Reporting Hub and reporting system require the presence of an OpenLM support person.
It is recommended to contact our support team at support@openlm.com, and our representatives will be glad to assist and guide you online.
Download and Unzip #
- Download the OpenLM Reporting Hub and unzip it to the server which will house the Reporting Hub.
- Unzip the file to the server which will host the Reporting Hub. You can locate it on the same server as OpenLM Server or a different one, depending on your preference.
License File #
- Go to the unzipped Reporting Hub folder
- Navigate to ETL folder → Jobs folder → License folder
- Paste the license file into the license folder
Reporting database #
- Navigate to the unzipped Reporting Hub folder → Postgres folder →Install “Postgres Editor.msi” →Install “Postgres Server.exe“.
- Navigate to the Postgres “data” folder (C:\…\PostgreSQL\14\data) → Edit the file “pg_hba.conf” → Add the following line “host all all 0.0.0.0/0 md5“
- Navigate to the Postgres “data” folder (C:\…\PostgreSQL\9.5\data) →Edit the file “postgresql.conf”
- Make sure work_mem is not commented out and has 4MB – 12MB of memory, depending on your system
- Make sure shared_buffers is not commented out and has 2048MB – 8192MB of memory, depending on your system
- Save the edited file and restart the PostgreSQL service via the Windows Services.
- Activate PGAdmin→ Connect to the Postgres server → right click on the server → Create database → name the new DB “ReportingHub” then save it.
Power BI #
- Navigate to the unzipped Reporting Hub folder →Power BI folder → Install “Power BI Desktop.msi” → Install “Power BI Connector.msi” (All components on the entire machine including GAC component).
Connection properties #
- Navigate to the unzipped Reporting Hub folder → ETL folder → Run the “Edit_connection.bat” file (if you do not see a prompt to open, open the kettle.properties file in the kettle\.kettle folder in a text editor like Notepad)
- Input source database details. (server, port, username, password, database name).
- Input destination Postgres database details (server, port, username, password, database name).
- (Optional) Input destination MSSQL or MySQL database details (server, port, username, password, database name).
- Input the server hostname and MAC address in the designated fields.
- Input SMTP server details (server, port, username, password, sender email, and destination email)
Available properties:
ETL_TIMEZONE=int value 0..24 Default 0: TimeZone Offset
ETL_LIVE=true/false Default false : (Not yet implemented)
ETL_DATA_AGGREGATION_BY_HOUR= true/false (Minimal data aggregation per hour if ‘true’ or per day if ‘false’).’
ETL_RUN_ON_INCREMENTS= true/false (Increment the data each run if ‘true’, or sync the entire dataset each time if ‘false’)
ETL_COMPILE_RESERVED_LICENSES= true/false (Default true: Consider reserved licenses as used licenses if ‘true’, disregard reservations if ‘false’)
ETL_SHOW_ONLY_TRUE_DENIALS= true/false Default false: true/false Extract only true denials if ‘true’, extract false denials as well if set to ‘false’
ETL_DENIALS_AGGREGATION_PERIOD= integer value. Default 0 (Time interval in minutes to consider for denials aggregation)
ETL_EXPORT_DENIALS_INTERVAL= integer value. (Default 7 periods in days for each transfer iteration. Values: 7-30 (7 for bigger DB’s 30 For smaller)
ETL_ANONYMIZE=true/false (Default false: If set to “true” it will obfuscate usernames, hostnames mails, and other sensitive fields in the target database)
ETL_FILTER_BY_VENDOR=accepts a CSV string as input. Default empty. (If specified – it will process data only for vendors from this list)
ETL scheduling #
- Activate “Windows Task Scheduler” and choose the “Task Scheduler Library”.
- Under “Actions”, click on “Create Task”.
- Under the tab “General”, Name the task “OpenLM ETL”.
- Check the checkbox “Run whether the user is logged on or not”.
- Check the checkbox “Run with highest privileges”.
- Navigate to the tab “Triggers” and click on “New”.
- Set the schedule to be once a day at 12:00 AM and click ok.
- Navigate to the tab “Actions” and click on “New”.
- Choose the action “Start a program”,
- Select the file “Run ETL.bat”.
- Click OK, and now the scheduled task of the ETL is set.
- 7. Run ETL
- Navigate to the unzipped Reporting Hub folder → ETL folder → activate the “Run ETL.bat” file → Might take a while to finish.
- 8. Sample Reports
- Navigate to the “Reports” folder, found in the “OpenLM Reporting Hub” folder.
- Activate a report by double-clicking it.
- In the Power BI → “Edit Queries” → “Data Source Settings” → “Change source”
- Input the correct Postgres host and database name then press “OK”.
- Click on “Edit Permissions” → “Edit”
- Input the correct Postgres username and password then press “OK”.
- Refresh data or “Apply Changes”