Question
The Digital Hive Control Center doesn't seem to provide any reports or views around usage of the platform. Is there a way to create reports to show metrics like the amount of reports executed by platform, the number of searches being made, who is accessing Digital Hive (and when)?
Answer
The Digital Hive content store provides different views within the database that makes audit reporting very straightforward. While any reporting and analytics platform can be used, this document details what it takes to connect Microsoft PowerBI to the Postgres content store.
1- Within PowerBI desktop, click on the
Get data button
2- From the
Get data dialog box, locate the PostgreSQL option, select it, and press
Connect.3- The next step requires configuring the connection details to the PostgreSQL server. Enter the Server address for the DIgital Hive content store
4- Type digitalhive for the Database name
5- Choose a connection strategy (either Import or DirectQuery)
6- Press OK
7- The next step is to input your PostgreSQL user details, that were created during the Digital Hive install process.
8- Provide the user name dhadmin and whatever password was configured during the Digital Hive installation.
9- Press Connect
10- If a dialog box called Encryption Support is displayed, just click OK
11- The final stage, before data is imported into PowerBI, is to choose the content to be included in the PowerBI data model. Select the 5 audit views:
- theia_audit_admin
- theia_audit_page_views
- theia_audit_search_queries
- theia_audit_ui_interactions
- theia_audit_user_auth
12- Press Load
You have now successfully imported Digital Hive audit content into Microsoft PowerBI and can now visualize Digital Hive audit data.
Ensure that port 5432 is open and accessible so that the PowerBI server can access the Digital Hive PostgreSQL instance